MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Alexey Kopytov Date:December 10 2008 1:07pm
Subject:bzr commit into mysql-5.0-bugteam branch (alexeyk:2739) Bug#27483
View as plain text  
#At file:///Users/kaa/src/bzr/bugteam/mysql-5.0-bugteam/

 2739 Alexey Kopytov	2008-12-10
      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.
modified:
  mysql-test/r/type_float.result
  mysql-test/t/type_float.test

per-file messages:
  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.
=== modified file 'mysql-test/r/type_float.result'
--- a/mysql-test/r/type_float.result	2008-12-09 08:05:36 +0000
+++ b/mysql-test/r/type_float.result	2008-12-10 13:07:32 +0000
@@ -393,15 +393,11 @@ f1 + 0e0
 -1.0000000150475e+30
 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;
 select u from t1;
 u
-9223372036854775808
-9223372036854779904
 9223372036854790144
 18400000000000000000
 drop table t1;

=== modified file 'mysql-test/t/type_float.test'
--- a/mysql-test/t/type_float.test	2008-12-09 08:05:36 +0000
+++ b/mysql-test/t/type_float.test	2008-12-10 13:07:32 +0000
@@ -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;

Thread
bzr commit into mysql-5.0-bugteam branch (alexeyk:2739) Bug#27483Alexey Kopytov10 Dec