summaryrefslogtreecommitdiff
path: root/mysql-test/t/multi_statement-master.opt
diff options
context:
space:
mode:
authorunknown <jimw@mysql.com>2005-02-17 11:48:44 -0800
committerunknown <jimw@mysql.com>2005-02-17 11:48:44 -0800
commitae9166cd65ab10b21c92befa8cfe4a8e87bed0cb (patch)
tree37fdcd56865447de09e6c301bd93bb5e7edaba27 /mysql-test/t/multi_statement-master.opt
parentcb1b498030514366650615d60dfa7dcf55b55b81 (diff)
downloadmariadb-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.opt2
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