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

@bsrikanth-mariadb bsrikanth-mariadb commented Apr 3, 2026

An issue arises during optimizer context replay when the context
does not contain metadata for the seq table, which is used for data insertion.
The system generates a warning if any table or index required by the storage
engine is missing from the context. However, for INSERT statements,
this warning is promoted to an error, causing the operation to fail.

The solution is to discontinue the use of the replayed context after the
target query has been executed.

@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
An issue arises during optimizer context replay when the context
does not contain metadata for the seq table, which is used for data insertion.
The system generates a warning if any table or index required by the storage
engine is missing from the context. However, for INSERT statements,
this warning is promoted to an error, causing the operation to fail.

The solution is to discontinue the use of the replayed context after the
target query has been executed.
@bsrikanth-mariadb bsrikanth-mariadb force-pushed the 12.3-MDEV-39222-error-with-insert-into-from-seq branch from 9692a89 to 79bc8c6 Compare April 6, 2026 04:33
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