Skip to content

Commit

Permalink
#33 fix mysql test func_time sql_mode (since we changed its default)
Browse files Browse the repository at this point in the history
  • Loading branch information
prohaska committed Nov 5, 2014
1 parent 40b50d7 commit ea7edd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions mysql-test/r/func_time.result
Original file line number Diff line number Diff line change
Expand Up @@ -2471,15 +2471,13 @@ SELECT * FROM t1;
TIMESTAMP('00:00:00','10:10:10') TIMESTAMP(TIME('00:00:00'),'10:10:10')
NULL NULL
DROP TABLE t1;
SET GLOBAL SQL_MODE=DEFAULT;
#
# MDEV-4869 Wrong result of MAKETIME(0, 0, -0.1)
#
SELECT MAKETIME(0, 0, -0.1);
MAKETIME(0, 0, -0.1)
NULL

SET GLOBAL SQL_MODE='';

#
# MDEV-4857 Wrong result of HOUR('1 00:00:00')
#
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/t/func_time.test
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ SHOW COLUMNS FROM t1;
SELECT * FROM t1;
DROP TABLE t1;

SET GLOBAL SQL_MODE='';
SET GLOBAL SQL_MODE=DEFAULT;

--echo #
--echo # MDEV-4869 Wrong result of MAKETIME(0, 0, -0.1)
Expand Down

0 comments on commit ea7edd4

Please sign in to comment.