Commit 284ff64c authored by Alexander Barkov's avatar Alexander Barkov

10.6 tests for MDEV-26507 Assertion `tmp != ((long long)...

10.6 tests for MDEV-26507 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in TIME_from_longlong_datetime_packed

The patch for MDEV-27673 (in 10.3) fixed MDEV-26507 as well.

This patch only adds 10.6 specific MTR tests for MDEV-26507.
parent d90c5ddd
...@@ -56,3 +56,15 @@ blocking_trx_rows_modified bigint(21) unsigned NO NULL ...@@ -56,3 +56,15 @@ blocking_trx_rows_modified bigint(21) unsigned NO NULL
sql_kill_blocking_query varchar(32) YES NULL sql_kill_blocking_query varchar(32) YES NULL
sql_kill_blocking_connection varchar(26) YES NULL sql_kill_blocking_connection varchar(26) YES NULL
SELECT * FROM sys.x$innodb_lock_waits; SELECT * FROM sys.x$innodb_lock_waits;
#
# Start of 10.6 tests
#
#
# MDEV-26507 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in TIME_from_longlong_datetime_packed
#
SET SESSION sql_mode='ALLOW_INVALID_DATES';
SELECT * FROM sys.x$innodb_lock_waits;
SET SESSION sql_mode=DEFAULT;
#
# End of 10.6 tests
#
...@@ -21,3 +21,21 @@ DESC sys.x$innodb_lock_waits; ...@@ -21,3 +21,21 @@ DESC sys.x$innodb_lock_waits;
SELECT * FROM sys.x$innodb_lock_waits; SELECT * FROM sys.x$innodb_lock_waits;
--enable_result_log --enable_result_log
--echo #
--echo # Start of 10.6 tests
--echo #
--echo #
--echo # MDEV-26507 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in TIME_from_longlong_datetime_packed
--echo #
SET SESSION sql_mode='ALLOW_INVALID_DATES';
--disable_result_log
SELECT * FROM sys.x$innodb_lock_waits;
--enable_result_log
SET SESSION sql_mode=DEFAULT;
--echo #
--echo # End of 10.6 tests
--echo #
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment