Skip to content

MDEV-40985 row_end access out of bounds in ALTER TABLE - #5622

Merged
dr-m merged 1 commit into
10.11from
MDEV-40985
Sep 1, 2026
Merged

MDEV-40985 row_end access out of bounds in ALTER TABLE#5622
dr-m merged 1 commit into
10.11from
MDEV-40985

Conversation

@dr-m

@dr-m dr-m commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

ha_innobase_inplace_ctx::create_key_defs(): In the assignment that had been introduced in e056efd (MDEV-25004), account for virtual columns. Until MDEV-22363 hopefully lands some day, InnoDB maintains two arrays of columns, which complicates the mapping between TABLE_SHARE::fields and dict_table_t::cols. This complication was not accounted for here.

@dr-m
dr-m requested a review from Thirunarayanan September 1, 2026 07:53
@dr-m dr-m self-assigned this Sep 1, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Comment thread storage/innobase/handler/handler0alter.cc
ha_innobase_inplace_ctx::create_key_defs():
In the assignment that had been introduced in
commit e056efd (MDEV-25004),
account for virtual columns. Until MDEV-22363 hopefully lands
some day, InnoDB maintains two arrays of columns, which
complicates the mapping between TABLE_SHARE::fields and
dict_table_t::cols. This complication was not accounted for here.

Reviewed by: Thirunarayanan Balathandayuthapani
@dr-m
dr-m merged commit 888f5d3 into 10.11 Sep 1, 2026
15 of 17 checks passed
@dr-m
dr-m deleted the MDEV-40985 branch September 1, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants