1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Log each slow query in a multi-statement query to the slow query log.

(Bug #8475)
This commit is contained in:
jimw@mysql.com
2005-02-17 11:48:44 -08:00
parent 51d6411e11
commit 1c22de9032
4 changed files with 56 additions and 11 deletions

View File

@@ -31,3 +31,20 @@ select 5'abcd'
select 'finish';
finish
finish
flush status;
create table t1 (i int);
insert into t1 values (1);
select * from t1 where i = 1;
insert into t1 values (2),(3),(4);
select * from t1 where i = 2;
select * from t1 where i = 3||||
i
1
i
2
i
3
show status like 'Slow_queries'||||
Variable_name Value
Slow_queries 2
drop table t1||||