diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/table.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc index b81c9c2dcb6..7adf4f4831b 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -1135,7 +1135,10 @@ int TABLE_SHARE::init_from_binary_frm_image(THD *thd, bool write, if (se_plugin) { /* bad file, legacy_db_type did not match the name */ - goto err; + sql_print_warning("%s.frm is inconsistent: engine typecode %d, engine name %s (%d)", + share->normalized_path.str, legacy_db_type, + plugin_name(tmp_plugin)->str, + ha_legacy_type(plugin_data(tmp_plugin, handlerton *))); } /* tmp_plugin is locked with a local lock. |