summaryrefslogtreecommitdiff
path: root/mysql-test/t/myisam_debug.test
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2009-10-28 09:52:34 +0200
committerMichael Widenius <monty@askmonty.org>2009-10-28 09:52:34 +0200
commit358327618d5a71138be6ca27a4c8472723b67c45 (patch)
treec3e3a8863d7b69f2710398758721ffd6e75a02ca /mysql-test/t/myisam_debug.test
parentf3e3fe866bfaa14986db5bb6a10e5c130af69137 (diff)
downloadmariadb-git-358327618d5a71138be6ca27a4c8472723b67c45.tar.gz
Speed up of test suite:
- Added --disable_query_log ; begin ; .... commit; --enable_query_log around all while loops that does insert
Diffstat (limited to 'mysql-test/t/myisam_debug.test')
-rw-r--r--mysql-test/t/myisam_debug.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/myisam_debug.test b/mysql-test/t/myisam_debug.test
index 913668c5f22..43b5143441e 100644
--- a/mysql-test/t/myisam_debug.test
+++ b/mysql-test/t/myisam_debug.test
@@ -24,11 +24,15 @@ CREATE TABLE `t2` (
INSERT INTO t2 (id) VALUES (123);
let $i = 10;
+--disable_query_log
+begin;
while ($i)
{
INSERT INTO t2 (id) SELECT id FROM t2;
dec $i;
}
+commit;
+--enable_query_log
--echo # Switch to insert Connection
CONNECTION insertConn;