summaryrefslogtreecommitdiff
path: root/sql-bench/test-select.sh
diff options
context:
space:
mode:
authorunknown <monty@tik.mysql.com>2000-10-27 17:17:19 +0300
committerunknown <monty@tik.mysql.com>2000-10-27 17:17:19 +0300
commitb9063ca90a211875e4d3ac5432fbe77af85bf64d (patch)
treebc62cfb64fc079eed8a16e30644546fdb2987bfa /sql-bench/test-select.sh
parent3ae05104d091659ab27cba9a67651756e62ac124 (diff)
downloadmariadb-git-b9063ca90a211875e4d3ac5432fbe77af85bf64d.tar.gz
Fixed bug with ORDER BY on BDB tables.
New benchmarks tests sql-bench/test-select.sh: Fixed row count bug
Diffstat (limited to 'sql-bench/test-select.sh')
-rwxr-xr-xsql-bench/test-select.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql-bench/test-select.sh b/sql-bench/test-select.sh
index 160a10a1c33..10b36e4be60 100755
--- a/sql-bench/test-select.sh
+++ b/sql-bench/test-select.sh
@@ -278,7 +278,7 @@ if ($limits->{'group_functions'})
$rows=0;
for ($i=0 ; $i < $opt_medium_loop_count ; $i++)
{
- fetch_all_rows($dbh,"select grp,count(*) from bench1 group by grp");
+ $rows+=fetch_all_rows($dbh,"select grp,count(*) from bench1 group by grp");
}
$end_time=new Benchmark;
print "Time for count_group_on_key_parts ($i:$rows): " .