diff options
author | Vasil Dimov <vasil.dimov@oracle.com> | 2010-11-22 16:08:51 +0200 |
---|---|---|
committer | Vasil Dimov <vasil.dimov@oracle.com> | 2010-11-22 16:08:51 +0200 |
commit | d5787a3c59694c36098690cbbe14e874d7ab3e67 (patch) | |
tree | cbd8a037595b299deb954eb81cddc98c278a382a /sql/sql_table.h | |
parent | 250d851129f8429a303faeb307fb09cd68c84cea (diff) | |
download | mariadb-git-d5787a3c59694c36098690cbbe14e874d7ab3e67.tar.gz |
Fix Bug#57739 Scary messages in error log
Silence a warning about old table name when InnoDB tests whether the
format has changed using a nonexistent table name.
Reviewed by: bar@mysql.com, marko.makela@oracle.com
Diffstat (limited to 'sql/sql_table.h')
-rw-r--r-- | sql/sql_table.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/sql_table.h b/sql/sql_table.h index aa5738fd4c9..2924301e6b3 100644 --- a/sql/sql_table.h +++ b/sql/sql_table.h @@ -123,7 +123,11 @@ enum enum_explain_filename_mode #define NO_FRM_RENAME (1 << 2) #define FRM_ONLY (1 << 3) -uint filename_to_tablename(const char *from, char *to, uint to_length); +uint filename_to_tablename(const char *from, char *to, uint to_length +#ifndef DBUG_OFF + , bool stay_quiet = false +#endif /* DBUG_OFF */ + ); 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); |