mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -132,10 +132,6 @@ SELECT @@global.old_mode;
|
||||
|
||||
'#---------------------FN_DYNVARS_152_09----------------------#'
|
||||
SET old_mode = 'NO_PROGRESS_INFO';
|
||||
SET session.old_mode = 'ANSI';
|
||||
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 'old_mode = 'ANSI'' at line 1
|
||||
SET global.old_mode = 'ANSI';
|
||||
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 'old_mode = 'ANSI'' at line 1
|
||||
SET session old_mode = 1;
|
||||
SELECT @@old_mode;
|
||||
@@old_mode
|
||||
|
Reference in New Issue
Block a user