diff options
author | unknown <monty@hundin.mysql.fi> | 2001-12-06 01:05:30 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-12-06 01:05:30 +0200 |
commit | ff8c7348648b2a2e1ce14d8332c065a38a43ca0c (patch) | |
tree | b6eaff9c9c574324b7a2aae18f5de2e52f89576c /sql-bench/test-select.sh | |
parent | 84788e278f97ccabe0cfe6d5b6cfcdbe1fe86c59 (diff) | |
download | mariadb-git-ff8c7348648b2a2e1ce14d8332c065a38a43ca0c.tar.gz |
Update of query cache code
Docs/manual.texi:
Added information about RESET
sql/mysql_priv.h:
Fixed wrong type
sql/sql_base.cc:
Removed wrong info in DBUG output
sql/sql_class.cc:
cleanup
sql/sql_parse.cc:
Fixed wrong type
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"; } |