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
a4595579
Commit
a4595579
authored
Mar 05, 2010
by
Alexander Barkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing non-determenistic results.
parent
732103fc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
28 deletions
+26
-28
mysql-test/include/ctype_utf8mb4.inc
mysql-test/include/ctype_utf8mb4.inc
+2
-4
mysql-test/r/ctype_utf8mb4_heap.result
mysql-test/r/ctype_utf8mb4_heap.result
+6
-6
mysql-test/r/ctype_utf8mb4_innodb.result
mysql-test/r/ctype_utf8mb4_innodb.result
+6
-6
mysql-test/r/ctype_utf8mb4_myisam.result
mysql-test/r/ctype_utf8mb4_myisam.result
+6
-6
mysql-test/r/ctype_utf8mb4_ndb.result
mysql-test/r/ctype_utf8mb4_ndb.result
+6
-6
No files found.
mysql-test/include/ctype_utf8mb4.inc
View file @
a4595579
...
@@ -1255,11 +1255,9 @@ eval create table t1(a char(200) collate utf8mb4_unicode_ci NOT NULL default '')
...
@@ -1255,11 +1255,9 @@ eval create table t1(a char(200) collate utf8mb4_unicode_ci NOT NULL default '')
default
charset
=
utf8mb4
collate
=
utf8mb4_unicode_ci
engine
$engine
;
default
charset
=
utf8mb4
collate
=
utf8mb4_unicode_ci
engine
$engine
;
insert
into
t1
values
(
unhex
(
'65'
)),
(
unhex
(
'C3A9'
)),
(
unhex
(
'65'
));
insert
into
t1
values
(
unhex
(
'65'
)),
(
unhex
(
'C3A9'
)),
(
unhex
(
'65'
));
explain
select
distinct
a
from
t1
;
explain
select
distinct
a
from
t1
;
--
sorted_result
SELECT
COUNT
(
*
)
FROM
(
SELECT
DISTINCT
a
FROM
t1
)
AS
t2
;
select
distinct
a
from
t1
;
explain
select
a
from
t1
group
by
a
;
explain
select
a
from
t1
group
by
a
;
--
sorted_result
SELECT
COUNT
(
*
)
FROM
(
SELECT
a
FROM
t1
GROUP
BY
a
)
AS
t2
;
select
a
from
t1
group
by
a
;
drop
table
t1
;
drop
table
t1
;
#
#
...
...
mysql-test/r/ctype_utf8mb4_heap.result
View file @
a4595579
...
@@ -1398,15 +1398,15 @@ insert into t1 values (unhex('65')), (unhex('C3A9')), (unhex('65'));
...
@@ -1398,15 +1398,15 @@ insert into t1 values (unhex('65')), (unhex('C3A9')), (unhex('65'));
explain select distinct a from t1;
explain select distinct a from t1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary
select distinct a from t1
;
SELECT COUNT(*) FROM (SELECT DISTINCT a FROM t1) AS t2
;
a
COUNT(*)
e
1
explain select a from t1 group by a;
explain select a from t1 group by a;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
select a from t1 group by a
;
SELECT COUNT(*) FROM (SELECT a FROM t1 GROUP BY a) AS t2
;
a
COUNT(*)
e
1
drop table t1;
drop table t1;
create table t1(a char(10)) default charset utf8mb4 engine heap;
create table t1(a char(10)) default charset utf8mb4 engine heap;
insert into t1 values ('123'), ('456');
insert into t1 values ('123'), ('456');
...
...
mysql-test/r/ctype_utf8mb4_innodb.result
View file @
a4595579
...
@@ -1526,15 +1526,15 @@ insert into t1 values (unhex('65')), (unhex('C3A9')), (unhex('65'));
...
@@ -1526,15 +1526,15 @@ insert into t1 values (unhex('65')), (unhex('C3A9')), (unhex('65'));
explain select distinct a from t1;
explain select distinct a from t1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary
select distinct a from t1
;
SELECT COUNT(*) FROM (SELECT DISTINCT a FROM t1) AS t2
;
a
COUNT(*)
e
1
explain select a from t1 group by a;
explain select a from t1 group by a;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
select a from t1 group by a
;
SELECT COUNT(*) FROM (SELECT a FROM t1 GROUP BY a) AS t2
;
a
COUNT(*)
e
1
drop table t1;
drop table t1;
create table t1(a char(10)) default charset utf8mb4 engine InnoDB;
create table t1(a char(10)) default charset utf8mb4 engine InnoDB;
insert into t1 values ('123'), ('456');
insert into t1 values ('123'), ('456');
...
...
mysql-test/r/ctype_utf8mb4_myisam.result
View file @
a4595579
...
@@ -1526,15 +1526,15 @@ insert into t1 values (unhex('65')), (unhex('C3A9')), (unhex('65'));
...
@@ -1526,15 +1526,15 @@ insert into t1 values (unhex('65')), (unhex('C3A9')), (unhex('65'));
explain select distinct a from t1;
explain select distinct a from t1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary
select distinct a from t1
;
SELECT COUNT(*) FROM (SELECT DISTINCT a FROM t1) AS t2
;
a
COUNT(*)
e
1
explain select a from t1 group by a;
explain select a from t1 group by a;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
select a from t1 group by a
;
SELECT COUNT(*) FROM (SELECT a FROM t1 GROUP BY a) AS t2
;
a
COUNT(*)
e
1
drop table t1;
drop table t1;
create table t1(a char(10)) default charset utf8mb4 engine MyISAM;
create table t1(a char(10)) default charset utf8mb4 engine MyISAM;
insert into t1 values ('123'), ('456');
insert into t1 values ('123'), ('456');
...
...
mysql-test/r/ctype_utf8mb4_ndb.result
View file @
a4595579
...
@@ -1034,15 +1034,15 @@ insert into t1 values (unhex('65')), (unhex('C3A9')), (unhex('65'));
...
@@ -1034,15 +1034,15 @@ insert into t1 values (unhex('65')), (unhex('C3A9')), (unhex('65'));
explain select distinct a from t1;
explain select distinct a from t1;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary
select distinct a from t1
;
SELECT COUNT(*) FROM (SELECT DISTINCT a FROM t1) AS t2
;
a
COUNT(*)
e
1
explain select a from t1 group by a;
explain select a from t1 group by a;
id select_type table type possible_keys key key_len ref rows Extra
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
1 SIMPLE t1 ALL NULL NULL NULL NULL 3 Using temporary; Using filesort
select a from t1 group by a
;
SELECT COUNT(*) FROM (SELECT a FROM t1 GROUP BY a) AS t2
;
a
COUNT(*)
e
1
drop table t1;
drop table t1;
create table t1(a char(10)) default charset utf8mb4 engine ndb;
create table t1(a char(10)) default charset utf8mb4 engine ndb;
insert into t1 values ('123'), ('456');
insert into t1 values ('123'), ('456');
...
...
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