Commit 7af1f5e0 authored by monty@mysql.com's avatar monty@mysql.com

Fixed compilation error

ensure check_if_legal_table_name is also defined on unix
parent feca8604
......@@ -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__) */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment