mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Fixed compilation error
ensure check_if_legal_table_name is also defined on unix
This commit is contained in:
parent
55668cb435
commit
c44eff55ba
1 changed files with 10 additions and 1 deletions
|
@ -156,6 +156,14 @@ int check_if_legal_tablename(const char *name)
|
|||
str_list_find(&reserved_names[1], name));
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
int check_if_legal_tablename(const char *name)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* defined(MSDOS) || defined(__WIN__) */
|
||||
|
||||
#if defined(MSDOS) || defined(__WIN__) || defined(__EMX__)
|
||||
|
||||
|
@ -199,4 +207,5 @@ int check_if_legal_filename(const char *path)
|
|||
}
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* defined(MSDOS) || defined(__WIN__) || defined(__EMX__) */
|
||||
|
|
Loading…
Add table
Reference in a new issue