-- source include/have_innodb.inc -- source include/have_bdb.inc --source include/have_ucs2.inc --disable_warnings drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ�`; drop table if exists `�ԣ���`; --enable_warnings # # Test LOCATE() function with Japanese characters in ucs2 encoding # SET NAMES ujis; SET character_set_database = ucs2; SET collation_connection = ucs2_general_ci; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = innodb; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = innodb; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = innodb; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = myisam; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = myisam; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = myisam; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = heap; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = heap; CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = heap; CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = bdb; CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = bdb; CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ucs2 engine = bdb; INSERT INTO `�ԣ�` VALUES ('����������'); INSERT INTO `�ԣ�` VALUES ('����������'); INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��'); INSERT INTO `�ԣ�` VALUES ('����������'); INSERT INTO `�ԣ�` VALUES ('����������'); INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��'); INSERT INTO `�ԣ�` VALUES ('����������'); INSERT INTO `�ԣ�` VALUES ('����������'); INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��'); INSERT INTO `�ԣ���` VALUES ('����������'); INSERT INTO `�ԣ���` VALUES ('����������'); INSERT INTO `�ԣ���` VALUES ('���ݏ�ޏ�ߏ��'); #InnoDB SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; #MyISAM SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; #HEAP SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('��',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; SELECT LOCATE('���',`�ã�`) from `�ԣ�`; #BDB SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('��',`�ã�`) from `�ԣ���`; SELECT LOCATE('���',`�ã�`) from `�ԣ���`; SELECT LOCATE('���',`�ã�`) from `�ԣ���`; SELECT LOCATE('���',`�ã�`) from `�ԣ���`; SELECT LOCATE('���',`�ã�`) from `�ԣ���`; SELECT LOCATE('���',`�ã�`) from `�ԣ���`; SELECT LOCATE('���',`�ã�`) from `�ԣ���`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ�`; DROP TABLE `�ԣ���`; DROP TABLE `�ԣ���`; DROP TABLE `�ԣ���`;