From d5a27fd86fd1cada16d427fd9ffecc08314f4b7e Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 2 Mar 2006 11:01:58 +0100 Subject: 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 --- mysql-test/t/grant2.test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mysql-test/t/grant2.test') 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 -- cgit v1.2.1