summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/hfmain.(none) <>2007-06-01 19:44:09 +0500
committerholyfoot/hf@mysql.com/hfmain.(none) <>2007-06-01 19:44:09 +0500
commitc17b48fb7bfdf5a7d8de2a3508350b792228da47 (patch)
treef31d196dbd90039c113adfdcfc9a40df3307e6c1 /sql/table.h
parentc65b50378a2cbb7b1a6429ba0d97db8c1137d7aa (diff)
downloadmariadb-git-c17b48fb7bfdf5a7d8de2a3508350b792228da47.tar.gz
Bug #28477 innodb assertion and crash during alter table to add/drop partition.
The bug was repeated on MyISAM tables, so isn't InnoDB specific. Reason of the bug is that partition-related members of TABLE_SHARE wasn't properly updated after ALTER command. So if other thread doesn't reread frm file, and just uses cached SHARE, it uses wrong data
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index 99fbf57bb52..6aa9eb8e3c6 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -243,6 +243,7 @@ typedef struct st_table_share
bool auto_partitioned;
const char *partition_info;
uint partition_info_len;
+ uint partition_info_buffer_size;
const char *part_state;
uint part_state_len;
handlerton *default_part_db_type;