1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Portability fixes

libmysql/libmysql.c:
  Cleanup & portability fixes
This commit is contained in:
unknown
2001-09-15 16:22:34 +03:00
parent ef2e750842
commit 7dc2f1a69e
21 changed files with 103 additions and 105 deletions

View File

@@ -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