mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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)
This commit is contained in:
@ -5448,9 +5448,9 @@ ST_FIELD_INFO files_fields_info[]=
|
||||
{"FREE_EXTENTS", 4, MYSQL_TYPE_LONG, 0, 0, 0},
|
||||
{"TOTAL_EXTENTS", 4, MYSQL_TYPE_LONG, 0, 0, 0},
|
||||
{"EXTENT_SIZE", 4, MYSQL_TYPE_LONG, 0, 0, 0},
|
||||
{"INITIAL_SIZE", 8, MYSQL_TYPE_LONGLONG, 0, 0, 0},
|
||||
{"MAXIMUM_SIZE", 8, MYSQL_TYPE_LONGLONG, 0, 0, 0},
|
||||
{"AUTOEXTEND_SIZE", 8, MYSQL_TYPE_LONGLONG, 0, 0, 0},
|
||||
{"INITIAL_SIZE", 21, MYSQL_TYPE_LONG, 0, 0, 0},
|
||||
{"MAXIMUM_SIZE", 21, MYSQL_TYPE_LONG, 0, 0, 0},
|
||||
{"AUTOEXTEND_SIZE", 21, MYSQL_TYPE_LONG, 0, 0, 0},
|
||||
{"CREATION_TIME", 0, MYSQL_TYPE_TIMESTAMP, 0, 0, 0},
|
||||
{"LAST_UPDATE_TIME", 0, MYSQL_TYPE_TIMESTAMP, 0, 0, 0},
|
||||
{"LAST_ACCESS_TIME", 0, MYSQL_TYPE_TIMESTAMP, 0, 0, 0},
|
||||
|
Reference in New Issue
Block a user