mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 07:44:22 +01:00
132 lines
5.2 KiB
Text
132 lines
5.2 KiB
Text
|
--source include/have_ucs2.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 REPLACE() function with Japanese characters in ucs2 encoding
|
|||
|
#
|
|||
|
|
|||
|
SET NAMES ujis;
|
|||
|
SET character_set_database = ucs2;
|
|||
|
SET collation_connection = ucs2_general_ci;
|
|||
|
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = innodb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = myisam;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = heap;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 engine = bdb;
|
|||
|
CREATE TABLE `<60>ԣ<EFBFBD><D4A3><EFBFBD>` (`<60>ã<EFBFBD>` char(5)) DEFAULT CHARSET = ucs2 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>');
|
|||
|
|
|||
|
#InnoDB
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><><EFBFBD><DC8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ݏ<EFBFBD><DD8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ޏ<EFBFBD><DE8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ߏ<EFBFBD><DF8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
|
|||
|
#MyISAM
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><><EFBFBD><DC8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ݏ<EFBFBD><DD8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ޏ<EFBFBD><DE8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ߏ<EFBFBD><DF8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
|
|||
|
#HEAP
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><><EFBFBD><DC8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ݏ<EFBFBD><DD8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ޏ<EFBFBD><DE8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ߏ<EFBFBD><DF8F>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD>`;
|
|||
|
|
|||
|
#BDB
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><>','<27><><EFBFBD><EFBFBD>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><><EFBFBD><DC8F>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ݏ<EFBFBD><DD8F>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ޏ<EFBFBD><DE8F>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><>ߏ<EFBFBD><DF8F>') FROM `<60>ԣ<EFBFBD><D4A3><EFBFBD>`;
|
|||
|
SELECT REPLACE(`<60>ã<EFBFBD>`,'<27><><EFBFBD>','<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>') 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>`;
|