summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-07-28 18:28:44 +0300
committerunknown <bell@sanja.is.com.ua>2003-07-28 18:28:44 +0300
commit37ddcebad2df1bad985a07274f20e1a878dbacbf (patch)
treece6e2213aa08303d0a6f26c6409d8b3a9c19e2e3 /sql/sql_cache.cc
parent329e063774537c14348a46c162afec79fc94d589 (diff)
downloadmariadb-git-37ddcebad2df1bad985a07274f20e1a878dbacbf.tar.gz
tabe & query hashes made case insensitive (BUG#933)
mysql-test/r/query_cache.result: fixed charecter sets new case sensetive test mysql-test/t/query_cache.test: fixed charecter sets new case sensetive test sql/sql_cache.cc: query & table comparision should be case insensitive
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index ac6471e794c..767a1a46dcc 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -1422,10 +1422,10 @@ ulong Query_cache::init_cache()
DUMP(this);
- VOID(hash_init(&queries,system_charset_info,def_query_hash_size, 0, 0,
+ VOID(hash_init(&queries, &my_charset_bin, def_query_hash_size, 0, 0,
query_cache_query_get_key, 0, 0));
#ifndef FN_NO_CASE_SENCE
- VOID(hash_init(&tables,system_charset_info,def_table_hash_size, 0, 0,
+ VOID(hash_init(&tables, &my_charset_bin, def_table_hash_size, 0, 0,
query_cache_table_get_key, 0, 0));
#else
// windows, OS/2 or other case insensitive file names work around