43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
--source include/have_innodb.inc
|
|
--source include/have_debug.inc
|
|
--source include/have_debug_sync.inc
|
|
|
|
--echo #
|
|
--echo # Bug #21794102 HANDLE_FATAL_SIGNAL (SIG=11) IN
|
|
--echo # DICT_TABLE_T::GET_REF_COUNT
|
|
--echo #
|
|
|
|
# Save the initial number of concurrent sessions
|
|
--source include/count_sessions.inc
|
|
|
|
create table t1 (f1 int primary key, f2 int) engine=innodb;
|
|
insert into t1 values (1, 1);
|
|
|
|
set debug ='d,test_sys_tablestats';
|
|
--disable_result_log
|
|
set debug_sync = 'dict_table_not_protected SIGNAL have_t1 WAIT_FOR del_t1';
|
|
--send
|
|
select name from information_schema.innodb_sys_tablestats;
|
|
|
|
--echo # Connection con1:
|
|
connect (con1,localhost,root,,test);
|
|
set debug_sync = 'now WAIT_FOR have_t1';
|
|
drop table t1;
|
|
set debug_sync = 'now SIGNAL del_t1';
|
|
|
|
--echo # Connection default:
|
|
connection default;
|
|
--reap;
|
|
--enable_result_log
|
|
|
|
disconnect con1;
|
|
|
|
set debug_sync = reset;
|
|
set debug = reset;
|
|
|
|
# Wait till all disconnects are completed
|
|
--source include/wait_until_count_sessions.inc
|
|
|
|
set global innodb_background_drop_list_empty = 0;
|
|
|