1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fixed func_time.test that was depending on current time

This commit is contained in:
Monty
2018-09-02 22:37:53 +03:00
parent 62c4a1702a
commit 39c6775a35
2 changed files with 2 additions and 0 deletions

View File

@@ -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,