diff options
author | gluh@eagle.intranet.mysql.r18.ru <> | 2005-04-06 14:13:06 +0500 |
---|---|---|
committer | gluh@eagle.intranet.mysql.r18.ru <> | 2005-04-06 14:13:06 +0500 |
commit | 6f18d7d26f0a8348dd6599f2994dd20ddf19679c (patch) | |
tree | bf70521aa94f8a83460fbdf835c8e3512f98f9d6 /mysql-test/r/user_var.result | |
parent | 114b421c8bd552bc92296073b27a21691c0ce6da (diff) | |
download | mariadb-git-6f18d7d26f0a8348dd6599f2994dd20ddf19679c.tar.gz |
Fix for bug #9286: SESSION/GLOBAL should be disallowed for user variables
Diffstat (limited to 'mysql-test/r/user_var.result')
-rw-r--r-- | mysql-test/r/user_var.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/user_var.result b/mysql-test/r/user_var.result index 9edeea404ec..e42849abdf1 100644 --- a/mysql-test/r/user_var.result +++ b/mysql-test/r/user_var.result @@ -175,3 +175,7 @@ set @v1=null, @v2=1, @v3=1.1, @v4=now(); select coercibility(@v1),coercibility(@v2),coercibility(@v3),coercibility(@v4); coercibility(@v1) coercibility(@v2) coercibility(@v3) coercibility(@v4) 2 2 2 2 +set session @honk=99; +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 near '@honk=99' at line 1 +set one_shot @honk=99; +ERROR HY000: The SET ONE_SHOT syntax is reserved for purposes internal to the MySQL server |