diff options
author | monty@hundin.mysql.fi <> | 2001-12-06 01:05:30 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-12-06 01:05:30 +0200 |
commit | 4c17825acd56ccbbf7e6649e7ebe98c34f992c84 (patch) | |
tree | b6eaff9c9c574324b7a2aae18f5de2e52f89576c /sql-bench/test-select.sh | |
parent | 40da50460543ee76d70b727506bf0676be9bcd52 (diff) | |
download | mariadb-git-4c17825acd56ccbbf7e6649e7ebe98c34f992c84.tar.gz |
Update of query cache code
Diffstat (limited to 'sql-bench/test-select.sh')
-rw-r--r-- | sql-bench/test-select.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql-bench/test-select.sh b/sql-bench/test-select.sh index 62e978a945f..a5ae1da7283 100644 --- a/sql-bench/test-select.sh +++ b/sql-bench/test-select.sh @@ -156,7 +156,7 @@ if ($limits->{'group_functions'}) fetch_all_rows($dbh,"select sum(idn+100),sum(rev_idn-100) from bench1"); } $end_time=new Benchmark; - print "Time for select_query_cache ($opt_loop_count): " . + print "Time for select_cache ($opt_loop_count): " . timestr(timediff($end_time, $loop_time),"all") . "\n\n"; # If the database has a query cache, the following loop should be much @@ -168,7 +168,7 @@ if ($limits->{'group_functions'}) fetch_all_rows($dbh,"select sum(idn+$tests),sum(rev_idn-$tests) from bench1"); } $end_time=new Benchmark; - print "Time for select_query_cache2 ($opt_loop_count): " . + print "Time for select_cache2 ($opt_loop_count): " . timestr(timediff($end_time, $loop_time),"all") . "\n\n"; } |