diff options
author | unknown <monty@donna.mysql.com> | 2000-11-17 14:38:53 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-11-17 14:38:53 +0200 |
commit | 3f9c19dcf6188194fa351ecccdad843cbbf987df (patch) | |
tree | cb381ac1fff02141e93130f4b183687527fdaffc /sql-bench/test-insert.sh | |
parent | 642ae16e850a0130ecd35fb150ba2c1754cc9c31 (diff) | |
download | mariadb-git-3f9c19dcf6188194fa351ecccdad843cbbf987df.tar.gz |
Fixed bug with text key compares in BDB
Docs/manual.texi:
Updated statistics table
mysys/Makefile.am:
Removed rule for getopt1.o
sql-bench/test-insert.sh:
Enlarged some tests
sql/ha_berkeley.cc:
Fixed bug with text key compares
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql-bench/test-insert.sh')
-rwxr-xr-x | sql-bench/test-insert.sh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sql-bench/test-insert.sh b/sql-bench/test-insert.sh index 13bcfb2f6a9..8545f449fa6 100755 --- a/sql-bench/test-insert.sh +++ b/sql-bench/test-insert.sh @@ -367,38 +367,38 @@ print " for order_by_big ($small_loop_count:$rows): " . $loop_time=new Benchmark; $estimated=$rows=0; -for ($i=1 ; $i <= $small_loop_count ; $i++) +for ($i=1 ; $i <= $range_loop_count ; $i++) { - $start=$opt_loop_count/$small_loop_count*$i; + $start=$opt_loop_count/$range_loop_count*$i; $end=$start+$i; $rows+=fetch_all_rows($dbh,"select dummy1 from bench1 where id>=$start and id <= $end order by id",1); $end_time=new Benchmark; last if ($estimated=predict_query_time($loop_time,$end_time,\$i,$i, - $small_loop_count)); + $range_loop_count)); } if ($estimated) { print "Estimated time"; } else { print "Time"; } -print " for order_by_key ($small_loop_count:$rows): " . +print " for order_by_key ($range_loop_count:$rows): " . timestr(timediff($end_time, $loop_time),"all") . "\n"; $loop_time=new Benchmark; $estimated=$rows=0; -for ($i=1 ; $i <= $small_loop_count ; $i++) +for ($i=1 ; $i <= $range_loop_count ; $i++) { - $start=$opt_loop_count/$small_loop_count*$i; - $end=$start+$small_loop_count; + $start=$opt_loop_count/$range_loop_count*$i; + $end=$start+$range_loop_count; $rows+=fetch_all_rows($dbh,"select id2 from bench1 where id3>=$start and id3 <= $end order by id3",1); $end_time=new Benchmark; last if ($estimated=predict_query_time($loop_time,$end_time,\$i,$i, - $small_loop_count)); + $range_loop_count)); } if ($estimated) { print "Estimated time"; } else { print "Time"; } -print " for order_by_key2_diff ($small_loop_count:$rows): " . +print " for order_by_key2_diff ($range_loop_count:$rows): " . timestr(timediff($end_time, $loop_time),"all") . "\n"; # |