Skip to content

Flesh out testing for string primary key probes - #38092

Open
peterdukelarsen wants to merge 2 commits into
mainfrom
pl/mysql-key-probes-tests
Open

Flesh out testing for string primary key probes#38092
peterdukelarsen wants to merge 2 commits into
mainfrom
pl/mysql-key-probes-tests

Conversation

@peterdukelarsen

Copy link
Copy Markdown
Contributor

Motivation

Split out some testing from #38022 to keep that PR manageable.

Part of: SS-97

Description

Adds testing for more diverse character types, collations, and for asserting searches use the B-tree rather than scanning the full table.

Verification


Recreated from #38030 with an in-repo head branch so this PR can join the GitHub stack.

Restores the broader live test suite on top of the probe interface PR:
case-insensitive traversal, LIKE wildcard and metacharacter data,
multibyte and emoji keys, ULID and UUID primary keys, collation
behavior, stale table statistics, and sargability via Handler_read
session counters.
A latin1 table exercises the column-to-connection charset conversion,
including the exact-key step on a key that is one character but two
UTF-8 bytes. A binary key column pins the defensive behavior for
invalid UTF-8: decode failures read as "no next prefix" and end the
walk early instead of erroring. setup_table now derives the charset
from the collation name instead of hardcoding utf8mb4.
@peterdukelarsen
peterdukelarsen requested a review from a team as a code owner August 6, 2026 19:46
@linear-code

linear-code Bot commented Aug 6, 2026

Copy link
Copy Markdown

SS-97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant