mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-33285 - Assertion `m_table' failed in ha_perfschema::rnd_end on CHECKSUM TABLE
CHECKSUM TABLE causes variety of crashes when killed. This bug it not specific to PERFORMANCE_SCHEMA. Removed duplicate handler::ha_rnd_end() call.
This commit is contained in:
committed by
Sergei Golubchik
parent
aef6f35989
commit
b730abda09
@@ -237,3 +237,29 @@ kill $id;
|
||||
set debug_sync='now SIGNAL go3';
|
||||
drop table t1;
|
||||
set debug_sync='reset';
|
||||
#
|
||||
# MDEV-33285 - Assertion `m_table' failed in ha_perfschema::rnd_end on
|
||||
# CHECKSUM TABLE
|
||||
#
|
||||
CREATE TABLE t1 (a INT);
|
||||
INSERT INTO t1 VALUES(1);
|
||||
SET debug_sync='mysql_checksum_table_after_calculate_checksum SIGNAL parked WAIT_FOR go';
|
||||
CHECKSUM TABLE t1;
|
||||
connect con1, localhost, root;
|
||||
connection con1;
|
||||
SET debug_sync='now WAIT_FOR parked';
|
||||
KILL QUERY id;
|
||||
SET debug_sync='now SIGNAL go';
|
||||
connection default;
|
||||
ERROR 70100: Query execution was interrupted
|
||||
SET debug_sync='mysql_checksum_table_before_calculate_checksum SIGNAL parked WAIT_FOR go';
|
||||
CHECKSUM TABLE t1;
|
||||
connection con1;
|
||||
SET debug_sync='now WAIT_FOR parked';
|
||||
KILL QUERY id;
|
||||
SET debug_sync='now SIGNAL go';
|
||||
connection default;
|
||||
ERROR 70100: Query execution was interrupted
|
||||
DROP TABLE t1;
|
||||
disconnect con1;
|
||||
SET debug_sync='RESET';
|
||||
|
Reference in New Issue
Block a user