Skip to content

MDEV-39252 Add REMOVED_STARTUP_OPTIONS in INFORMATION_SCHEMA listing#4900

Open
lefred wants to merge 1 commit intoMariaDB:mainfrom
lefred:MDEV-39252
Open

MDEV-39252 Add REMOVED_STARTUP_OPTIONS in INFORMATION_SCHEMA listing#4900
lefred wants to merge 1 commit intoMariaDB:mainfrom
lefred:MDEV-39252

Conversation

@lefred
Copy link
Copy Markdown

@lefred lefred commented Apr 4, 2026

This patch creates an INFORMATION_SCHEMA table with all the options that are considered as removed but ignored (MARIADB_REMOVED_OPTION):

MariaDB [information_schema]> SELECT * FROM INFORMATION_SCHEMA.REMOVED_STARTUP_OPTIONS;
+---------------------------+--------------+--------------+-------------------------------+----------+
| OPTION_NAME               | OPTION_VALUE | SOURCE       | CONFIG_FILE                   | HANDLING |
+---------------------------+--------------+--------------+-------------------------------+----------+
| innodb-log-files-in-group | 2            | CONFIG       | /dev/shm/var_auto_3zrj/my.cnf | IGNORED  |
| innodb-thread-concurrency | 8            | COMMAND_LINE | NULL                          | IGNORED  |
+---------------------------+--------------+--------------+-------------------------------+----------+
2 rows in set (0.001 sec)

The MTR test must be executed with --nowarning.

MTR output:

==============================================================================

TEST                                      RESULT   TIME (ms) or COMMENT
--------------------------------------------------------------------------

worker[01] Using MTR_BUILD_THREAD 300, with reserved ports 19000..19029
sys_vars.removed_options                 [ pass ]      1
--------------------------------------------------------------------------
The servers were restarted 0 times
Spent 0.001 of 14 seconds executing testcases

Completed: All 1 tests were successful.

all enventual variables that have been set but are removed and ignored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant