summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.(none)>2007-07-16 22:34:36 +0400
committerunknown <kostja@bodhi.(none)>2007-07-16 22:34:36 +0400
commitb6c0fb605d613df14405e1d7c5621d22b35bc4fe (patch)
tree43232dd4626ea6056536d3070b8d15daece08763 /sql/sql_cache.h
parent146b0e14753c3e19451b04065b6d0f29d5a9a069 (diff)
downloadmariadb-git-b6c0fb605d613df14405e1d7c5621d22b35bc4fe.tar.gz
Fix ndb_cache* test failures in the -runtime tree.
Do not try to acquire structure_guard_mutex for the second time when invalidating a table from send_result_to_client. sql/sql_cache.cc: Do not try to acquire mutex when invalidating a table from send_result_to_client(). A follow up patch for the patch for Bug#21074. Reuse code by moving locking-independent invalidation functionality into invalidate_table_internal. sql/sql_cache.h: Add a new declaration.
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 cfc52e5d33a..c4c7e1dbc5e 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -279,6 +279,7 @@ private:
Cache_status m_cache_status;
void free_query_internal(Query_cache_block *point);
+ void invalidate_table_internal(THD *thd, uchar *key, uint32 key_length);
protected:
/*