diff options
author | Michael Widenius <monty@askmonty.org> | 2009-10-28 09:52:34 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2009-10-28 09:52:34 +0200 |
commit | 358327618d5a71138be6ca27a4c8472723b67c45 (patch) | |
tree | c3e3a8863d7b69f2710398758721ffd6e75a02ca /mysql-test/t/func_misc.test | |
parent | f3e3fe866bfaa14986db5bb6a10e5c130af69137 (diff) | |
download | mariadb-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/func_misc.test')
-rw-r--r-- | mysql-test/t/func_misc.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test index 6590b43f2dc..98a5ad8d80c 100644 --- a/mysql-test/t/func_misc.test +++ b/mysql-test/t/func_misc.test @@ -213,11 +213,15 @@ start_ts DATETIME, end_ts DATETIME, start_cached INTEGER, end_cached INTEGER); CREATE TABLE t1 (f1 BIGINT); let $num = `SELECT @row_count`; +--disable_query_log +begin; while ($num) { INSERT INTO t1 VALUES (1); dec $num; } +commit; +--enable_query_log let $loops = 4; let $num = $loops; |