mariadb/mysql-test/main/reset_connection.test
2018-06-30 16:39:20 +02:00

25 lines
294 B
Text

--source include/not_embedded.inc
FLUSH STATUS;
--disable_result_log
--disable_query_log
let $i = 10;
begin;
while ($i)
{
dec $i;
SELECT 1;
}
commit;
--enable_query_log
--enable_result_log
SHOW local STATUS LIKE 'com_select';
--reset_connection
SHOW local STATUS LIKE 'com_select';