mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Removing redundant tests for "SET (global|local|session).varname"
This is covered in mysql-test/t/variables.test. There is no sense to test this for every individual variables. This is to reduce the coming soon patch for ROW-type routine variables, which will change the error from ER_PARSE_ERROR to a new error "unknown structured variable".
This commit is contained in:
@ -82,8 +82,6 @@ SELECT @@relay_log_purge = @@global.relay_log_purge;
|
||||
'#---------------------FN_DYNVARS_141_08----------------------#'
|
||||
SET relay_log_purge = 1;
|
||||
ERROR HY000: Variable 'relay_log_purge' is a GLOBAL variable and should be set with SET GLOBAL
|
||||
SET global.relay_log_purge = 1;
|
||||
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'relay_log_purge = 1' at line 1
|
||||
SELECT global.relay_log_purge;
|
||||
ERROR 42S02: Unknown table 'global' in field list
|
||||
SELECT relay_log_purge = @@session.relay_log_purge;
|
||||
|
Reference in New Issue
Block a user