diff options
author | monty@donna.mysql.com <> | 2000-09-13 01:08:34 +0300 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-09-13 01:08:34 +0300 |
commit | 47265938625c8cb7832cf15a8e39caf6b64c4b30 (patch) | |
tree | 42c131dcc09b3b264d33b14120eaae7687ab2425 /sql-bench/test-select.sh | |
parent | f2d930c388eb48174addd3e0cd542f3d0811ac6e (diff) | |
download | mariadb-git-47265938625c8cb7832cf15a8e39caf6b64c4b30.tar.gz |
Fixes for FULLTEXT and TIME type
Diffstat (limited to 'sql-bench/test-select.sh')
-rwxr-xr-x | sql-bench/test-select.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sql-bench/test-select.sh b/sql-bench/test-select.sh index 21a5b2307c9..160a10a1c33 100755 --- a/sql-bench/test-select.sh +++ b/sql-bench/test-select.sh @@ -109,9 +109,19 @@ $end_time=new Benchmark; print "Time to insert ($opt_loop_count): " . timestr(timediff($end_time, $loop_time),"all") . "\n\n"; +if ($opt_lock_tables) +{ + do_query($dbh,"UNLOCK TABLES"); +} + if ($opt_fast && defined($server->{vacuum})) { - $server->vacuum(0,\$dbh); + $server->vacuum(0,\$dbh,"bench1"); +} + +if ($opt_lock_tables) +{ + do_query($dbh,"LOCK TABLES bench1 WRITE"); } #### |