mirror of
https://github.com/MariaDB/server.git
synced 2026-05-09 08:34:28 +02:00
Bug#54009: Server crashes when data is selected from non backed up table
for InnoDB plugin dict_load_table(): Pass the correct tablespace flags to fil_open_single_table_tablespace(). For ROW_FORMAT=COMPACT and REDUNDANT, the tablespace flags are 0. The table flags would be 0 or DICT_TF_COMPACT.
This commit is contained in:
parent
55acf60c93
commit
627c14d9e8
1 changed files with 1 additions and 0 deletions
|
|
@ -973,6 +973,7 @@ err_exit:
|
|||
/* Try to open the tablespace */
|
||||
if (!fil_open_single_table_tablespace(
|
||||
TRUE, space,
|
||||
flags == DICT_TF_COMPACT ? 0 :
|
||||
flags & ~(~0 << DICT_TF_BITS), name)) {
|
||||
/* We failed to find a sensible
|
||||
tablespace file */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue