summaryrefslogtreecommitdiff
path: root/mysql-test/r/user_var.result
diff options
context:
space:
mode:
authorgluh@eagle.intranet.mysql.r18.ru <>2005-05-18 12:47:45 +0500
committergluh@eagle.intranet.mysql.r18.ru <>2005-05-18 12:47:45 +0500
commitb44a474449309244737bac090e40d2e4a15e9635 (patch)
tree5d60dcf8dc1314fb585565f9aadd9990b558686d /mysql-test/r/user_var.result
parent390e0bbc2ab4c7700f60e433526769a77c938dac (diff)
downloadmariadb-git-b44a474449309244737bac090e40d2e4a15e9635.tar.gz
Fix for bug #9286: SESSION/GLOBAL should be disallowed for user variables(for 5.0)
Diffstat (limited to 'mysql-test/r/user_var.result')
-rw-r--r--mysql-test/r/user_var.result1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/r/user_var.result b/mysql-test/r/user_var.result
index d9a647ce2c3..df71c97033f 100644
--- a/mysql-test/r/user_var.result
+++ b/mysql-test/r/user_var.result
@@ -180,6 +180,7 @@ 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
set @first_var= NULL;