Skip to content

Do not dump stats for read only engines' tables. - #5508

Merged
bsrikanth-mariadb merged 1 commit into
bb-12.3-MDEV-39368-test-replay-preview-treefrom
bb-13.2-do-not-dump-stats-for-read-only-engine-tables
Aug 7, 2026
Merged

Do not dump stats for read only engines' tables.#5508
bsrikanth-mariadb merged 1 commit into
bb-12.3-MDEV-39368-test-replay-preview-treefrom
bb-13.2-do-not-dump-stats-for-read-only-engine-tables

Conversation

@bsrikanth-mariadb

@bsrikanth-mariadb bsrikanth-mariadb commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Stats for tables from engines such as Archive, S3, PerfSchema, and
Sequence shouldn't be recorded in the context. Similarly, const row
records should also not be stored in the context.

Added few tests for Sequence's engine tables like seq_1_to_5.

@spetrunia spetrunia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also mention in the comment that we should not save or try to restore const rows.
Ok to push after that.

Stats for tables from engines such as Archive, S3, PerfSchema, and
Sequence shouldn't be recorded in the context. Similarly, const row
records should also not be stored in the context.

Added few tests for Sequence's engine tables like seq_1_to_5.
@bsrikanth-mariadb
bsrikanth-mariadb force-pushed the bb-13.2-do-not-dump-stats-for-read-only-engine-tables branch from b71c995 to 2a27240 Compare August 7, 2026 08:40
@bsrikanth-mariadb
bsrikanth-mariadb merged commit 2a27240 into bb-12.3-MDEV-39368-test-replay-preview-tree Aug 7, 2026
13 of 20 checks passed
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.

2 participants