~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/jp/r/jp_length_sjis.result

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
Import upstream version 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
drop table if exists `�s�P`;
 
2
drop table if exists `�s�Q`;
 
3
drop table if exists `�s�R`;
 
4
drop table if exists `�s�S`;
 
5
drop table if exists `�s�T`;
 
6
drop table if exists `�s�U`;
 
7
drop table if exists `�s�V`;
 
8
drop table if exists `�s�W`;
 
9
drop table if exists `�s�X`;
 
10
SET NAMES sjis;
 
11
SET character_set_database = sjis;
 
12
CREATE TABLE `�s�P` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = innodb;
 
13
CREATE TABLE `�s�Q` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = innodb;
 
14
CREATE TABLE `�s�R` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = innodb;
 
15
CREATE TABLE `�s�S` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = myisam;
 
16
CREATE TABLE `�s�T` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = myisam;
 
17
CREATE TABLE `�s�U` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = myisam;
 
18
CREATE TABLE `�s�V` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = MEMORY;
 
19
CREATE TABLE `�s�W` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = MEMORY;
 
20
CREATE TABLE `�s�X` (`�b�P` char(5), INDEX(`�b�P`)) DEFAULT CHARSET = sjis engine = MEMORY;
 
21
INSERT INTO `�s�P` VALUES ('�����'),('����'),('���'),('��'),('�'),('');
 
22
INSERT INTO `�s�Q` VALUES ('����������'),('��������'),('������'),('����'),('��'),('');
 
23
INSERT INTO `�s�R` VALUES ('�\�\�\�\�\'),('�\�\�\�\'),('�\�\�\'),('�\�\'),('�\'),('');
 
24
INSERT INTO `�s�S` VALUES ('�����'),('����'),('���'),('��'),('�'),('');
 
25
INSERT INTO `�s�T` VALUES ('����������'),('��������'),('������'),('����'),('��'),('');
 
26
INSERT INTO `�s�U` VALUES ('�\�\�\�\�\'),('�\�\�\�\'),('�\�\�\'),('�\�\'),('�\'),('');
 
27
INSERT INTO `�s�V` VALUES ('�����'),('����'),('���'),('��'),('�'),('');
 
28
INSERT INTO `�s�W` VALUES ('����������'),('��������'),('������'),('����'),('��'),('');
 
29
INSERT INTO `�s�X` VALUES ('�\�\�\�\�\'),('�\�\�\�\'),('�\�\�\'),('�\�\'),('�\'),('');
 
30
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�P`;
 
31
�b�P    LENGTH(`�b�P`)
 
32
        0
 
33
�       1
 
34
��      2
 
35
���     3
 
36
����    4
 
37
�����   5
 
38
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�Q`;
 
39
�b�P    LENGTH(`�b�P`)
 
40
        0
 
41
��      2
 
42
����    4
 
43
������  6
 
44
��������        8
 
45
����������      10
 
46
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�R`;
 
47
�b�P    LENGTH(`�b�P`)
 
48
        0
 
49
�\      2
 
50
�\�\    4
 
51
�\�\�\  6
 
52
�\�\�\�\        8
 
53
�\�\�\�\�\      10
 
54
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�S`;
 
55
�b�P    LENGTH(`�b�P`)
 
56
        0
 
57
�       1
 
58
��      2
 
59
���     3
 
60
����    4
 
61
�����   5
 
62
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�T`;
 
63
�b�P    LENGTH(`�b�P`)
 
64
        0
 
65
��      2
 
66
����    4
 
67
������  6
 
68
��������        8
 
69
����������      10
 
70
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�U`;
 
71
�b�P    LENGTH(`�b�P`)
 
72
        0
 
73
�\      2
 
74
�\�\    4
 
75
�\�\�\  6
 
76
�\�\�\�\        8
 
77
�\�\�\�\�\      10
 
78
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�V`;
 
79
�b�P    LENGTH(`�b�P`)
 
80
�����   5
 
81
����    4
 
82
���     3
 
83
��      2
 
84
�       1
 
85
        0
 
86
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�W`;
 
87
�b�P    LENGTH(`�b�P`)
 
88
����������      10
 
89
��������        8
 
90
������  6
 
91
����    4
 
92
��      2
 
93
        0
 
94
SELECT `�b�P`, LENGTH(`�b�P`) FROM `�s�X`;
 
95
�b�P    LENGTH(`�b�P`)
 
96
�\�\�\�\�\      10
 
97
�\�\�\�\        8
 
98
�\�\�\  6
 
99
�\�\    4
 
100
�\      2
 
101
        0
 
102
DROP TABLE `�s�P`;
 
103
DROP TABLE `�s�Q`;
 
104
DROP TABLE `�s�R`;
 
105
DROP TABLE `�s�S`;
 
106
DROP TABLE `�s�T`;
 
107
DROP TABLE `�s�U`;
 
108
DROP TABLE `�s�V`;
 
109
DROP TABLE `�s�W`;
 
110
DROP TABLE `�s�X`;