mysql-server/mysql-test/t/conflicting_variables_plugin.test
2025-03-05 14:31:37 +07:00

14 lines
470 B
Text

--source include/have_conflicting_variables_plugin.inc
CALL mtr.add_suppression('\\[ERROR] \\[MY-\\d+] \\[Server] Duplicate variable name ''sql_mode''\.');
CALL mtr.add_suppression('\\[ERROR] \\[MY-\\d+] \\[Server] Plugin ''sql'' has conflicting system variables');
--replace_regex /\.dll/.so/
eval INSTALL PLUGIN `sql` SONAME '$CONFLICTING_VARIABLES';
SHOW VARIABLES LIKE 'sql_mode%';
UNINSTALL PLUGIN `sql`;
--error ER_UNKNOWN_SYSTEM_VARIABLE
SELECT @@sql_mode2;