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

« back to all changes in this revision

Viewing changes to mysql-test/suite/jp/r/jp_lpad_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`, LPAD(`�b�P`,5,'�') FROM `�s�P`;
 
31
�b�P    LPAD(`�b�P`,5,'�')
 
32
        �����
 
33
�       �����
 
34
��      �����
 
35
���     �����
 
36
����    �����
 
37
�����   �����
 
38
SELECT `�b�P`, LPAD(`�b�P`,5,'�w') FROM `�s�Q`;
 
39
�b�P    LPAD(`�b�P`,5,'�w')
 
40
        �w�w�w�w�w
 
41
��      �w�w�w�w��
 
42
����    �w�w�w����
 
43
������  �w�w������
 
44
��������        �w��������
 
45
����������      ����������
 
46
SELECT `�b�P`, LPAD(`�b�P`,5,'�\') FROM `�s�R`;
 
47
�b�P    LPAD(`�b�P`,5,'�\')
 
48
        �\�\�\�\�\
 
49
�\      �\�\�\�\�\
 
50
�\�\    �\�\�\�\�\
 
51
�\�\�\  �\�\�\�\�\
 
52
�\�\�\�\        �\�\�\�\�\
 
53
�\�\�\�\�\      �\�\�\�\�\
 
54
SELECT `�b�P`, LPAD(`�b�P`,5,'�') FROM `�s�S`;
 
55
�b�P    LPAD(`�b�P`,5,'�')
 
56
        �����
 
57
�       �����
 
58
��      �����
 
59
���     �����
 
60
����    �����
 
61
�����   �����
 
62
SELECT `�b�P`, LPAD(`�b�P`,5,'�w') FROM `�s�T`;
 
63
�b�P    LPAD(`�b�P`,5,'�w')
 
64
        �w�w�w�w�w
 
65
��      �w�w�w�w��
 
66
����    �w�w�w����
 
67
������  �w�w������
 
68
��������        �w��������
 
69
����������      ����������
 
70
SELECT `�b�P`, LPAD(`�b�P`,5,'�\' ) FROM `�s�U`;
 
71
�b�P    LPAD(`�b�P`,5,'�\' )
 
72
        �\�\�\�\�\
 
73
�\      �\�\�\�\�\
 
74
�\�\    �\�\�\�\�\
 
75
�\�\�\  �\�\�\�\�\
 
76
�\�\�\�\        �\�\�\�\�\
 
77
�\�\�\�\�\      �\�\�\�\�\
 
78
SELECT `�b�P`, LPAD(`�b�P`,5,'�') FROM `�s�V`;
 
79
�b�P    LPAD(`�b�P`,5,'�')
 
80
�����   �����
 
81
����    �����
 
82
���     �����
 
83
��      �����
 
84
�       �����
 
85
        �����
 
86
SELECT `�b�P`, LPAD(`�b�P`,5,'�w') FROM `�s�W`;
 
87
�b�P    LPAD(`�b�P`,5,'�w')
 
88
����������      ����������
 
89
��������        �w��������
 
90
������  �w�w������
 
91
����    �w�w�w����
 
92
��      �w�w�w�w��
 
93
        �w�w�w�w�w
 
94
SELECT `�b�P`, LPAD(`�b�P`,5,'�\' ) FROM `�s�X`;
 
95
�b�P    LPAD(`�b�P`,5,'�\' )
 
96
�\�\�\�\�\      �\�\�\�\�\
 
97
�\�\�\�\        �\�\�\�\�\
 
98
�\�\�\  �\�\�\�\�\
 
99
�\�\    �\�\�\�\�\
 
100
�\      �\�\�\�\�\
 
101
        �\�\�\�\�\
 
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`;