summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
authorunknown <msvensson@mysql.com>2006-06-06 14:48:15 +0300
committerunknown <msvensson@mysql.com>2006-06-06 14:48:15 +0300
commitfffe52346fc2902cb6fd772fc866987993fb2bae (patch)
tree749be173e028124c233d721423b7612d487ff510 /sql/sql_plugin.cc
parent60a569bdca092ac957fccfbdb32dbfbf1a991485 (diff)
downloadmariadb-git-fffe52346fc2902cb6fd772fc866987993fb2bae.tar.gz
Re-apply missing changesets in 5.1
BUG#19544 mysqldump does not backup TS and LG information correctly. Problem was the type of the column was varchar(8) not an integer type. So mysqld was outputting a string representation of the number in scientific notation, which wasn't exact. Now we do it as a bigint and output the number in bytes. Fix assertion when loading plugins due to handler changes sql/sql_base.cc: manual merge (comment by igor) sql/sql_plugin.cc: Fix assertion when loading plugins due to handler changes (By jimw) sql/sql_show.cc: Correct type of I_S.FILES table columns: INITIAL_SIZE, MAXIMUM_SIZE and AUTOEXTEND_SIZE so that they really are bigint and not varchar. (By stewart)
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r--sql/sql_plugin.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index f4bd65c20de..c15b484f448 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -843,6 +843,7 @@ my_bool mysql_install_plugin(THD *thd, LEX_STRING *name, LEX_STRING *dl)
tmp->state= PLUGIN_IS_READY;
+ table->use_all_columns();
restore_record(table, s->default_values);
table->field[0]->store(name->str, name->length, system_charset_info);
table->field[1]->store(dl->str, dl->length, files_charset_info);