summaryrefslogtreecommitdiff
path: root/mysql-test/r/variables.result
diff options
context:
space:
mode:
authorgluh@gluh.mysql.r18.ru <>2004-03-16 14:01:05 +0400
committergluh@gluh.mysql.r18.ru <>2004-03-16 14:01:05 +0400
commit8ba33d7dd3e406e8b65732a78c81a60b9c799d00 (patch)
tree59972ca71721d54da58e67437e77ecce92ed0d4c /mysql-test/r/variables.result
parentac8c1cc4bece8f93951e2784f8005787a915c052 (diff)
downloadmariadb-git-8ba33d7dd3e406e8b65732a78c81a60b9c799d00.tar.gz
Fix for bug#2586 Disallow global/session/local as structured var. instance names
Diffstat (limited to 'mysql-test/r/variables.result')
-rw-r--r--mysql-test/r/variables.result10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/variables.result b/mysql-test/r/variables.result
index 71e26c42b70..c56ccc3641a 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -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