diff options
author | monty@mysql.com <> | 2004-02-16 10:03:25 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-02-16 10:03:25 +0200 |
commit | f43093ec0e1ca391f0cdde589418d19c4b82241a (patch) | |
tree | 44dc172194086edaeef7da9c9ed059171579a886 /sql/sql_table.cc | |
parent | ce145789092b294a562f565671478ae2bf51d14a (diff) | |
download | mariadb-git-f43093ec0e1ca391f0cdde589418d19c4b82241a.tar.gz |
After merge fixes
Added more DBUG statements
Ensure that we are comparing end space with BINARY strings
Use 'any_db' instead of '' to mean any database. (For HANDLER command)
Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 922775083d5..12494703419 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -1152,11 +1152,11 @@ mysql_rename_table(enum db_type base, { /* Table handler expects to get all file names as lower case */ strmov(tmp_from, old_name); - casedn_str(tmp_from); + my_casedn_str(system_charset_info, tmp_from); old_name= tmp_from; strmov(tmp_to, new_name); - casedn_str(tmp_to); + my_casedn_str(system_charset_info, tmp_to); new_name= tmp_to; } (void) sprintf(from,"%s/%s/%s",mysql_data_home,old_db,old_name); |