summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorKonstantin Osipov <kostja@sun.com>2009-10-16 15:39:57 +0400
committerKonstantin Osipov <kostja@sun.com>2009-10-16 15:39:57 +0400
commit38b403bae322fee3dadedb1cffaff13e6c1e724c (patch)
tree8e4590209641c5204ba21a89b6c0e78d9cdce407 /sql/sql_cache.cc
parent3b3955be5a810b05cec3fc63ddcd41a55913067b (diff)
downloadmariadb-git-38b403bae322fee3dadedb1cffaff13e6c1e724c.tar.gz
Fix a windows build failure (next-mr-runtime).
sql/sql_cache.cc: Use my_hash_init() on Windows as well. sql/sql_class.h: Use struct Query_cache_block (not class) for forward declaration, realing the code to match 6.0 alignment.
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 1252d32ef99..fc853af65a8 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -2114,10 +2114,10 @@ ulong Query_cache::init_cache()
file system) and so should use case insensitive collation for
comparison.
*/
- VOID(hash_init(&tables,
- lower_case_table_names ? &my_charset_bin :
- files_charset_info,
- def_table_hash_size, 0, 0,query_cache_table_get_key, 0, 0));
+ VOID(my_hash_init(&tables,
+ lower_case_table_names ? &my_charset_bin :
+ files_charset_info,
+ def_table_hash_size, 0, 0,query_cache_table_get_key, 0, 0));
#endif
queries_in_cache = 0;