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

restore the condition in filename_to_tablename()

(broken in the revid:sergii@pisem.net-20130615170931-bn2h8j30vu5bfp0t)
This commit is contained in:
Sergei Golubchik
2013-11-04 13:40:20 +01:00
parent 79d2e6c82f
commit 032a61fc0a
2 changed files with 5 additions and 11 deletions

View File

@@ -123,11 +123,8 @@ enum enum_explain_filename_mode
/** Don't check foreign key constraints while renaming table */
#define NO_FK_CHECKS (1 << 4)
uint filename_to_tablename(const char *from, char *to, uint to_length
#ifndef DBUG_OFF
, bool stay_quiet = false
#endif /* DBUG_OFF */
);
uint filename_to_tablename(const char *from, char *to, uint to_length,
bool stay_quiet = false);
uint tablename_to_filename(const char *from, char *to, uint to_length);
uint check_n_cut_mysql50_prefix(const char *from, char *to, uint to_length);
bool check_mysql50_prefix(const char *name);