summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-08-08 19:04:10 +0500
committerunknown <bar@mysql.com>2005-08-08 19:04:10 +0500
commit3f70f80463ccdb44c0b9694984c3e12e5e8a8955 (patch)
tree0c7a944ca4c6c42b95af760aae00683ae7fd99de /mysql-test/t/grant.test
parent630a23ba00d3c16d0696c9e78be3e1bf5790c7e7 (diff)
parent00267b9f7370037e715ee8199dc32c1a489b6c6a (diff)
downloadmariadb-git-3f70f80463ccdb44c0b9694984c3e12e5e8a8955.tar.gz
Merge mysql.com:/usr/home/bar/mysql-4.1.b10892
into mysql.com:/usr/home/bar/mysql-5.0 mysql-test/t/grant.test: Auto merged sql/item.cc: Auto merged mysql-test/r/grant.result: using local copy
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r--mysql-test/t/grant.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index 05094b29589..635c7a3f4e7 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -480,4 +480,11 @@ flush privileges;
delete from tables_priv where host = '' and user = 'mysqltest_1';
flush privileges;
+#
+# Bug #10892 user variables not auto cast for comparisons
+# Check that we don't get illegal mix of collations
+#
+set @user123="non-existent";
+select * from mysql.db where user=@user123;
+
# End of 4.1 tests