summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-10-21 23:56:12 +0300
committerbell@sanja.is.com.ua <>2004-10-21 23:56:12 +0300
commitded12c828ded747d2f76c97addb4b4a6677594fe (patch)
treeadba151b89c3f3b0d8b6812947bd34aa47f36a7d /sql/sql_cache.h
parentb32ffec8fdc9d05377e69c8b1abb92d562670324 (diff)
downloadmariadb-git-ded12c828ded747d2f76c97addb4b4a6677594fe.tar.gz
Check of temporary tables hiding for query fetched from QC (BUG#6084)
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r--sql/sql_cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_cache.h b/sql/sql_cache.h
index 0c6579250ab..454f0318c12 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -144,10 +144,13 @@ struct Query_cache_query
struct Query_cache_table
{
char *tbl;
+ uint32 key_length;
inline char *db() { return (char *) data(); }
inline char *table() { return tbl; }
inline void table(char *table) { tbl = table; }
+ inline uint32 key_len() { return key_length; }
+ inline void key_len(uint32 len) { key_length= len; }
inline gptr data()
{
return (gptr)(((byte*)this)+