1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1

into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
This commit is contained in:
bell@sanja.is.com.ua
2004-03-16 15:14:12 +02:00
5 changed files with 48 additions and 0 deletions

View File

@ -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

View File

@ -285,3 +285,17 @@ select @@global.max_user_connections,@@local.max_join_size;
set @a=1, @b=2;
set @a=@b, @b=@a;
select @a, @b;
#
# Bug#2586:Disallow global/session/local as structured var. instance names
#
--error 1149
set @@global.global.key_buffer_size= 1;
--error 1149
set GLOBAL global.key_buffer_size= 1;
--error 1149
SELECT @@global.global.key_buffer_size;
--error 1149
SELECT @@global.session.key_buffer_size;
--error 1149
SELECT @@global.local.key_buffer_size;