--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';