summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant2.test
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-03-02 11:01:58 +0100
committerunknown <msvensson@neptunus.(none)>2006-03-02 11:01:58 +0100
commitd5a27fd86fd1cada16d427fd9ffecc08314f4b7e (patch)
treea20e498d26e43867ec056a348f70a75924b2ceb6 /mysql-test/t/grant2.test
parent92ead72dc7c1413749d47c3bf65ee9d25af40f51 (diff)
downloadmariadb-git-d5a27fd86fd1cada16d427fd9ffecc08314f4b7e.tar.gz
Bug#17279 user with no global privs and with create priv in db can create
database - Fix test case for systems with "lowercase names" mysql-test/r/grant2.result: Fix for system with "lowercase names", allow error 1007 to be returned mysql-test/t/grant2.test: Fix for system with "lowercase names", allow error 1007 to be returned
Diffstat (limited to 'mysql-test/t/grant2.test')
-rw-r--r--mysql-test/t/grant2.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/t/grant2.test b/mysql-test/t/grant2.test
index 32861d1b184..2c62d2f1bd3 100644
--- a/mysql-test/t/grant2.test
+++ b/mysql-test/t/grant2.test
@@ -452,7 +452,8 @@ connect (con1,localhost,mysqltest_1,password,TESTDB);
# The user mysqltest_1 should only be allowed access to
# database TESTDB, not TEStdb
---error 1044
+# On system with "lowercase names" we get error "1007: Can't create db..."
+--error 1044, 1007
create database TEStdb;
# Clean-up