diff --git a/plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.result b/plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.result new file mode 100644 index 00000000000..ea74a8d45e4 --- /dev/null +++ b/plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.result @@ -0,0 +1,15 @@ +# Start of 10.11 tests +# +# MDEV-35427 Assertion `is_null() >= item->null_value' failed in Timestamp_or_zero_datetime_native_null::Timestamp_or_zero_datetime_native_null on EXECUTE +# +SET time_zone='+00:00'; +PREPARE s FROM 'SELECT CONCAT (UNIX_TIMESTAMP(?))'; +EXECUTE s USING CAST('00000000-0000-0000-0000-000000000001' AS UUID); +CONCAT (UNIX_TIMESTAMP(?)) +1736899200 +EXECUTE s USING @unknown_variable; +CONCAT (UNIX_TIMESTAMP(?)) +NULL +DEALLOCATE PREPARE s; +SET time_zone=DEFAULT; +# End of 10.11 tests 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 new file mode 100644 index 00000000000..712b2ab5eaf --- /dev/null +++ b/plugin/type_uuid/mysql-test/type_uuid/type_uuid_ps.test @@ -0,0 +1,14 @@ +--echo # Start of 10.11 tests + +--echo # +--echo # MDEV-35427 Assertion `is_null() >= item->null_value' failed in Timestamp_or_zero_datetime_native_null::Timestamp_or_zero_datetime_native_null on EXECUTE +--echo # + +SET time_zone='+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 time_zone=DEFAULT; + +--echo # End of 10.11 tests