1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix automerge: use 'thd->query()' instead of 'thd->query'.

This commit is contained in:
Alexander Nozdrin
2009-11-05 17:51:00 +03:00
parent 45c2de8ffd
commit 120425ccfd
6 changed files with 15 additions and 15 deletions

View File

@ -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
}