Skip to content

MDEV-39222: Error when inserting data from seq#4897

Open
bsrikanth-mariadb wants to merge 1 commit intobb-12.3-MDEV-38805-dev-sprint-work-2from
12.3-MDEV-39222-error-with-insert-into-from-seq
Open

MDEV-39222: Error when inserting data from seq#4897
bsrikanth-mariadb wants to merge 1 commit intobb-12.3-MDEV-38805-dev-sprint-work-2from
12.3-MDEV-39222-error-with-insert-into-from-seq

Conversation

@bsrikanth-mariadb
Copy link
Copy Markdown
Contributor

When the replayed optimizer context doesn't contain seq table info, which is used to insert data into a new/existing table, errors are displayed. This is happening because, if any table or index that is used by the engine is not available in the context, then a warning is generated. However, this warning is converted to an error message for insert into statements.

Solution here is not to continue using the replayed context after the required query has been replayed.

When the replayed optimizer context doesn't contain seq table info,
which is used to insert data into a new/existing table, errors are displayed.
This is happening because, if any table or index that is used by the
engine is not available in the context, then a warning is generated.
However, this warning is converted to an error message for insert into
statements.

Solution here is not to continue using the replayed context after the
required query has been replayed.
@bsrikanth-mariadb bsrikanth-mariadb force-pushed the 12.3-MDEV-39222-error-with-insert-into-from-seq branch from 57a172f to 9692a89 Compare April 3, 2026 16:10
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.

1 participant