mariadb/mysql-test/main/processlist_notembedded.result

35 lines
797 B
Text
Raw Normal View History

2019-10-19 10:01:26 +02:00
#
# MDEV-20466: SHOW PROCESSLIST truncates query text on \0 bytes
#
connect con1,localhost,root;
2019-10-25 11:57:36 +02:00
connection con1;
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
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';
#
# End of 5.5 tests
#
2020-10-28 10:56:38 +01:00
#
# MDEV-23752: SHOW EXPLAIN FOR thd waits for sleep
#
connect con1,localhost,root;
select sleep(100000);
2020-10-28 10:56:38 +01:00
connection default;
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)
KILL QUERY $con_id;
disconnect con1;
#
2020-10-28 10:56:38 +01:00
# End of 10.2 tests
#