diff options
author | unknown <jimw@mysql.com> | 2005-02-17 11:48:44 -0800 |
---|---|---|
committer | unknown <jimw@mysql.com> | 2005-02-17 11:48:44 -0800 |
commit | ae9166cd65ab10b21c92befa8cfe4a8e87bed0cb (patch) | |
tree | 37fdcd56865447de09e6c301bd93bb5e7edaba27 /mysql-test/t/multi_statement-master.opt | |
parent | cb1b498030514366650615d60dfa7dcf55b55b81 (diff) | |
download | mariadb-git-ae9166cd65ab10b21c92befa8cfe4a8e87bed0cb.tar.gz |
Log each slow query in a multi-statement query to the slow query log.
(Bug #8475)
sql/sql_parse.cc:
Reset the start time before each statement before each statement in
a multi-statement query, and check whether each statement should
be logged to the slow query log independently.
mysql-test/r/multi_statement.result:
Add new results
mysql-test/t/multi_statement.test:
Add new regression test
Diffstat (limited to 'mysql-test/t/multi_statement-master.opt')
-rw-r--r-- | mysql-test/t/multi_statement-master.opt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/multi_statement-master.opt b/mysql-test/t/multi_statement-master.opt new file mode 100644 index 00000000000..b30df037531 --- /dev/null +++ b/mysql-test/t/multi_statement-master.opt @@ -0,0 +1,2 @@ +--log-slow-queries=slow.log +--log-queries-not-using-indexes |