summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 23:27:07 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 23:27:07 +0200
commit3ad01d00f2eaef56ed06041f7ac26328e998155b (patch)
tree5706c35dec4d795803c282e6a9c2feba566e0d6c /sql/sql_plugin.cc
parentffbd15eb3242ab9b003c025925a462b5bd24a761 (diff)
downloadmariadb-git-3ad01d00f2eaef56ed06041f7ac26328e998155b.tar.gz
error messages: name the storage engine explicitly,
instead of "used storage engine" and similar changes.
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r--sql/sql_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index d6a64b38446..2f9bcf92f6d 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -1764,7 +1764,7 @@ static void plugin_load(MEM_ROOT *tmp_root, int *argc, char **argv)
mysql_mutex_unlock(&LOCK_plugin);
}
if (error > 0)
- sql_print_error(ER(ER_GET_ERRNO), my_errno);
+ sql_print_error(ER(ER_GET_ERRNO), my_errno, table->file->table_type());
end_read_record(&read_record_info);
table->m_needs_reopen= TRUE; // Force close to free memory
close_mysql_tables(new_thd);