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
d7fb3b77
Commit
d7fb3b77
authored
Dec 23, 2009
by
Alexey Kopytov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test failures from the 'parts' suite introduced by
backporting WL#2934.
parent
b2c706d8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
50 additions
and
50 deletions
+50
-50
mysql-test/suite/parts/r/partition_float_innodb.result
mysql-test/suite/parts/r/partition_float_innodb.result
+25
-25
mysql-test/suite/parts/r/partition_float_myisam.result
mysql-test/suite/parts/r/partition_float_myisam.result
+25
-25
No files found.
mysql-test/suite/parts/r/partition_float_innodb.result
View file @
d7fb3b77
...
...
@@ -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
1
234550
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
1
234550
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
1
234550
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.2250738585072
e+
208
-2.2250738585072
016e
208
-1.5
-1
-2.2250738585072e-208
-2.2250738585072
014
e-208
0
1.5
1234.567
2.2250738585072
e+
208
2.2250738585072
016e
208
select * from t1 where a=1.5;
a
1.5
delete from t1 where a=1.5;
select * from t1;
a
-2.2250738585072
e+
208
-2.2250738585072
016e
208
-1.5
-1
-2.2250738585072e-208
-2.2250738585072
014
e-208
0
1234.567
2.2250738585072
e+
208
2.2250738585072
016e
208
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.2250738585072
e+
208
-2.2250738585072
016e
208
-1.5
-1
-2.2250738585072e-208
-2.2250738585072
014
e-208
0
1.5
1234.567
2.2250738585072
e+
208
2.2250738585072
016e
208
select * from t2 where a=1234.567;
a
1234.567
delete from t2 where a=1234.567;
select * from t2;
a
-2.2250738585072
e+
208
-2.2250738585072
016e
208
-1.5
-1
-2.2250738585072e-208
-2.2250738585072
014
e-208
0
1.5
2.2250738585072
e+
208
2.2250738585072
016e
208
delete from t2;
1024*3 inserts;
select count(*) from t2;
...
...
mysql-test/suite/parts/r/partition_float_myisam.result
View file @
d7fb3b77
...
...
@@ -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
1
234550
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
1
234550
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
1
234550
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.2250738585072
e+
208
-2.2250738585072
016e
208
-1.5
-1
-2.2250738585072e-208
-2.2250738585072
014
e-208
0
1.5
1234.567
2.2250738585072
e+
208
2.2250738585072
016e
208
select * from t1 where a=1.5;
a
1.5
delete from t1 where a=1.5;
select * from t1;
a
-2.2250738585072
e+
208
-2.2250738585072
016e
208
-1.5
-1
-2.2250738585072e-208
-2.2250738585072
014
e-208
0
1234.567
2.2250738585072
e+
208
2.2250738585072
016e
208
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.2250738585072
e+
208
-2.2250738585072
016e
208
-1.5
-1
-2.2250738585072e-208
-2.2250738585072
014
e-208
0
1.5
1234.567
2.2250738585072
e+
208
2.2250738585072
016e
208
select * from t2 where a=1234.567;
a
1234.567
delete from t2 where a=1234.567;
select * from t2;
a
-2.2250738585072
e+
208
-2.2250738585072
016e
208
-1.5
-1
-2.2250738585072e-208
-2.2250738585072
014
e-208
0
1.5
2.2250738585072
e+
208
2.2250738585072
016e
208
delete from t2;
16384*3 inserts;
select count(*) from t2;
...
...
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