diff options
author | monty@donna.mysql.com <> | 2000-11-18 23:13:48 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-11-18 23:13:48 +0200 |
commit | b31d0768794e964852562c0ba307e6eea35f101b (patch) | |
tree | 287897ebd815b64a05c0ca7076beccd5245a2f8d /sql-bench/test-select.sh | |
parent | 23dc1a6b8568eab379492213be67d11c99522eca (diff) | |
download | mariadb-git-b31d0768794e964852562c0ba307e6eea35f101b.tar.gz |
Fixed some reported bugs
Diffstat (limited to 'sql-bench/test-select.sh')
-rwxr-xr-x | sql-bench/test-select.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql-bench/test-select.sh b/sql-bench/test-select.sh index 32059d6ac8a..ef76c027380 100755 --- a/sql-bench/test-select.sh +++ b/sql-bench/test-select.sh @@ -338,13 +338,14 @@ if ($limits->{'group_functions'}) $loop_time=new Benchmark; $rows=$estimated=$count=0; - for ($i=0 ; $i < $opt_medium_loop_count ; $i++) + $test_count=$opt_medium_loop_count/10; + for ($i=0 ; $i < $test_count ; $i++) { $count++; $rows+=fetch_all_rows($dbh,"select idn,count(distinct region) from bench1 group by idn"); $end_time=new Benchmark; last if ($estimated=predict_query_time($loop_time,$end_time,\$count,$i+1, - $opt_medium_loop_count)); + $test_count)); } print_time($estimated); print " for count_distinct_big ($count:$rows): " . |