summaryrefslogtreecommitdiff
path: root/mysql-test/t/type_float.test
diff options
context:
space:
mode:
authorAlexey Kopytov <alexeyk@mysql.com>2008-12-10 16:07:32 +0300
committerAlexey Kopytov <alexeyk@mysql.com>2008-12-10 16:07:32 +0300
commit3f2f3d84de0700a2651b1a7ff33b45016b97ff0e (patch)
treeb223f1aaf328f09a9877f12e72195990509c1795 /mysql-test/t/type_float.test
parent121ed547e91b9d1227303233dd5c70a1adf268a0 (diff)
downloadmariadb-git-3f2f3d84de0700a2651b1a7ff33b45016b97ff0e.tar.gz
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. mysql-test/r/type_float.result: Removed values with more than 15 significant digits from the test case. mysql-test/t/type_float.test: Removed values with more than 15 significant digits from the test case.
Diffstat (limited to 'mysql-test/t/type_float.test')
-rw-r--r--mysql-test/t/type_float.test4
1 files changed, 1 insertions, 3 deletions
diff --git a/mysql-test/t/type_float.test b/mysql-test/t/type_float.test
index 3ceef129912..53bcf44061d 100644
--- a/mysql-test/t/type_float.test
+++ b/mysql-test/t/type_float.test
@@ -259,9 +259,7 @@ drop table t1;
create table t1(d double, u bigint unsigned);
-insert into t1(d) values (9.2233720368547777e+18),
- (9.223372036854779e18),
- (9.22337203685479e18),
+insert into t1(d) values (9.22337203685479e18),
(1.84e19);
update t1 set u = d;