Commit 11b8c529 authored by unknown's avatar unknown

Bug#34225: suite/parts test failure

Pre push fix:
added --sorted_result for consistent results


mysql-test/suite/parts/inc/partition_bit.inc:
  Bug#34225: suite/parts test failure
  
  added --sorted_result for consistent results
mysql-test/suite/parts/r/partition_bit_innodb.result:
  Bug#34225: suite/parts test failure
  
  added --sorted_result for consistent results
mysql-test/suite/parts/r/partition_bit_myisam.result:
  Bug#34225: suite/parts test failure
  
  added --sorted_result for consistent results
parent 1a6789fd
...@@ -25,6 +25,7 @@ insert into t1 values ...@@ -25,6 +25,7 @@ insert into t1 values
(b'0000000000000000000000000000000000000000000000000000000000000001'), (b'0000000000000000000000000000000000000000000000000000000000000001'),
(b'1010101010101010101010101010101010101010101010101010101010101010'), (b'1010101010101010101010101010101010101010101010101010101010101010'),
(b'0101010101010101010101010101010101010101010101010101010101010101'); (b'0101010101010101010101010101010101010101010101010101010101010101');
--sorted_result
select hex(a) from t1; select hex(a) from t1;
drop table t1; drop table t1;
...@@ -43,6 +44,7 @@ insert into t1 values ...@@ -43,6 +44,7 @@ insert into t1 values
(b'0101010101010101010101010101010101010101010101010101010101010101'); (b'0101010101010101010101010101010101010101010101010101010101010101');
select hex(a) from t1 where a=b'0101010101010101010101010101010101010101010101010101010101010101'; select hex(a) from t1 where a=b'0101010101010101010101010101010101010101010101010101010101010101';
delete from t1 where a=b'0101010101010101010101010101010101010101010101010101010101010101'; delete from t1 where a=b'0101010101010101010101010101010101010101010101010101010101010101';
--sorted_result
select hex(a) from t1; select hex(a) from t1;
drop table t1; drop table t1;
...@@ -50,12 +52,15 @@ eval create table t2 (a bit, primary key (a)) engine=$engine ...@@ -50,12 +52,15 @@ eval create table t2 (a bit, primary key (a)) engine=$engine
partition by key (a) partitions 4; partition by key (a) partitions 4;
show create table t2; show create table t2;
insert into t2 values (b'0'), (b'1'); insert into t2 values (b'0'), (b'1');
--sorted_result
select hex(a) from t2; select hex(a) from t2;
alter table t2 drop primary key; alter table t2 drop primary key;
show create table t2; show create table t2;
--sorted_result
select hex(a) from t2; select hex(a) from t2;
alter table t2 add primary key (a); alter table t2 add primary key (a);
show create table t2; show create table t2;
--sorted_result
select hex(a) from t2; select hex(a) from t2;
drop table t2; drop table t2;
...@@ -78,6 +83,7 @@ dec $count; ...@@ -78,6 +83,7 @@ dec $count;
select hex(a) from t3 where a=b'01010101'; select hex(a) from t3 where a=b'01010101';
delete from t3 where a=b'01010101'; delete from t3 where a=b'01010101';
select count(*) from t3; select count(*) from t3;
--sorted_result
select hex(a) from t3; select hex(a) from t3;
drop table t3; drop table t3;
...@@ -99,5 +105,6 @@ dec $count; ...@@ -99,5 +105,6 @@ dec $count;
select hex(a) from t4 where a=b'00000001'; select hex(a) from t4 where a=b'00000001';
delete from t4 where a=b'00000001'; delete from t4 where a=b'00000001';
select count(*) from t4; select count(*) from t4;
--sorted_result
select hex(a) from t4; select hex(a) from t4;
drop table t4; drop table t4;
...@@ -93,8 +93,8 @@ t2 CREATE TABLE `t2` ( ...@@ -93,8 +93,8 @@ t2 CREATE TABLE `t2` (
) ENGINE=InnoDB DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (a) PARTITIONS 4 */ ) ENGINE=InnoDB DEFAULT CHARSET=latin1 /*!50100 PARTITION BY KEY (a) PARTITIONS 4 */
select hex(a) from t2; select hex(a) from t2;
hex(a) hex(a)
1
0 0
1
alter table t2 add primary key (a); alter table t2 add primary key (a);
show create table t2; show create table t2;
Table Create Table Table Create Table
...@@ -130,20 +130,6 @@ count(*) ...@@ -130,20 +130,6 @@ count(*)
select hex(a) from t3; select hex(a) from t3;
hex(a) hex(a)
1 1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10 10
11 11
12 12
...@@ -160,6 +146,7 @@ F ...@@ -160,6 +146,7 @@ F
1D 1D
1E 1E
1F 1F
2
20 20
21 21
22 22
...@@ -176,6 +163,7 @@ F ...@@ -176,6 +163,7 @@ F
2D 2D
2E 2E
2F 2F
3
30 30
31 31
32 32
...@@ -192,6 +180,7 @@ F ...@@ -192,6 +180,7 @@ F
3D 3D
3E 3E
3F 3F
4
40 40
41 41
42 42
...@@ -208,6 +197,7 @@ F ...@@ -208,6 +197,7 @@ F
4D 4D
4E 4E
4F 4F
5
50 50
51 51
52 52
...@@ -223,6 +213,7 @@ F ...@@ -223,6 +213,7 @@ F
5D 5D
5E 5E
5F 5F
6
60 60
61 61
62 62
...@@ -239,6 +230,7 @@ F ...@@ -239,6 +230,7 @@ F
6D 6D
6E 6E
6F 6F
7
70 70
71 71
72 72
...@@ -255,6 +247,7 @@ F ...@@ -255,6 +247,7 @@ F
7D 7D
7E 7E
7F 7F
8
80 80
81 81
82 82
...@@ -271,6 +264,7 @@ F ...@@ -271,6 +264,7 @@ F
8D 8D
8E 8E
8F 8F
9
90 90
91 91
92 92
...@@ -287,6 +281,7 @@ F ...@@ -287,6 +281,7 @@ F
9D 9D
9E 9E
9F 9F
A
A0 A0
A1 A1
A2 A2
...@@ -303,6 +298,7 @@ AC ...@@ -303,6 +298,7 @@ AC
AD AD
AE AE
AF AF
B
B0 B0
B1 B1
B2 B2
...@@ -319,6 +315,7 @@ BC ...@@ -319,6 +315,7 @@ BC
BD BD
BE BE
BF BF
C
C0 C0
C1 C1
C2 C2
...@@ -335,6 +332,7 @@ CC ...@@ -335,6 +332,7 @@ CC
CD CD
CE CE
CF CF
D
D0 D0
D1 D1
D2 D2
...@@ -351,6 +349,7 @@ DC ...@@ -351,6 +349,7 @@ DC
DD DD
DE DE
DF DF
E
E0 E0
E1 E1
E2 E2
...@@ -367,6 +366,7 @@ EC ...@@ -367,6 +366,7 @@ EC
ED ED
EE EE
EF EF
F
F0 F0
F1 F1
F2 F2
...@@ -405,20 +405,6 @@ count(*) ...@@ -405,20 +405,6 @@ count(*)
31 31
select hex(a) from t4; select hex(a) from t4;
hex(a) hex(a)
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10 10
11 11
12 12
...@@ -435,5 +421,19 @@ F ...@@ -435,5 +421,19 @@ F
1D 1D
1E 1E
1F 1F
2
20 20
3
4
5
6
7
8
9
A
B
C
D
E
F
drop table t4; drop table t4;
...@@ -130,20 +130,6 @@ count(*) ...@@ -130,20 +130,6 @@ count(*)
select hex(a) from t3; select hex(a) from t3;
hex(a) hex(a)
1 1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10 10
11 11
12 12
...@@ -160,6 +146,7 @@ F ...@@ -160,6 +146,7 @@ F
1D 1D
1E 1E
1F 1F
2
20 20
21 21
22 22
...@@ -176,6 +163,7 @@ F ...@@ -176,6 +163,7 @@ F
2D 2D
2E 2E
2F 2F
3
30 30
31 31
32 32
...@@ -192,6 +180,7 @@ F ...@@ -192,6 +180,7 @@ F
3D 3D
3E 3E
3F 3F
4
40 40
41 41
42 42
...@@ -208,6 +197,7 @@ F ...@@ -208,6 +197,7 @@ F
4D 4D
4E 4E
4F 4F
5
50 50
51 51
52 52
...@@ -223,6 +213,7 @@ F ...@@ -223,6 +213,7 @@ F
5D 5D
5E 5E
5F 5F
6
60 60
61 61
62 62
...@@ -239,6 +230,7 @@ F ...@@ -239,6 +230,7 @@ F
6D 6D
6E 6E
6F 6F
7
70 70
71 71
72 72
...@@ -255,6 +247,7 @@ F ...@@ -255,6 +247,7 @@ F
7D 7D
7E 7E
7F 7F
8
80 80
81 81
82 82
...@@ -271,6 +264,7 @@ F ...@@ -271,6 +264,7 @@ F
8D 8D
8E 8E
8F 8F
9
90 90
91 91
92 92
...@@ -287,6 +281,7 @@ F ...@@ -287,6 +281,7 @@ F
9D 9D
9E 9E
9F 9F
A
A0 A0
A1 A1
A2 A2
...@@ -303,6 +298,7 @@ AC ...@@ -303,6 +298,7 @@ AC
AD AD
AE AE
AF AF
B
B0 B0
B1 B1
B2 B2
...@@ -319,6 +315,7 @@ BC ...@@ -319,6 +315,7 @@ BC
BD BD
BE BE
BF BF
C
C0 C0
C1 C1
C2 C2
...@@ -335,6 +332,7 @@ CC ...@@ -335,6 +332,7 @@ CC
CD CD
CE CE
CF CF
D
D0 D0
D1 D1
D2 D2
...@@ -351,6 +349,7 @@ DC ...@@ -351,6 +349,7 @@ DC
DD DD
DE DE
DF DF
E
E0 E0
E1 E1
E2 E2
...@@ -367,6 +366,7 @@ EC ...@@ -367,6 +366,7 @@ EC
ED ED
EE EE
EF EF
F
F0 F0
F1 F1
F2 F2
...@@ -405,20 +405,6 @@ count(*) ...@@ -405,20 +405,6 @@ count(*)
31 31
select hex(a) from t4; select hex(a) from t4;
hex(a) hex(a)
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10 10
11 11
12 12
...@@ -435,5 +421,19 @@ F ...@@ -435,5 +421,19 @@ F
1D 1D
1E 1E
1F 1F
2
20 20
3
4
5
6
7
8
9
A
B
C
D
E
F
drop table t4; drop table t4;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment