summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-03-04 18:32:55 +0200
committerunknown <bell@sanja.is.com.ua>2004-03-04 18:32:55 +0200
commit8ea9621c5ad6af7ed890475000c07cef3ce7accf (patch)
treef122123efc8dd764d21d073a89045021aecd2992 /sql/sql_cache.h
parent1471b9fcfdfffb1f791a4f7e974be1739abc25d6 (diff)
downloadmariadb-git-8ea9621c5ad6af7ed890475000c07cef3ce7accf.tar.gz
invalidation of locking for write tables (BUG#2693)
fixed linking query_prealloc_size to query cache presence mysql-test/r/query_cache.result: test of QC invalidation by LOCK command mysql-test/t/query_cache.test: test of QC invalidation by LOCK command sql/mysqld.cc: new variable query_cache_wlock_invalidate fixed query_prealloc_size with QC absence sql/set_var.cc: new variable query_cache_wlock_invalidate sql/sql_cache.cc: new method for table invalidation sql/sql_cache.h: new method for table invalidation sql/sql_class.h: new variable query_cache_wlock_invalidate sql/sql_parse.cc: layout fixed
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r--sql/sql_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_cache.h b/sql/sql_cache.h
index 74b1a6cee96..0c6579250ab 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -360,6 +360,7 @@ protected:
void invalidate(THD* thd, TABLE_LIST *tables_used,
my_bool using_transactions);
void invalidate(CHANGED_TABLE_LIST *tables_used);
+ void invalidate_locked_for_write(TABLE_LIST *tables_used);
void invalidate(THD* thd, TABLE *table, my_bool using_transactions);
void invalidate(THD *thd, const char *key, uint32 key_length,
my_bool using_transactions);