MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:msvensson Date:March 2 2006 10:02am
Subject:bk commit into 5.0 tree (msvensson:1.2099) BUG#17279
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.2099 06/03/02 11:01:58 msvensson@neptunus.(none) +2 -0
  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/t/grant2.test
    1.32 06/03/02 11:01:54 msvensson@neptunus.(none) +2 -1
    Fix for system with "lowercase names", allow error 1007 to be returned

  mysql-test/r/grant2.result
    1.26 06/03/02 11:01:54 msvensson@neptunus.(none) +1 -1
    Fix for system with "lowercase names", allow error 1007 to be returned

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/mysql-5.0

--- 1.25/mysql-test/r/grant2.result	2006-02-27 16:41:50 +01:00
+++ 1.26/mysql-test/r/grant2.result	2006-03-02 11:01:54 +01:00
@@ -349,7 +349,7 @@
 Warning	1265	Data truncated for column 'Alter_routine_priv' at row 1
 FLUSH PRIVILEGES;
 create database TEStdb;
-ERROR 42000: Access denied for user 'mysqltest_1'@'%' to database 'TEStdb'
+Got one of the listed errors
 delete from mysql.user;
 delete from mysql.db where host='%' and user='mysqltest_1' and db='TESTDB';
 insert into mysql.user select * from t1;

--- 1.31/mysql-test/t/grant2.test	2006-02-27 16:41:50 +01:00
+++ 1.32/mysql-test/t/grant2.test	2006-03-02 11:01:54 +01:00
@@ -452,7 +452,8 @@
 
 # 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
Thread
bk commit into 5.0 tree (msvensson:1.2099) BUG#17279msvensson2 Mar