Skip to content

MDEV-40749 period.create test leaks/faults in asan - #5545

Merged
grooverdan merged 1 commit into
MariaDB:11.4from
grooverdan:MDEV-40749
Aug 13, 2026
Merged

MDEV-40749 period.create test leaks/faults in asan#5545
grooverdan merged 1 commit into
MariaDB:11.4from
grooverdan:MDEV-40749

Conversation

@grooverdan

Copy link
Copy Markdown
Member

Selecting from the information_schema.plugins causes the loading of all plugins. Because rockdb leaks, and duckdb triggers an address sanitizer warning on shutdown avoid this table.

Use the information_schema.ENGINES to validate that InnoDB is disabled per the original request in the review of MDEV-32205.

Selecting from the information_schema.plugins causes the loading
of all plugins. Because rockdb leaks, and duckdb triggers an
address sanitizer warning on shutdown avoid this table.

Use the information_schema.ENGINES to validate that InnoDB is
disabled per the original request in the review of MDEV-32205.
@grooverdan
grooverdan requested a review from FooBarrior August 13, 2026 06:55
@gkodinov gkodinov added the MariaDB Foundation Pull requests created by MariaDB Foundation label Aug 13, 2026
@vuvova
vuvova requested a lite review from Copilot August 13, 2026 12:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the period.create MTR test to avoid querying information_schema.all_plugins, which can force loading all plugins and trigger ASAN-relevant leaks/warnings (e.g., RockDB leak, DuckDB shutdown warning). It instead validates the “InnoDB disabled” condition via information_schema.ENGINES, aligning with the intent from the earlier MDEV-32205 review context.

Changes:

  • Replace information_schema.all_plugins query with information_schema.engines to check InnoDB support state.
  • Update the expected .result output accordingly.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
mysql-test/suite/period/t/create.test Switches the InnoDB-disabled verification query to information_schema.ENGINES to avoid loading all plugins.
mysql-test/suite/period/r/create.result Updates expected output for the new ENGINES.SUPPORT query.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@@ -113,7 +113,7 @@ drop table t2;
--echo # Make sure innodb id disabled, but there's at least one innodb table
@grooverdan
grooverdan merged commit 77c8f79 into MariaDB:11.4 Aug 13, 2026
18 checks passed
@grooverdan
grooverdan deleted the MDEV-40749 branch August 13, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Foundation Pull requests created by MariaDB Foundation

Development

Successfully merging this pull request may close these issues.

4 participants