Skip to content

Fix #18204 - Remove getInnodbPluginVersion() and refactor getInnodbFileFormat() for MariaDB compatibility#20262

Open
gs71 wants to merge 10 commits intophpmyadmin:QA_5_2from
gs71:QA_5_2
Open

Fix #18204 - Remove getInnodbPluginVersion() and refactor getInnodbFileFormat() for MariaDB compatibility#20262
gs71 wants to merge 10 commits intophpmyadmin:QA_5_2from
gs71:QA_5_2

Conversation

@gs71
Copy link
Copy Markdown
Contributor

@gs71 gs71 commented Mar 31, 2026

Description

Starting from version 10.10 MariaDB removed the system variable 'innodb_version' (https://jira.mariadb.org/browse/MDEV-28554), so clicking on the 'Operations' link produces an error in the SQL errors log (if enabled):

ERROR 1193: Unknown system variable 'innodb_version' : SELECT @@innodb_version

Fixes #18204

Before submitting pull request, please review the following checklist:

  • Make sure you have read our CONTRIBUTING.md document.
  • Make sure you are making a pull request against the correct branch. For example, for bug fixes in a released version use the corresponding QA branch and for new features use the master branch. If you have a doubt, you can ask as a comment in the bug report or on the mailing list.
  • Every commit has proper Signed-off-by line as described in our DCO. This ensures that the work you're submitting is your own creation.
  • Every commit has a descriptive commit message.
  • Every commit is needed on its own, if you have just minor fixes to previous commits, you can squash them.
  • Any new functionality is covered by tests.

gs71 added 2 commits March 31, 2026 17:37
Simplified retrieval of InnoDB file format by removing unnecessary version check.

Signed-off-by: Guido Selva guido.selva@gmail.com
Removed the getInnodbPluginVersion method and updated the getInnodbFileFormat method to handle version checks for MariaDB and MySQL.

Signed-off-by: Guido Selva guido.selva@gmail.com
@codacy-production
Copy link
Copy Markdown

codacy-production bot commented Mar 31, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

gs71 added 8 commits March 31, 2026 19:02
Remove type hinting from getInnodbFileFormat method.

Signed-off-by: Guido Selva guido.selva@gmail.com
Signed-off-by: Guido Selva guido.selva@gmail.com
Removed test for getInnodbPluginVersion method.

Signed-off-by: Guido Selva guido.selva@gmail.com
Signed-off-by: Guido Selva guido.selva@gmail.com
Signed-off-by: Guido Selva guido.selva@gmail.com
Signed-off-by: Guido Selva guido.selva@gmail.com
Signed-off-by: Guido Selva guido.selva@gmail.com
Signed-off-by: Guido Selva guido.selva@gmail.com
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.

2 participants