mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
96 lines
3.2 KiB
Text
96 lines
3.2 KiB
Text
|
--source include/have_ujis.inc
|
|||
|
|
|||
|
--disable_warnings
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
drop table if exists `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
--enable_warnings
|
|||
|
|
|||
|
#
|
|||
|
# Test Updating with Japanese characters in ujis encoding
|
|||
|
#
|
|||
|
|
|||
|
SET NAMES ujis;
|
|||
|
SET character_set_database = ujis;
|
|||
|
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = bdb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = bdb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = bdb;
|
|||
|
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD>ݏ<EFBFBD>ޏ<EFBFBD>ߏ<EFBFBD><DF8F>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD>ݏ<EFBFBD>ޏ<EFBFBD>ߏ<EFBFBD><DF8F>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD>` VALUES ('<27><><EFBFBD>ݏ<EFBFBD>ޏ<EFBFBD>ߏ<EFBFBD><DF8F>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD><D4A3><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD><D4A3><EFBFBD>` VALUES ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
INSERT INTO `<60>ԣ<EFBFBD><D4A3><EFBFBD>` VALUES ('<27><><EFBFBD>ݏ<EFBFBD>ޏ<EFBFBD>ߏ<EFBFBD><DF8F>');
|
|||
|
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><>ȏ<EFBFBD>ɏ<EFBFBD>ʏ<EFBFBD>ˏ<EFBFBD><CB8F>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><>ȏ<EFBFBD>ɏ<EFBFBD>ʏ<EFBFBD>ˏ<EFBFBD><CB8F>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><>ȏ<EFBFBD>ɏ<EFBFBD>ʏ<EFBFBD>ˏ<EFBFBD><CB8F>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>');
|
|||
|
UPDATE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` SET `<60>ã<EFBFBD>` = ('<27><>ȏ<EFBFBD>ɏ<EFBFBD>ʏ<EFBFBD>ˏ<EFBFBD><CB8F>');
|
|||
|
|
|||
|
#InnoDB
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
|
|||
|
#MyISAM
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
|
|||
|
#HEAP
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD>`;
|
|||
|
|
|||
|
#BDB
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT * FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
DROP TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|