1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

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

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.
This commit is contained in:
Daniel Black
2026-08-13 16:48:08 +10:00
parent 970492062d
commit 77c8f79161
2 changed files with 4 additions and 4 deletions

View File

@@ -132,9 +132,9 @@ drop table t2;
select "yes" from information_schema.tables where engine="innodb" limit 1;
yes
yes
select plugin_status from information_schema.all_plugins where plugin_name = "innodb";
plugin_status
DISABLED
select SUPPORT from information_schema.engines where ENGINE='InnoDB';
SUPPORT
NO
select * from information_schema.periods;
TABLE_CATALOG TABLE_SCHEMA TABLE_NAME PERIOD START_COLUMN_NAME END_COLUMN_NAME
select * from information_schema.key_period_usage;

View File

@@ -113,7 +113,7 @@ drop table t2;
--echo # Make sure innodb id disabled, but there's at least one innodb table
--disable_warnings
select "yes" from information_schema.tables where engine="innodb" limit 1;
select plugin_status from information_schema.all_plugins where plugin_name = "innodb";
select SUPPORT from information_schema.engines where ENGINE='InnoDB';
select * from information_schema.periods;
select * from information_schema.key_period_usage;
--enable_warnings