Below is the list of changes that have just been committed into a local
4.1 repository of ram. When ram 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
1.2507 06/06/19 13:03:29 ramil@stripped +2 -0
Fix for bug #20496: func_time.test failure
mysql-test/t/func_time.test
1.36 06/06/19 13:03:24 ramil@stripped +4 -2
Fix for bug #20496: func_time.test failure
- floating point calculations removed.
mysql-test/r/func_time.result
1.41 06/06/19 13:03:24 ramil@stripped +10 -3
Fix for bug #20496: func_time.test failure
- floating point calculations removed.
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: ramil
# Host: myoffice.izhnet.ru
# Root: /usr/home/ram/work/mysql-4.1
--- 1.40/mysql-test/r/func_time.result 2006-06-17 03:11:10 +05:00
+++ 1.41/mysql-test/r/func_time.result 2006-06-19 13:03:24 +05:00
@@ -671,7 +671,14 @@ select f1 from t1 where makedate(2006,2)
f1
2006-01-02
drop table t1;
-select now() - now() + 0, curtime() - curtime() + 0,
+create table t1 select now() - now(), curtime() - curtime(),
sec_to_time(1) + 0, from_unixtime(1) + 0;
-now() - now() + 0 curtime() - curtime() + 0 sec_to_time(1) + 0 from_unixtime(1) + 0
-0.000000 0.000000 1.000000 19700101030001.000000
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `now() - now()` double(23,6) NOT NULL default '0.000000',
+ `curtime() - curtime()` double(23,6) NOT NULL default '0.000000',
+ `sec_to_time(1) + 0` double(23,6) default NULL,
+ `from_unixtime(1) + 0` double(23,6) default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+drop table t1;
--- 1.35/mysql-test/t/func_time.test 2006-06-17 03:11:10 +05:00
+++ 1.36/mysql-test/t/func_time.test 2006-06-19 13:03:24 +05:00
@@ -347,7 +347,9 @@ drop table t1;
# Bug #16546
#
-select now() - now() + 0, curtime() - curtime() + 0,
- sec_to_time(1) + 0, from_unixtime(1) + 0;
+create table t1 select now() - now(), curtime() - curtime(),
+ sec_to_time(1) + 0, from_unixtime(1) + 0;
+show create table t1;
+drop table t1;
# End of 4.1 tests
| Thread |
|---|
| • bk commit into 4.1 tree (ramil:1.2507) BUG#20496 | ramil | 19 Jun |