summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authorunknown <bar@gw.udmsearch.izhnet.ru>2002-03-14 21:44:42 +0400
committerunknown <bar@gw.udmsearch.izhnet.ru>2002-03-14 21:44:42 +0400
commit8959b690fe796a44ddda440290b3fe9a9cf89ca5 (patch)
treed80812bbab290e762f4a058cded480022c09d0f3 /sql/table.cc
parentee1ef8c58c9df9a62f7a0cc3dee6c2f705c8eb44 (diff)
downloadmariadb-git-8959b690fe796a44ddda440290b3fe9a9cf89ca5.tar.gz
Hash now supports several charsets
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 2fa5d41f1ba..eeda172c65d 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -319,6 +319,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
use_hash= outparam->fields >= MAX_FIELDS_BEFORE_HASH;
if (use_hash)
use_hash= !hash_init(&outparam->name_hash,
+ system_charset_info,
outparam->fields,0,0,
(hash_get_key) get_field_name,0,
HASH_CASE_INSENSITIVE);