mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
Bug#20616: drop_temp_table test fails on Windows platform
This commit is contained in:
@@ -1614,10 +1614,6 @@ bool check_db_name(char *name)
|
||||
if (*name == '/' || *name == '\\' || *name == FN_LIBCHAR ||
|
||||
*name == FN_EXTCHAR)
|
||||
return 1;
|
||||
#ifdef FN_DEVCHAR
|
||||
if (*name == FN_DEVCHAR)
|
||||
return 1;
|
||||
#endif
|
||||
name++;
|
||||
}
|
||||
return last_char_is_space || (uint) (name - start) > NAME_LEN;
|
||||
@@ -1660,10 +1656,6 @@ bool check_table_name(const char *name, uint length)
|
||||
#endif
|
||||
if (*name == '/' || *name == '\\' || *name == FN_EXTCHAR)
|
||||
return 1;
|
||||
#ifdef FN_DEVCHAR
|
||||
if (*name == FN_DEVCHAR)
|
||||
return 1;
|
||||
#endif
|
||||
name++;
|
||||
}
|
||||
#if defined(USE_MB) && defined(USE_MB_IDENT)
|
||||
|
Reference in New Issue
Block a user