Below is the list of changes that have just been committed into a local
5.1 repository of mattiasj. When mattiasj 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@stripped, 2007-11-10 21:29:39+01:00, mattiasj@mattiasj-laptop.(none) +2 -0
Bug#32091: Security breach via directory changes
Changed test case from GRANT to CREATE USER
mysql-test/r/partition_mgm.result@stripped, 2007-11-10 21:29:38+01:00, mattiasj@mattiasj-laptop.(none) +3 -2
Bug#32091: Security breach via directory changes
test result
mysql-test/t/partition_mgm.test@stripped, 2007-11-10 21:29:38+01:00, mattiasj@mattiasj-laptop.(none) +3 -2
Bug#32091: Security breach via directory changes
Changed test case from GRANT to CREATE USER
diff -Nrup a/mysql-test/r/partition_mgm.result b/mysql-test/r/partition_mgm.result
--- a/mysql-test/r/partition_mgm.result 2007-11-10 14:56:19 +01:00
+++ b/mysql-test/r/partition_mgm.result 2007-11-10 21:29:38 +01:00
@@ -1,8 +1,9 @@
DROP TABLE IF EXISTS t1;
+DROP DATABASE IF EXISTS mysqltest2;
# Creating two non colliding tables mysqltest2.t1 and test.t1
# test.t1 have partitions in mysqltest2-directory!
# user root:
-GRANT USAGE ON test.* TO mysqltest_1@localhost;
+CREATE USER mysqltest_1@localhost;
CREATE DATABASE mysqltest2;
USE mysqltest2;
CREATE TABLE t1 (a INT);
@@ -79,7 +80,7 @@ Got one of the listed errors
# user root (cleanup):
DROP DATABASE mysqltest2;
USE test;
-REVOKE USAGE ON *.* FROM mysqltest_1@localhost;
+DROP USER mysqltest_1@localhost;
create table t1 (a int)
partition by range (a)
subpartition by key (a)
diff -Nrup a/mysql-test/t/partition_mgm.test b/mysql-test/t/partition_mgm.test
--- a/mysql-test/t/partition_mgm.test 2007-11-10 14:56:19 +01:00
+++ b/mysql-test/t/partition_mgm.test 2007-11-10 21:29:38 +01:00
@@ -1,6 +1,7 @@
-- source include/have_partition.inc
-- disable_warnings
DROP TABLE IF EXISTS t1;
+DROP DATABASE IF EXISTS mysqltest2;
-- enable_warnings
#
@@ -21,7 +22,7 @@ DROP TABLE IF EXISTS t1;
-- echo # Creating two non colliding tables mysqltest2.t1 and test.t1
-- echo # test.t1 have partitions in mysqltest2-directory!
-- echo # user root:
- GRANT USAGE ON test.* TO mysqltest_1@localhost;
+ CREATE USER mysqltest_1@localhost;
CREATE DATABASE mysqltest2;
USE mysqltest2;
CREATE TABLE t1 (a INT);
@@ -109,7 +110,7 @@ connection default;
-- echo # user root (cleanup):
DROP DATABASE mysqltest2;
USE test;
- REVOKE USAGE ON *.* FROM mysqltest_1@localhost;
+ DROP USER mysqltest_1@localhost;
disconnect con1;
#
| Thread |
|---|
| • bk commit into 5.1 tree (mattiasj:1.2607) BUG#32091 | mattiasj | 10 Nov |