summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index afeec26f034..5aa3967edb6 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -657,7 +657,7 @@ int ha_delete_table(enum db_type table_type, const char *path)
{
/* Ensure that table handler get path in lower case */
strmov(tmp_path, path);
- casedn_str(tmp_path);
+ my_casedn_str(system_charset_info, tmp_path);
path= tmp_path;
}
int error=file->delete_table(path);
@@ -1159,7 +1159,7 @@ int ha_create_table(const char *name, HA_CREATE_INFO *create_info,
{
/* Ensure that handler gets name in lower case */
strmov(name_buff, name);
- casedn_str(name_buff);
+ my_casedn_str(system_charset_info, name_buff);
name= name_buff;
}