1
--source include/have_ujis.inc
4
drop table if exists `�ԣ�`;
5
drop table if exists `�ԣ�`;
6
drop table if exists `�ԣ�`;
7
drop table if exists `�ԣ�`;
8
drop table if exists `�ԣ�`;
9
drop table if exists `�ԣ�`;
10
drop table if exists `�ԣ�`;
11
drop table if exists `�ԣ�`;
12
drop table if exists `�ԣ�`;
13
drop table if exists `�ԣ���`;
14
drop table if exists `�ԣ���`;
15
drop table if exists `�ԣ���`;
19
# Test REVERSE() function with Japanese characters in ujis encoding
23
SET character_set_database = ujis;
25
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb;
26
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb;
27
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = innodb;
28
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam;
29
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam;
30
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = myisam;
31
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = heap;
32
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = heap;
33
CREATE TABLE `�ԣ�` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = heap;
34
CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = bdb;
35
CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = bdb;
36
CREATE TABLE `�ԣ���` (`�ã�` char(5), INDEX(`�ã�`)) DEFAULT CHARSET = ujis engine = bdb;
38
INSERT INTO `�ԣ�` VALUES ('����������');
39
INSERT INTO `�ԣ�` VALUES ('����������');
40
INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��');
41
INSERT INTO `�ԣ�` VALUES ('����������');
42
INSERT INTO `�ԣ�` VALUES ('����������');
43
INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��');
44
INSERT INTO `�ԣ�` VALUES ('����������');
45
INSERT INTO `�ԣ�` VALUES ('����������');
46
INSERT INTO `�ԣ�` VALUES ('���ݏ�ޏ�ߏ��');
47
INSERT INTO `�ԣ���` VALUES ('����������');
48
INSERT INTO `�ԣ���` VALUES ('����������');
49
INSERT INTO `�ԣ���` VALUES ('���ݏ�ޏ�ߏ��');
52
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
53
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
54
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
57
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
58
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
59
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
62
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
63
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
64
SELECT REVERSE(`�ã�`) FROM `�ԣ�`;
67
SELECT REVERSE(`�ã�`) FROM `�ԣ���`;
68
SELECT REVERSE(`�ã�`) FROM `�ԣ���`;
69
SELECT REVERSE(`�ã�`) FROM `�ԣ���`;