A cleanup for MDEV-35427 to avoid dependency from the current date

Adding a "SET timestamp" command before the test body.
This commit is contained in:
Alexander Barkov
2025-01-16 21:04:39 +04:00
parent 2d42e9ff7d
commit c8ef86cc8b

View File

@ -5,10 +5,12 @@
--echo #
SET time_zone='+00:00';
SET timestamp=UNIX_TIMESTAMP('2025-01-15 00:00:00');
PREPARE s FROM 'SELECT CONCAT (UNIX_TIMESTAMP(?))';
EXECUTE s USING CAST('00000000-0000-0000-0000-000000000001' AS UUID);
EXECUTE s USING @unknown_variable;
DEALLOCATE PREPARE s;
SET timestamp=DEFAULT;
SET time_zone=DEFAULT;
--echo # End of 10.11 tests