mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Fixed test failures from the 'parts' suite introduced by
backporting WL#2934.
This commit is contained in:
parent
b8db5f5c74
commit
924e048e98
2 changed files with 50 additions and 50 deletions
|
@ -18,25 +18,25 @@ t1 CREATE TABLE `t1` (
|
|||
insert into t1 values (-3.402823466E+38), (3.402823466E+38), (-1.5), (-1), (0), (1), (1.5);
|
||||
select * from t1;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e38
|
||||
-1.5
|
||||
-1
|
||||
0
|
||||
1
|
||||
1.5
|
||||
3.40282e+38
|
||||
3.40282e38
|
||||
select * from t1 where a=1.5;
|
||||
a
|
||||
1.5
|
||||
delete from t1 where a=1.5;
|
||||
select * from t1;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e38
|
||||
-1.5
|
||||
-1
|
||||
0
|
||||
1
|
||||
3.40282e+38
|
||||
3.40282e38
|
||||
drop table t1;
|
||||
create table t2 (a float not null, primary key(a)) engine='InnoDB'
|
||||
partition by key (a) partitions 10;
|
||||
|
@ -51,37 +51,37 @@ PARTITIONS 10 */
|
|||
insert into t2 values (-3.402823466E+38), (-3.402823466E+37), (-123.456), (0), (1234546.789), (123.456), (1.5);
|
||||
select * from t2;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e+37
|
||||
-3.40282e38
|
||||
-3.40282e37
|
||||
-123.456
|
||||
0
|
||||
1.5
|
||||
123.456
|
||||
1.23455e+06
|
||||
1234550
|
||||
select * from t2 where a=123.456;
|
||||
a
|
||||
delete from t2 where a=123.456;
|
||||
select * from t2;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e+37
|
||||
-3.40282e38
|
||||
-3.40282e37
|
||||
-123.456
|
||||
0
|
||||
1.5
|
||||
123.456
|
||||
1.23455e+06
|
||||
1234550
|
||||
select * from t2 where a=1.5;
|
||||
a
|
||||
1.5
|
||||
delete from t2 where a=1.5;
|
||||
select * from t2;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e+37
|
||||
-3.40282e38
|
||||
-3.40282e37
|
||||
-123.456
|
||||
0
|
||||
123.456
|
||||
1.23455e+06
|
||||
1234550
|
||||
delete from t2;
|
||||
1024*3 inserts;
|
||||
select count(*) from t2;
|
||||
|
@ -108,27 +108,27 @@ t1 CREATE TABLE `t1` (
|
|||
insert into t1 values (-2.2250738585072014E+208), (-2.2250738585072014E-208), (-1.5), (-1), (0), (1.5), (1234.567), (2.2250738585072014E+208);
|
||||
select * from t1;
|
||||
a
|
||||
-2.2250738585072e+208
|
||||
-2.2250738585072016e208
|
||||
-1.5
|
||||
-1
|
||||
-2.2250738585072e-208
|
||||
-2.2250738585072014e-208
|
||||
0
|
||||
1.5
|
||||
1234.567
|
||||
2.2250738585072e+208
|
||||
2.2250738585072016e208
|
||||
select * from t1 where a=1.5;
|
||||
a
|
||||
1.5
|
||||
delete from t1 where a=1.5;
|
||||
select * from t1;
|
||||
a
|
||||
-2.2250738585072e+208
|
||||
-2.2250738585072016e208
|
||||
-1.5
|
||||
-1
|
||||
-2.2250738585072e-208
|
||||
-2.2250738585072014e-208
|
||||
0
|
||||
1234.567
|
||||
2.2250738585072e+208
|
||||
2.2250738585072016e208
|
||||
drop table t1;
|
||||
create table t2 (a double not null, primary key(a)) engine='InnoDB'
|
||||
partition by key (a) partitions 10;
|
||||
|
@ -143,27 +143,27 @@ PARTITIONS 10 */
|
|||
insert into t2 values (-2.2250738585072014E+208), (-2.2250738585072014E-208), (-1.5), (-1), (0), (1.5), (1234.567), (2.2250738585072014E+208);
|
||||
select * from t2;
|
||||
a
|
||||
-2.2250738585072e+208
|
||||
-2.2250738585072016e208
|
||||
-1.5
|
||||
-1
|
||||
-2.2250738585072e-208
|
||||
-2.2250738585072014e-208
|
||||
0
|
||||
1.5
|
||||
1234.567
|
||||
2.2250738585072e+208
|
||||
2.2250738585072016e208
|
||||
select * from t2 where a=1234.567;
|
||||
a
|
||||
1234.567
|
||||
delete from t2 where a=1234.567;
|
||||
select * from t2;
|
||||
a
|
||||
-2.2250738585072e+208
|
||||
-2.2250738585072016e208
|
||||
-1.5
|
||||
-1
|
||||
-2.2250738585072e-208
|
||||
-2.2250738585072014e-208
|
||||
0
|
||||
1.5
|
||||
2.2250738585072e+208
|
||||
2.2250738585072016e208
|
||||
delete from t2;
|
||||
1024*3 inserts;
|
||||
select count(*) from t2;
|
||||
|
|
|
@ -18,25 +18,25 @@ t1 CREATE TABLE `t1` (
|
|||
insert into t1 values (-3.402823466E+38), (3.402823466E+38), (-1.5), (-1), (0), (1), (1.5);
|
||||
select * from t1;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e38
|
||||
-1.5
|
||||
-1
|
||||
0
|
||||
1
|
||||
1.5
|
||||
3.40282e+38
|
||||
3.40282e38
|
||||
select * from t1 where a=1.5;
|
||||
a
|
||||
1.5
|
||||
delete from t1 where a=1.5;
|
||||
select * from t1;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e38
|
||||
-1.5
|
||||
-1
|
||||
0
|
||||
1
|
||||
3.40282e+38
|
||||
3.40282e38
|
||||
drop table t1;
|
||||
create table t2 (a float not null, primary key(a)) engine='MYISAM'
|
||||
partition by key (a) partitions 10;
|
||||
|
@ -51,37 +51,37 @@ PARTITIONS 10 */
|
|||
insert into t2 values (-3.402823466E+38), (-3.402823466E+37), (-123.456), (0), (1234546.789), (123.456), (1.5);
|
||||
select * from t2;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e+37
|
||||
-3.40282e38
|
||||
-3.40282e37
|
||||
-123.456
|
||||
0
|
||||
1.5
|
||||
123.456
|
||||
1.23455e+06
|
||||
1234550
|
||||
select * from t2 where a=123.456;
|
||||
a
|
||||
delete from t2 where a=123.456;
|
||||
select * from t2;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e+37
|
||||
-3.40282e38
|
||||
-3.40282e37
|
||||
-123.456
|
||||
0
|
||||
1.5
|
||||
123.456
|
||||
1.23455e+06
|
||||
1234550
|
||||
select * from t2 where a=1.5;
|
||||
a
|
||||
1.5
|
||||
delete from t2 where a=1.5;
|
||||
select * from t2;
|
||||
a
|
||||
-3.40282e+38
|
||||
-3.40282e+37
|
||||
-3.40282e38
|
||||
-3.40282e37
|
||||
-123.456
|
||||
0
|
||||
123.456
|
||||
1.23455e+06
|
||||
1234550
|
||||
delete from t2;
|
||||
16384*3 inserts;
|
||||
select count(*) from t2;
|
||||
|
@ -108,27 +108,27 @@ t1 CREATE TABLE `t1` (
|
|||
insert into t1 values (-2.2250738585072014E+208), (-2.2250738585072014E-208), (-1.5), (-1), (0), (1.5), (1234.567), (2.2250738585072014E+208);
|
||||
select * from t1;
|
||||
a
|
||||
-2.2250738585072e+208
|
||||
-2.2250738585072016e208
|
||||
-1.5
|
||||
-1
|
||||
-2.2250738585072e-208
|
||||
-2.2250738585072014e-208
|
||||
0
|
||||
1.5
|
||||
1234.567
|
||||
2.2250738585072e+208
|
||||
2.2250738585072016e208
|
||||
select * from t1 where a=1.5;
|
||||
a
|
||||
1.5
|
||||
delete from t1 where a=1.5;
|
||||
select * from t1;
|
||||
a
|
||||
-2.2250738585072e+208
|
||||
-2.2250738585072016e208
|
||||
-1.5
|
||||
-1
|
||||
-2.2250738585072e-208
|
||||
-2.2250738585072014e-208
|
||||
0
|
||||
1234.567
|
||||
2.2250738585072e+208
|
||||
2.2250738585072016e208
|
||||
drop table t1;
|
||||
create table t2 (a double not null, primary key(a)) engine='MYISAM'
|
||||
partition by key (a) partitions 10;
|
||||
|
@ -143,27 +143,27 @@ PARTITIONS 10 */
|
|||
insert into t2 values (-2.2250738585072014E+208), (-2.2250738585072014E-208), (-1.5), (-1), (0), (1.5), (1234.567), (2.2250738585072014E+208);
|
||||
select * from t2;
|
||||
a
|
||||
-2.2250738585072e+208
|
||||
-2.2250738585072016e208
|
||||
-1.5
|
||||
-1
|
||||
-2.2250738585072e-208
|
||||
-2.2250738585072014e-208
|
||||
0
|
||||
1.5
|
||||
1234.567
|
||||
2.2250738585072e+208
|
||||
2.2250738585072016e208
|
||||
select * from t2 where a=1234.567;
|
||||
a
|
||||
1234.567
|
||||
delete from t2 where a=1234.567;
|
||||
select * from t2;
|
||||
a
|
||||
-2.2250738585072e+208
|
||||
-2.2250738585072016e208
|
||||
-1.5
|
||||
-1
|
||||
-2.2250738585072e-208
|
||||
-2.2250738585072014e-208
|
||||
0
|
||||
1.5
|
||||
2.2250738585072e+208
|
||||
2.2250738585072016e208
|
||||
delete from t2;
|
||||
16384*3 inserts;
|
||||
select count(*) from t2;
|
||||
|
|
Loading…
Reference in a new issue