mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge 10.3 into 10.4
This commit is contained in:
commit
8b480df63e
45 changed files with 337 additions and 337 deletions
|
|
@ -4169,7 +4169,8 @@ innobase_build_col_map(
|
|||
>= altered_table->s->fields + DATA_N_SYS_COLS);
|
||||
DBUG_ASSERT(dict_table_get_n_cols(old_table)
|
||||
+ dict_table_get_n_v_cols(old_table)
|
||||
>= table->s->fields + DATA_N_SYS_COLS);
|
||||
>= table->s->fields + DATA_N_SYS_COLS
|
||||
|| ha_innobase::omits_virtual_cols(*table->s));
|
||||
DBUG_ASSERT(!!defaults == !!(ha_alter_info->handler_flags
|
||||
& INNOBASE_DEFAULTS));
|
||||
DBUG_ASSERT(!defaults || dtuple_get_n_fields(defaults)
|
||||
|
|
@ -5750,7 +5751,9 @@ add_all_virtual:
|
|||
} else if (page_rec_is_supremum(rec)) {
|
||||
empty_table:
|
||||
/* The table is empty. */
|
||||
ut_ad(page_is_root(block->frame));
|
||||
ut_ad(fil_page_index_page_check(block->frame));
|
||||
ut_ad(!page_has_siblings(block->frame));
|
||||
ut_ad(block->page.id.page_no() == index->page);
|
||||
/* MDEV-17383: free metadata BLOBs! */
|
||||
btr_page_empty(block, NULL, index, 0, &mtr);
|
||||
index->clear_instant_alter();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue