summaryrefslogtreecommitdiff
path: root/mysql-test/suite/parts
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-12-23 15:04:32 +0300
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2009-12-23 15:04:32 +0300
commit924e048e9845c33dca097f2ddcb2f9ad24ad9a67 (patch)
treefe0f760699e8b1600d1948e601cd619c52febd5d /mysql-test/suite/parts
parentb8db5f5c7466f4ca4365d0f0bcbc382fc45a9a47 (diff)
downloadmariadb-git-924e048e9845c33dca097f2ddcb2f9ad24ad9a67.tar.gz
Fixed test failures from the 'parts' suite introduced by
backporting WL#2934.
Diffstat (limited to 'mysql-test/suite/parts')
-rw-r--r--mysql-test/suite/parts/r/partition_float_innodb.result50
-rw-r--r--mysql-test/suite/parts/r/partition_float_myisam.result50
2 files changed, 50 insertions, 50 deletions
diff --git a/mysql-test/suite/parts/r/partition_float_innodb.result b/mysql-test/suite/parts/r/partition_float_innodb.result
index 917358dc54a..d2f04a68629 100644
--- a/mysql-test/suite/parts/r/partition_float_innodb.result
+++ b/mysql-test/suite/parts/r/partition_float_innodb.result
@@ -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;
diff --git a/mysql-test/suite/parts/r/partition_float_myisam.result b/mysql-test/suite/parts/r/partition_float_myisam.result
index 3f9390f6ba9..2d52d095989 100644
--- a/mysql-test/suite/parts/r/partition_float_myisam.result
+++ b/mysql-test/suite/parts/r/partition_float_myisam.result
@@ -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;