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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
163ac07b
Commit
163ac07b
authored
Feb 08, 2017
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-12020 ctype tests are non-deterministic due to missing sorting
parent
abe6aca8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
mysql-test/r/ctype_utf8.result
mysql-test/r/ctype_utf8.result
+1
-1
mysql-test/r/ctype_utf8mb4.result
mysql-test/r/ctype_utf8mb4.result
+5
-5
mysql-test/t/ctype_utf8.test
mysql-test/t/ctype_utf8.test
+1
-1
mysql-test/t/ctype_utf8mb4.test
mysql-test/t/ctype_utf8mb4.test
+3
-3
No files found.
mysql-test/r/ctype_utf8.result
View file @
163ac07b
...
...
@@ -10494,7 +10494,7 @@ DELETE FROM t1;
LOAD DATA INFILE '../../std_data/loaddata/mdev9824.txt' INTO TABLE t1 CHARACTER SET utf8 LINES TERMINATED BY 'ёё' IGNORE 1 LINES;
Warnings:
Warning 1638 Non-ASCII separator arguments are not fully supported
SELECT c1 FROM t1;
SELECT c1 FROM t1
ORDER BY c1
;
c1
b
c
...
...
mysql-test/r/ctype_utf8mb4.result
View file @
163ac07b
...
...
@@ -2323,16 +2323,16 @@ insert into t1 values (0xF0BFBFBF);
insert into t1 values (0xF08F8080);
Warnings:
Warning 1366 Incorrect string value: '\xF0\x8F\x80\x80' for column 'utf8mb4' at row 1
select hex(utf8mb4) from t1;
select hex(utf8mb4) from t1
order by binary utf8mb4
;
hex(utf8mb4)
3F
F0908080
F0BFBFBF
3F
delete from t1;
Testing [F2..F3][80..BF][80..BF][80..BF]
insert into t1 values (0xF2808080);
insert into t1 values (0xF2BFBFBF);
select hex(utf8mb4) from t1;
select hex(utf8mb4) from t1
order by binary utf8mb4
;
hex(utf8mb4)
F2808080
F2BFBFBF
...
...
@@ -2343,11 +2343,11 @@ insert into t1 values (0xF48F8080);
insert into t1 values (0xF4908080);
Warnings:
Warning 1366 Incorrect string value: '\xF4\x90\x80\x80' for column 'utf8mb4' at row 1
select hex(utf8mb4) from t1;
select hex(utf8mb4) from t1
order by binary utf8mb4
;
hex(utf8mb4)
3F
F4808080
F48F8080
3F
drop table t1;
#
# Check strnxfrm() with odd length
...
...
mysql-test/t/ctype_utf8.test
View file @
163ac07b
...
...
@@ -2000,7 +2000,7 @@ LOAD DATA INFILE '../../std_data/loaddata/mdev9824.txt' INTO TABLE t1 CHARACTER
SELECT
c1
FROM
t1
;
DELETE
FROM
t1
;
LOAD
DATA
INFILE
'../../std_data/loaddata/mdev9824.txt'
INTO
TABLE
t1
CHARACTER
SET
utf8
LINES
TERMINATED
BY
'ёё'
IGNORE
1
LINES
;
SELECT
c1
FROM
t1
;
SELECT
c1
FROM
t1
ORDER
BY
c1
;
DROP
TABLE
t1
;
--
echo
#
...
...
mysql-test/t/ctype_utf8mb4.test
View file @
163ac07b
...
...
@@ -1491,20 +1491,20 @@ create table t1 (utf8mb4 char(1) character set utf8mb4);
insert
into
t1
values
(
0xF0908080
);
insert
into
t1
values
(
0xF0BFBFBF
);
insert
into
t1
values
(
0xF08F8080
);
select
hex
(
utf8mb4
)
from
t1
;
select
hex
(
utf8mb4
)
from
t1
order
by
binary
utf8mb4
;
delete
from
t1
;
--
echo
Testing
[
F2
..
F3
][
80.
.
BF
][
80.
.
BF
][
80.
.
BF
]
insert
into
t1
values
(
0xF2808080
);
insert
into
t1
values
(
0xF2BFBFBF
);
select
hex
(
utf8mb4
)
from
t1
;
select
hex
(
utf8mb4
)
from
t1
order
by
binary
utf8mb4
;
delete
from
t1
;
--
echo
Testing
[
F4
][
80.
.
8
F
][
80.
.
BF
][
80.
.
BF
]
insert
into
t1
values
(
0xF4808080
);
insert
into
t1
values
(
0xF48F8080
);
insert
into
t1
values
(
0xF4908080
);
select
hex
(
utf8mb4
)
from
t1
;
select
hex
(
utf8mb4
)
from
t1
order
by
binary
utf8mb4
;
drop
table
t1
;
...
...
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