summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authorunknown <kostja@bodhi.local>2006-08-30 01:48:15 +0400
committerunknown <kostja@bodhi.local>2006-08-30 01:48:15 +0400
commit3e0fcd915f5e996feb1cd475b09161954979a3ec (patch)
tree8298402369788e3a248a3cc9ce131ad3de032fc9 /mysql-test/t/grant.test
parent8ea5f31a46e9edcd773a1ce3655c8ce9e0d0ed33 (diff)
downloadmariadb-git-3e0fcd915f5e996feb1cd475b09161954979a3ec.tar.gz
Remove the fix for Bug#10668 "CREATE USER does not enforce username
length limit", it's superseded by the fix for Bug#16899 "Possible buffer overflow in handling of DEFINER-clause". Update test results. mysql-test/r/grant.result: A post-merge fix. mysql-test/t/grant.test: A new error is returned, use the default database after drop database. sql/sql_acl.cc: Remove an unneeded check.
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r--mysql-test/t/grant.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index 0f63bc300d0..a938a8a64a7 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -805,12 +805,13 @@ DROP DATABASE mysqltest3;
REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'mysqltest_1'@'localhost';
DROP USER 'mysqltest_1'@'localhost';
-
+# eestore the original database
+use test;
#
# Bug #10668: CREATE USER does not enforce username length limit
#
---error ER_CANNOT_USER
+--error ER_WRONG_STRING_LENGTH
create user mysqltest1_thisisreallytoolong;
#