summaryrefslogtreecommitdiff
path: root/innobase/include/row0sel.h
diff options
context:
space:
mode:
Diffstat (limited to 'innobase/include/row0sel.h')
-rw-r--r--innobase/include/row0sel.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/innobase/include/row0sel.h b/innobase/include/row0sel.h
index a64d3f8e425..aa2da6fe5f6 100644
--- a/innobase/include/row0sel.h
+++ b/innobase/include/row0sel.h
@@ -133,6 +133,18 @@ row_search_for_mysql(
then prebuilt must have a pcur
with stored position! In opening of a
cursor 'direction' should be 0. */
+/***********************************************************************
+Checks if MySQL at the moment is allowed for this table to retrieve a
+consistent read result, or store it to the query cache. */
+
+ibool
+row_search_check_if_query_cache_permitted(
+/*======================================*/
+ /* out: TRUE if storing or retrieving from
+ the query cache is permitted */
+ trx_t* trx, /* in: transaction object */
+ char* norm_name); /* in: concatenation of database name, '/'
+ char, table name */
/* A structure for caching column values for prefetched rows */