2019-10-19 10:01:26 +02:00
|
|
|
#
|
|
|
|
# MDEV-20466: SHOW PROCESSLIST truncates query text on \0 bytes
|
|
|
|
#
|
2021-01-04 23:59:00 +01:00
|
|
|
connect con1,localhost,root;
|
2019-10-25 11:57:36 +02:00
|
|
|
connection con1;
|
2020-05-06 10:51:44 +02:00
|
|
|
SET DEBUG_SYNC= 'before_join_optimize SIGNAL in_sync WAIT_FOR go';
|
2019-10-25 11:57:36 +02:00
|
|
|
connection default;
|
2019-10-19 10:01:26 +02:00
|
|
|
SET DEBUG_SYNC= 'now WAIT_FOR in_sync';
|
2020-05-08 13:38:36 +02:00
|
|
|
FOUND 1 /sleep/ in MDEV-20466.text
|
2020-05-06 10:51:44 +02:00
|
|
|
SET DEBUG_SYNC= 'now SIGNAL go';
|
2020-05-26 12:01:34 +02:00
|
|
|
connection con1;
|
2020-05-30 10:04:27 +02:00
|
|
|
User
|
2019-10-25 11:57:36 +02:00
|
|
|
disconnect con1;
|
2020-05-26 12:01:34 +02:00
|
|
|
connection default;
|
2019-10-19 10:01:26 +02:00
|
|
|
SET DEBUG_SYNC = 'RESET';
|
2021-01-04 23:59:00 +01:00
|
|
|
#
|
|
|
|
# End of 5.5 tests
|
|
|
|
#
|
2020-10-28 10:56:38 +01:00
|
|
|
#
|
|
|
|
# MDEV-23752: SHOW EXPLAIN FOR thd waits for sleep
|
|
|
|
#
|
2021-01-04 23:59:00 +01:00
|
|
|
connect con1,localhost,root;
|
|
|
|
select sleep(100000);
|
2020-10-28 10:56:38 +01:00
|
|
|
connection default;
|
2021-01-04 23:59:00 +01:00
|
|
|
SHOW EXPLAIN FOR $con_id;
|
2020-10-28 10:56:38 +01:00
|
|
|
id select_type table type possible_keys key key_len ref rows Extra
|
|
|
|
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL No tables used
|
|
|
|
Warnings:
|
|
|
|
Note 1003 select sleep(100000)
|
2021-01-04 23:59:00 +01:00
|
|
|
KILL QUERY $con_id;
|
2021-07-31 08:48:14 +02:00
|
|
|
disconnect con1;
|
2021-01-04 23:59:00 +01:00
|
|
|
#
|
2020-10-28 10:56:38 +01:00
|
|
|
# End of 10.2 tests
|
2021-01-04 23:59:00 +01:00
|
|
|
#
|