From: Date: February 12 2009 4:18pm Subject: bzr commit into mysql-5.1-bugteam branch (staale.smedseng:2804) Bug#41528 List-Archive: http://lists.mysql.com/commits/66045 X-Bug: 41528 Message-Id: <20090212151853.B98AA1F5@fimafeng09.norway.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///net/fimafeng09/export/home/tmp/ss156133/z/b41528-51/ based on revid:svoj@stripped 2804 Staale Smedseng 2009-02-12 A fix for Bug#41528 "test-create script included in sql-bench doesn't create tables with many keys". modified: sql-bench/test-create.sh === modified file 'sql-bench/test-create.sh' --- a/sql-bench/test-create.sh 2006-12-31 00:32:21 +0000 +++ b/sql-bench/test-create.sh 2009-02-12 15:18:41 +0000 @@ -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; }