Skip to content
Permalink
Browse files
Fixed func_time.test that was depending on current time
  • Loading branch information
montywi committed Sep 2, 2018
1 parent 62c4a17 commit 39c6775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
@@ -3567,6 +3567,7 @@ DROP TABLE t1;
#
# MDEV-15363 Wrong result for CAST(LAST_DAY(TIME'00:00:00') AS TIME)
#
set timestamp=unix_timestamp('2018-08-02 10:10:10');
SELECT
LAST_DAY(TIME'00:00:00') AS c1,
CAST(CAST(LAST_DAY(TIME'00:00:00') AS DATE) AS TIME) AS c2,
@@ -2159,6 +2159,7 @@ DROP TABLE t1;
--echo # MDEV-15363 Wrong result for CAST(LAST_DAY(TIME'00:00:00') AS TIME)
--echo #

set timestamp=unix_timestamp('2018-08-02 10:10:10');
SELECT
LAST_DAY(TIME'00:00:00') AS c1,
CAST(CAST(LAST_DAY(TIME'00:00:00') AS DATE) AS TIME) AS c2,

0 comments on commit 39c6775

Please sign in to comment.