summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r--sql/sql_plugin.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index 01faae22c57..b5050204761 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -758,6 +758,7 @@ void plugin_load(void)
}
table= tables.table;
init_read_record(&read_record_info, new_thd, table, NULL, 1, 0);
+ table->use_all_columns();
while (!(error= read_record_info.read_record(&read_record_info)))
{
DBUG_PRINT("info", ("init plugin record"));
@@ -897,8 +898,8 @@ my_bool mysql_uninstall_plugin(THD *thd, LEX_STRING *name)
else
plugin->state= PLUGIN_IS_DELETED;
+ table->use_all_columns();
table->field[0]->store(name->str, name->length, system_charset_info);
- table->file->extra(HA_EXTRA_RETRIEVE_ALL_COLS);
if (! table->file->index_read_idx(table->record[0], 0,
(byte *)table->field[0]->ptr,
table->key_info[0].key_length,