mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
Portability fixes
libmysql/libmysql.c: Cleanup & portability fixes
This commit is contained in:
parent
ef2e750842
commit
7dc2f1a69e
21 changed files with 103 additions and 105 deletions
|
|
@ -241,7 +241,7 @@ static long mysql_rm_known_files(THD *thd, MY_DIR *dirp, const char *db,
|
|||
continue;
|
||||
}
|
||||
strxmov(filePath,org_path,"/",file->name,NullS);
|
||||
if (db && !strcasecmp(fn_ext(file->name), reg_ext))
|
||||
if (db && !my_strcasecmp(fn_ext(file->name), reg_ext))
|
||||
{
|
||||
/* Drop the table nicely */
|
||||
*fn_ext(file->name)=0; // Remove extension
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue