summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authormonty@mysql.com <>2005-08-09 00:15:27 +0300
committermonty@mysql.com <>2005-08-09 00:15:27 +0300
commit7b1aed3fbadbddca3fb2d04226572bd841153418 (patch)
tree162d514778eba7d21acf4a9243606b912b2fb922 /mysql-test/t/grant.test
parent99cb083549fb13a5f9e6d13617e75f1fadf65236 (diff)
parent74c71689926802047d249684501d433ae86f324d (diff)
downloadmariadb-git-7b1aed3fbadbddca3fb2d04226572bd841153418.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/my/mysql-4.1
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 50255d515e0..b0de62e679c 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -402,4 +402,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