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/merge.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/merge.test')
-rw-r--r-- | mysql-test/t/merge.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/merge.test b/mysql-test/t/merge.test index 43267870cb7..72cb77a42b0 100644 --- a/mysql-test/t/merge.test +++ b/mysql-test/t/merge.test @@ -1274,6 +1274,8 @@ DROP TABLE t1, t2, t3; CREATE TABLE t1 (id INTEGER, grp TINYINT, id_rev INTEGER); SET @rnd_max= 2147483647; let $1 = 10; +--disable_query_log +begin; while ($1) { SET @rnd= RAND(); @@ -1283,6 +1285,8 @@ while ($1) INSERT INTO t1 (id, grp, id_rev) VALUES (@id, @grp, @id_rev); dec $1; } +commit; +--enable_query_log set @@read_buffer_size=2*1024*1024; CREATE TABLE t2 SELECT * FROM t1; INSERT INTO t1 (id, grp, id_rev) SELECT id, grp, id_rev FROM t2; |