Repository navigation
Name the upgrade step for MySQL schema 16 - #1226
Merged
Merged
Conversation
Native 3.10 and 3.11 MySQL databases are at schema 16, and 3.12 moves MySQL to 17. UPGRADABLE stopped at 15, so a 3.12 binary opened on a 3.11 MySQL database refused with unsupported_rust_schema instead of native_schema_upgrade_required, even though schema-upgrade handles 16 -> 17. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Found while preparing 3.12.0 (#1225). Native 3.10/3.11 MySQL databases are at schema 16; 3.12 moves MySQL to 17 (#1224).
UPGRADABLEstopped at 15, so starting a 3.12 binary on a 3.11 MySQL database would refuse withunsupported_rust_schemainstead ofnative_schema_upgrade_required. That tells the operator the database is unusable when it only needsschema-upgrade, which already handles 16 → 17.This PR adds 16 to
UPGRADABLE. The marker test now checks that every listed version, when below the current version, names the upgrade step, and asserts the MySQL 16 → 17 case explicitly. MariaDB (15 → 16), PostgreSQL (15 → 16) and SQLite (14 → 15) were already covered.🤖 Generated with Claude Code