summaryrefslogtreecommitdiff
path: root/mysql-test/t/user_var.test
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2004-11-05 14:07:12 +0400
committerunknown <bar@mysql.com>2004-11-05 14:07:12 +0400
commit6608e22d9ceb67fe39879f7cf08cfbd9c05591f5 (patch)
tree4cad20e61c49c9e2ea60a3231a53e38939295a6c /mysql-test/t/user_var.test
parentaee1e78aa1e0be37acd9640dfb48f63200a7d0ef (diff)
downloadmariadb-git-6608e22d9ceb67fe39879f7cf08cfbd9c05591f5.tar.gz
user_var.result, user_var.test:
My previous change that "set @a=NULL" doesn't change charset fixed 'Bug #6321' as well. Prove with a new test that FIELD(<uservariable content NULL>, ...) now works fine too. mysql-test/t/user_var.test: My previous change that "set @a=NULL" doesn't change charset fixed 'Bug #6321' as well. Prove with a new test that FIELD(<uservariable content NULL>, ...) now works fine too. mysql-test/r/user_var.result: My previous change that "set @a=NULL" doesn't change charset fixed 'Bug #6321' as well. Prove with a new test that FIELD(<uservariable content NULL>, ...) now works fine too.
Diffstat (limited to 'mysql-test/t/user_var.test')
-rw-r--r--mysql-test/t/user_var.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/user_var.test b/mysql-test/t/user_var.test
index 601724e68c8..3816af42c55 100644
--- a/mysql-test/t/user_var.test
+++ b/mysql-test/t/user_var.test
@@ -120,3 +120,9 @@ show binlog events from 79;
drop table t1, t2;
+#
+# Bug #6321 strange error:
+# string function FIELD(<uservariable content NULL>, ...)
+#
+set @var= NULL ;
+select FIELD( @var,'1it','Hit') as my_column;