Skip to content

Fix parsing of STORAGE ENGINE in partition definitions - #685

Open
M393 wants to merge 1 commit into
phpmyadmin:5.11.xfrom
M393:fix-partition-storage-engine
Open

M393 wants to merge 1 commit into
phpmyadmin:5.11.xfrom
M393:fix-partition-storage-engine

Conversation

@M393

@M393 M393 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

PartitionDefinition already lists STORAGE ENGINE as an option, but the lexer did not compose it into a single keyword. So STORAGE was taken as a new partition name, building e.g. PARTITION ENGINE, PARTITION InnoDB.

Add STORAGE ENGINE to the compound keywords and regenerate the contexts.

STORAGE ENGINE is only valid for partitions (and tablespaces), not as a table option, in all MySQL and MariaDB versions.

PartitionDefinition already lists STORAGE ENGINE as an option, but the
lexer did not compose it into a single keyword. So STORAGE was taken as
a new partition name, building e.g. `PARTITION ENGINE, PARTITION InnoDB`.

Add STORAGE ENGINE to the compound keywords and regenerate the contexts.

STORAGE ENGINE is only valid for partitions (and tablespaces), not as a
table option, in all MySQL and MariaDB versions.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Maximilian Krög <maximilian.kroeg@geocept.com>
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.50%. Comparing base (18d63ad) to head (0b553fb).

Additional details and impacted files
@@             Coverage Diff              @@
##             5.11.x     #685      +/-   ##
============================================
- Coverage     96.51%   96.50%   -0.01%     
+ Complexity     2352     2341      -11     
============================================
  Files            71       71              
  Lines          5187     5179       -8     
============================================
- Hits           5006     4998       -8     
  Misses          181      181              
Flag Coverage Δ
unit-7.2-ubuntu-latest ?
unit-7.3-ubuntu-latest 96.49% <ø> (ø)
unit-7.4-ubuntu-latest ?
unit-8.0-ubuntu-latest 96.49% <ø> (ø)
unit-8.1-ubuntu-latest 96.47% <ø> (ø)
unit-8.2-ubuntu-latest ?
unit-8.3-ubuntu-latest 96.43% <ø> (ø)
unit-8.4-ubuntu-latest ?
unit-8.5-ubuntu-latest 96.43% <ø> (ø)
unit-8.6-ubuntu-latest 96.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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