mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
aliases should be compared with my_strcasecmp (BUG#3251)
some db comparison code cleupup removed compiler warnings
This commit is contained in:
@ -504,7 +504,8 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
|
||||
found_other_files++;
|
||||
continue;
|
||||
}
|
||||
if (db && !my_strcasecmp(&my_charset_latin1,
|
||||
// just for safety we use files_charset_info
|
||||
if (db && !my_strcasecmp(files_charset_info,
|
||||
extension, reg_ext))
|
||||
{
|
||||
/* Drop the table nicely */
|
||||
|
Reference in New Issue
Block a user