2005-01-07 09:48:38 +01:00
|
|
|
|
--source include/have_ujis.inc
|
2008-05-15 18:01:13 +02:00
|
|
|
|
--source include/have_innodb.inc
|
2005-01-07 09:48:38 +01:00
|
|
|
|
|
|
|
|
|
--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>`;
|
|
|
|
|
--enable_warnings
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Test INSTR() function 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;
|
2008-05-15 18:01:13 +02:00
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
|
|
|
|
|
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(5), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
|
2005-01-07 09:48:38 +01:00
|
|
|
|
|
|
|
|
|
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>');
|
|
|
|
|
|
|
|
|
|
#InnoDB
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
|
|
|
|
|
#MyISAM
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
|
2008-05-15 18:01:13 +02:00
|
|
|
|
#MEMORY
|
2005-01-07 09:48:38 +01:00
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<60>ԣ<EFBFBD>`;
|
|
|
|
|
SELECT INSTR(`<60>ã<EFBFBD>`,'<27><><EFBFBD>') from `<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>`;
|