diff options
| author | Alexander Nozdrin <alik@sun.com> | 2009-11-05 17:51:00 +0300 |
|---|---|---|
| committer | Alexander Nozdrin <alik@sun.com> | 2009-11-05 17:51:00 +0300 |
| commit | 3cf634553518bcabcd6f561bc8c0cfe509216c21 (patch) | |
| tree | 66fdd703f7b1920dc0393b84b8a70c46922bc43a /sql/sql_cache.cc | |
| parent | cbe94583c2a02560a9ee38bf47af28a0ae1322f2 (diff) | |
| download | mariadb-git-3cf634553518bcabcd6f561bc8c0cfe509216c21.tar.gz | |
Fix automerge: use 'thd->query()' instead of 'thd->query'.
Diffstat (limited to 'sql/sql_cache.cc')
| -rw-r--r-- | sql/sql_cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc index 0bb255ee123..7190c63d057 100644 --- a/sql/sql_cache.cc +++ b/sql/sql_cache.cc @@ -1630,13 +1630,13 @@ def_week_frmt: %lu, in_trans: %d, autocommit: %d", thd->main_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 } |
