mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for bug#2586 Disallow global/session/local as structured var. instance names
This commit is contained in:
@ -406,3 +406,13 @@ set @a=@b, @b=@a;
|
||||
select @a, @b;
|
||||
@a @b
|
||||
2 1
|
||||
set @@global.global.key_buffer_size= 1;
|
||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use
|
||||
set GLOBAL global.key_buffer_size= 1;
|
||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use
|
||||
SELECT @@global.global.key_buffer_size;
|
||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use
|
||||
SELECT @@global.session.key_buffer_size;
|
||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use
|
||||
SELECT @@global.local.key_buffer_size;
|
||||
ERROR 42000: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use
|
||||
|
Reference in New Issue
Block a user