Below is the list of changes that have just been committed into a local
4.1 repository of hf. When hf does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2007-11-27 21:06:35+04:00, holyfoot@stripped +2 -0
Bug #29085 A small double precision number becomes zero.
Double value of 1e-308 can't be properly handled by some
coprocessors, so let's make tests consistent.
mysql-test/r/type_float.result@stripped, 2007-11-27 21:06:34+04:00, holyfoot@stripped +3 -3
Bug #29085 A small double precision number becomes zero.
test result fixed
mysql-test/t/type_float.test@stripped, 2007-11-27 21:06:34+04:00, holyfoot@stripped +1 -1
Bug #29085 A small double precision number becomes zero.
test case fixed
diff -Nrup a/mysql-test/r/type_float.result b/mysql-test/r/type_float.result
--- a/mysql-test/r/type_float.result 2007-01-31 09:51:03 +04:00
+++ b/mysql-test/r/type_float.result 2007-11-27 21:06:34 +04:00
@@ -272,9 +272,9 @@ desc t3;
Field Type Null Key Default Extra
a double 0
drop table t1,t2,t3;
-select 1e-308, 1.00000001e-300, 100000000e-300;
-1e-308 1.00000001e-300 100000000e-300
-1e-308 1.00000001e-300 1e-292
+select 1e-307, 1.00000001e-300, 100000000e-300;
+1e-307 1.00000001e-300 100000000e-300
+1e-307 1.00000001e-300 1e-292
select 10e307;
10e307
1e+308
diff -Nrup a/mysql-test/t/type_float.test b/mysql-test/t/type_float.test
--- a/mysql-test/t/type_float.test 2007-01-31 09:51:03 +04:00
+++ b/mysql-test/t/type_float.test 2007-11-27 21:06:34 +04:00
@@ -183,7 +183,7 @@ drop table t1,t2,t3;
# Bug #22129: A small double precision number becomes zero
#
# check if underflows are detected correctly
-select 1e-308, 1.00000001e-300, 100000000e-300;
+select 1e-307, 1.00000001e-300, 100000000e-300;
# check if overflows are detected correctly
select 10e307;
| Thread |
|---|
| • bk commit into 4.1 tree (holyfoot:1.2698) BUG#29085 | holyfoot | 27 Nov |