mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Change dbug.h -> my_dbug.h (Portability fix)
Ensure that \ is not allowed in filenames, even on Unix
This commit is contained in:
@ -1180,7 +1180,7 @@ bool check_table_name(const char *name, uint length)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (*name == '/' || *name == FN_LIBCHAR || *name == FN_EXTCHAR)
|
||||
if (*name == '/' || *name == '\\' || *name == FN_EXTCHAR)
|
||||
return 1;
|
||||
name++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user