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:
@ -141,12 +141,8 @@ SELECT @@delayed_insert_limit = @@global.delayed_insert_limit;
|
||||
--Error ER_GLOBAL_VARIABLE
|
||||
SET delayed_insert_limit = 1;
|
||||
SELECT @@delayed_insert_limit;
|
||||
--Error ER_PARSE_ERROR
|
||||
SET local.delayed_insert_limit = 1;
|
||||
--Error ER_UNKNOWN_TABLE
|
||||
SELECT local.delayed_insert_limit;
|
||||
--Error ER_PARSE_ERROR
|
||||
SET global.delayed_insert_limit = 1;
|
||||
--Error ER_UNKNOWN_TABLE
|
||||
SELECT global.delayed_insert_limit;
|
||||
--Error ER_BAD_FIELD_ERROR
|
||||
|
Reference in New Issue
Block a user