summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2009-11-06 18:28:25 +0300
committerAlexander Nozdrin <alik@sun.com>2009-11-06 18:28:25 +0300
commitdb6334d49e4e3036f27b1b09ce0d6b779430199a (patch)
tree894961090682e834a390c1897a2aa0d5b5a58a9a /sql/sql_cache.cc
parent9c61ec687f093766319b64c760a099d6a61587fd (diff)
parent3cf634553518bcabcd6f561bc8c0cfe509216c21 (diff)
downloadmariadb-git-db6334d49e4e3036f27b1b09ce0d6b779430199a.tar.gz
Auto-merge from mysql-trunk-merge.
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 8f806679102..35d2c886119 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -1652,13 +1652,13 @@ def_week_frmt: %lu, in_trans: %d, autocommit: %d",
thd->stmt_da->disable_status();
BLOCK_UNLOCK_RD(query_block);
- MYSQL_QUERY_CACHE_HIT(thd->query, (ulong) thd->limit_found_rows);
+ MYSQL_QUERY_CACHE_HIT(thd->query(), (ulong) thd->limit_found_rows);
DBUG_RETURN(1); // Result sent to client
err_unlock:
unlock();
err:
- MYSQL_QUERY_CACHE_MISS(thd->query);
+ MYSQL_QUERY_CACHE_MISS(thd->query());
DBUG_RETURN(0); // Query was not cached
}