From c8ef86cc8b9a8d3fe9ffff91c74122f2ae0a1b69 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Thu, 16 Jan 2025 21:04:39 +0400 Subject: [PATCH] A cleanup for MDEV-35427 to avoid dependency from the current date Adding a "SET timestamp" command before the test body. --- plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.test | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.test b/plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.test index 712b2ab5eaf..776859e7354 100644 --- a/plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.test +++ b/plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.test @@ -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