Skip to content

Commit 284ff64

Browse files
committed
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.
1 parent d90c5dd commit 284ff64

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

mysql-test/suite/sysschema/r/v_innodb_lock_waits.result

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,15 @@ blocking_trx_rows_modified bigint(21) unsigned NO NULL
5656
sql_kill_blocking_query varchar(32) YES NULL
5757
sql_kill_blocking_connection varchar(26) YES NULL
5858
SELECT * FROM sys.x$innodb_lock_waits;
59+
#
60+
# Start of 10.6 tests
61+
#
62+
#
63+
# MDEV-26507 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in TIME_from_longlong_datetime_packed
64+
#
65+
SET SESSION sql_mode='ALLOW_INVALID_DATES';
66+
SELECT * FROM sys.x$innodb_lock_waits;
67+
SET SESSION sql_mode=DEFAULT;
68+
#
69+
# End of 10.6 tests
70+
#

mysql-test/suite/sysschema/t/v_innodb_lock_waits.test

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,21 @@ DESC sys.x$innodb_lock_waits;
2121
SELECT * FROM sys.x$innodb_lock_waits;
2222
--enable_result_log
2323

24+
25+
--echo #
26+
--echo # Start of 10.6 tests
27+
--echo #
28+
29+
--echo #
30+
--echo # MDEV-26507 Assertion `tmp != ((long long) 0x8000000000000000LL)' failed in TIME_from_longlong_datetime_packed
31+
--echo #
32+
33+
SET SESSION sql_mode='ALLOW_INVALID_DATES';
34+
--disable_result_log
35+
SELECT * FROM sys.x$innodb_lock_waits;
36+
--enable_result_log
37+
SET SESSION sql_mode=DEFAULT;
38+
39+
--echo #
40+
--echo # End of 10.6 tests
41+
--echo #

0 commit comments

Comments
 (0)