1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Making the test for MDEV-17854 independent from the host time zone

This commit is contained in:
Alexander Barkov
2018-11-28 10:46:19 +04:00
parent d6bcf3a4c8
commit 218c75eb1d
2 changed files with 5 additions and 1 deletions

View File

@ -3129,4 +3129,6 @@ SELECT TIME('- 01:00:00'), TIME('- 1 01:00:00');
--echo # MDEV-17854 Assertion `decimals <= 6' failed in my_time_fraction_remainder on SELECT with NULLIF and FROM_UNIXTIME on incorrect time
--echo #
SET time_zone='+00:00';
SELECT NULLIF(FROM_UNIXTIME('foo'), '2012-12-12 21:10:14');
SET time_zone=DEFAULT;