Commit 33bac537 authored by Alexey Kopytov's avatar Alexey Kopytov

Fix for a test failure on Solaris/x86/gcc introduced by the patch for bug #27483.

Removed values with more than 15 significant digits from the test case. Results of 
reading/printing such values using system library functions depend on implementation 
and thus are not portable.
parent 73b48dec
...@@ -393,15 +393,11 @@ f1 + 0e0 ...@@ -393,15 +393,11 @@ f1 + 0e0
-1.0000000150475e+30 -1.0000000150475e+30
drop table t1; drop table t1;
create table t1(d double, u bigint unsigned); create table t1(d double, u bigint unsigned);
insert into t1(d) values (9.2233720368547777e+18), insert into t1(d) values (9.22337203685479e18),
(9.223372036854779e18),
(9.22337203685479e18),
(1.84e19); (1.84e19);
update t1 set u = d; update t1 set u = d;
select u from t1; select u from t1;
u u
9223372036854775808
9223372036854779904
9223372036854790144 9223372036854790144
18400000000000000000 18400000000000000000
drop table t1; drop table t1;
......
...@@ -259,9 +259,7 @@ drop table t1; ...@@ -259,9 +259,7 @@ drop table t1;
create table t1(d double, u bigint unsigned); create table t1(d double, u bigint unsigned);
insert into t1(d) values (9.2233720368547777e+18), insert into t1(d) values (9.22337203685479e18),
(9.223372036854779e18),
(9.22337203685479e18),
(1.84e19); (1.84e19);
update t1 set u = d; update t1 set u = d;
......
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