summaryrefslogtreecommitdiff
path: root/mysql-test/t/user_var.test
diff options
context:
space:
mode:
authorunknown <gluh@eagle.intranet.mysql.r18.ru>2005-05-18 12:47:45 +0500
committerunknown <gluh@eagle.intranet.mysql.r18.ru>2005-05-18 12:47:45 +0500
commit74b93e57b549208f49d6e58e2762d30cf479c446 (patch)
tree5d60dcf8dc1314fb585565f9aadd9990b558686d /mysql-test/t/user_var.test
parent9397148d3b3012c991b6215e8a1be809edad5c19 (diff)
downloadmariadb-git-74b93e57b549208f49d6e58e2762d30cf479c446.tar.gz
Fix for bug #9286: SESSION/GLOBAL should be disallowed for user variables(for 5.0)
Diffstat (limited to 'mysql-test/t/user_var.test')
-rw-r--r--mysql-test/t/user_var.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/user_var.test b/mysql-test/t/user_var.test
index b9d06558f34..f8c441c7564 100644
--- a/mysql-test/t/user_var.test
+++ b/mysql-test/t/user_var.test
@@ -116,6 +116,7 @@ select coercibility(@v1),coercibility(@v2),coercibility(@v3),coercibility(@v4);
#
# Bug #9286 SESSION/GLOBAL should be disallowed for user variables
#
+--error 1064
set session @honk=99;
--error 1382
set one_shot @honk=99;