Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
85f0e50a
Commit
85f0e50a
authored
Jun 21, 2006
by
igor@rurik.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge rurik.mysql.com:/home/igor/mysql-4.1-opt
into rurik.mysql.com:/home/igor/mysql-5.0-opt
parents
9631db06
e307b5b2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
mysql-test/r/ctype_utf8.result
mysql-test/r/ctype_utf8.result
+10
-4
mysql-test/t/ctype_utf8.test
mysql-test/t/ctype_utf8.test
+2
-0
No files found.
mysql-test/r/ctype_utf8.result
View file @
85f0e50a
...
...
@@ -1161,6 +1161,7 @@ INSERT INTO t1 VALUES
('Käli Käli 2-4'), ('Käli Käli 2-4'),
('Käli Käli 2+4'), ('Käli Käli 2+4'),
('Käli Käli 2-6'), ('Käli Käli 2-6');
INSERT INTO t1 SELECT * FROM t1;
CREATE TABLE t2 (
a CHAR(13) DEFAULT '',
INDEX(a)
...
...
@@ -1169,26 +1170,31 @@ INSERT INTO t2 VALUES
('Kali Kali 2-4'), ('Kali Kali 2-4'),
('Kali Kali 2+4'), ('Kali Kali 2+4'),
('Kali Kali 2-6'), ('Kali Kali 2-6');
INSERT INTO t2 SELECT * FROM t2;
SELECT a FROM t1 WHERE a LIKE 'Käli Käli 2+4';
a
Käli Käli 2+4
Käli Käli 2+4
Käli Käli 2+4
Käli Käli 2+4
SELECT a FROM t2 WHERE a LIKE 'Kali Kali 2+4';
a
Kali Kali 2+4
Kali Kali 2+4
Kali Kali 2+4
Kali Kali 2+4
EXPLAIN SELECT a FROM t1 WHERE a LIKE 'Käli Käli 2+4';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 range a a 40 NULL
2
Using where; Using index
1 SIMPLE t1 range a a 40 NULL
4
Using where; Using index
EXPLAIN SELECT a FROM t1 WHERE a = 'Käli Käli 2+4';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ref a a 40 const
2
Using where; Using index
1 SIMPLE t1 ref a a 40 const
4
Using where; Using index
EXPLAIN SELECT a FROM t2 WHERE a LIKE 'Kali Kali 2+4';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 range a a 14 NULL
2
Using where; Using index
1 SIMPLE t2 range a a 14 NULL
4
Using where; Using index
EXPLAIN SELECT a FROM t2 WHERE a = 'Kali Kali 2+4';
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t2 ref a a 14 const
2
Using where; Using index
1 SIMPLE t2 ref a a 14 const
4
Using where; Using index
DROP TABLE t1,t2;
CREATE TABLE t1 (
a char(255) DEFAULT '',
...
...
mysql-test/t/ctype_utf8.test
View file @
85f0e50a
...
...
@@ -952,6 +952,7 @@ INSERT INTO t1 VALUES
(
'Käli Käli 2-4'
),
(
'Käli Käli 2-4'
),
(
'Käli Käli 2+4'
),
(
'Käli Käli 2+4'
),
(
'Käli Käli 2-6'
),
(
'Käli Käli 2-6'
);
INSERT
INTO
t1
SELECT
*
FROM
t1
;
CREATE
TABLE
t2
(
a
CHAR
(
13
)
DEFAULT
''
,
...
...
@@ -962,6 +963,7 @@ INSERT INTO t2 VALUES
(
'Kali Kali 2-4'
),
(
'Kali Kali 2-4'
),
(
'Kali Kali 2+4'
),
(
'Kali Kali 2+4'
),
(
'Kali Kali 2-6'
),
(
'Kali Kali 2-6'
);
INSERT
INTO
t2
SELECT
*
FROM
t2
;
SELECT
a
FROM
t1
WHERE
a
LIKE
'Käli Käli 2+4'
;
SELECT
a
FROM
t2
WHERE
a
LIKE
'Kali Kali 2+4'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment