mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +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:
@ -56,9 +56,6 @@ SELECT lc_time_names;
|
||||
# assign value without @@
|
||||
SET lc_time_names=ar_AE;
|
||||
SELECT @@session.lc_time_names;
|
||||
# assign global variable without @@
|
||||
--Error ER_PARSE_ERROR
|
||||
SET global.lc_time_names=ar_AE;
|
||||
# using another syntax for accessing session variable
|
||||
SET session lc_time_names=ar_AE;
|
||||
# accessing variable with scope the wrong way
|
||||
|
Reference in New Issue
Block a user