summaryrefslogtreecommitdiff
path: root/sql-bench
diff options
context:
space:
mode:
Diffstat (limited to 'sql-bench')
-rw-r--r--sql-bench/test-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-bench/test-create.sh b/sql-bench/test-create.sh
index bc2f17c1f0a..63672519e61 100644
--- a/sql-bench/test-create.sh
+++ b/sql-bench/test-create.sh
@@ -247,7 +247,7 @@ for ($i=2 ; $i <= $keys ; $i++)
$loop_time=new Benchmark;
for ($i=1 ; $i <= $opt_loop_count ; $i++)
{
- do_many($dbh,$server->create("bench_$i", \@fields, \@index));
+ do_many($dbh,$server->create("bench_$i", \@fields, \@keys));
$dbh->do("drop table bench_$i" . $server->{'drop_attr'}) or die $DBI::errstr;
}