diff options
author | unknown <monty@donna.mysql.fi> | 2001-04-02 19:49:43 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.fi> | 2001-04-02 19:49:43 +0300 |
commit | 5f5c6c87a64094a05575edbc4e54f11ce4ba1ffc (patch) | |
tree | ccdd8954668dc92af067754cb29c9692f126d61e /sql-bench/test-insert.sh | |
parent | 57e720bb112d169c4fcc4286ad7e815981f1680c (diff) | |
download | mariadb-git-5f5c6c87a64094a05575edbc4e54f11ce4ba1ffc.tar.gz |
Fixed up mysql-max spec file
sql-bench/test-insert.sh:
Allow the db to use multi value inserts if run with --fast.
Diffstat (limited to 'sql-bench/test-insert.sh')
-rw-r--r-- | sql-bench/test-insert.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-bench/test-insert.sh b/sql-bench/test-insert.sh index c0c76edaca4..0cb65cc8c88 100644 --- a/sql-bench/test-insert.sh +++ b/sql-bench/test-insert.sh @@ -130,7 +130,7 @@ else $query="insert into bench1 (id,id2,id3,dummy1) values "; } -if (($opt_fast || $opt_fast_insert) && $limits->{'insert_multi_value'}) +if (($opt_fast || $opt_fast_insert) && $server->{'limits'}->{'insert_multi_value'}) { $query_size=$server->{'limits'}->{'query_size'}; @@ -1209,7 +1209,7 @@ if ($server->small_rollback_segment()) $loop_time=new Benchmark; $fields=$#fields; -if (($opt_fast || $opt_fast_insert) && $limits->{'insert_multi_value'}) +if (($opt_fast || $opt_fast_insert) && $server->{'limits'}->{'insert_multi_value'}) { $query_size=$server->{'limits'}->{'query_size'}; $query="insert into bench1 values "; |