From: Date: November 13 2007 10:51am Subject: bk commit into 5.1 tree (mattiasj:1.2613) BUG#32091 List-Archive: http://lists.mysql.com/commits/37648 X-Bug: 32091 Message-Id: <20071113095143.317BA221947@mattiasj-laptop> 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-13 10:51:32+01:00, mattiasj@mattiasj-laptop.(none) +3 -0 Bug#32091: Security breach via directory changes Post pushbuild fix Disabled test on windows due to bug#30459 (DATA/INDEX DIR for partitions not working on windows) mysql-test/r/partition_mgm.result@stripped, 2007-11-13 10:51:25+01:00, mattiasj@mattiasj-laptop.(none) +0 -10 Bug#32091: Security breach via directory changes fixed non-windows lines. mysql-test/t/partition_mgm.test@stripped, 2007-11-13 10:51:25+01:00, mattiasj@mattiasj-laptop.(none) +10 -9 Bug#32091: Security breach via directory changes fixed non-windows lines. mysql-test/t/partition_symlink.test@stripped, 2007-11-13 10:51:26+01:00, mattiasj@mattiasj-laptop.(none) +2 -0 Bug#32091: Security breach via directory changes Added no_windows, since it is affected of bug#30459 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-12 13:23:43 +01:00 +++ b/mysql-test/r/partition_mgm.result 2007-11-13 10:51:25 +01:00 @@ -17,12 +17,6 @@ t1 CREATE TABLE `t1` ( `f_date` date DEFAULT NULL, `f_varchar` varchar(30) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (YEAR(f_date)) PARTITIONS 2 */ -hello/master-data/test/t1#P#p0.MYD -hello/master-data/test/t1#P#p0.MYI -hello/master-data/test/t1#P#p1.MYD -hello/master-data/test/t1#P#p1.MYI -hello/master-data/test/t1.frm -hello/master-data/test/t1.par ALTER TABLE t1 COALESCE PARTITION 1; SHOW CREATE TABLE t1; Table Create Table @@ -30,10 +24,6 @@ t1 CREATE TABLE `t1` ( `f_date` date DEFAULT NULL, `f_varchar` varchar(30) DEFAULT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (YEAR(f_date)) PARTITIONS 1 */ -hello/master-data/test/t1#P#p0.MYD -hello/master-data/test/t1#P#p0.MYI -hello/master-data/test/t1.frm -hello/master-data/test/t1.par drop table t1; create table t1 (a int) partition by list (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-12 13:23:43 +01:00 +++ b/mysql-test/t/partition_mgm.test 2007-11-13 10:51:25 +01:00 @@ -22,17 +22,18 @@ drop table t1; CREATE TABLE t1 (f_date DATE, f_varchar VARCHAR(30)) PARTITION BY HASH(YEAR(f_date)) PARTITIONS 2; SHOW CREATE TABLE t1; - ---replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/test/t1#* ---replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/test/t1.* +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1#P#p0.MYD +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1#P#p0.MYI +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1#P#p1.MYD +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1#P#p1.MYI +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1.frm +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1.par ALTER TABLE t1 COALESCE PARTITION 1; SHOW CREATE TABLE t1; ---replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/test/t1#* ---replace_result $MYSQLTEST_VARDIR "hello" ---exec ls $MYSQLTEST_VARDIR/master-data/test/t1.* +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1#P#p0.MYD +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1#P#p0.MYI +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1.frm +-- file_exists $MYSQLTEST_VARDIR/master-data/test/t1.par drop table t1; # # Bug 20767: REORGANIZE partition crashes diff -Nrup a/mysql-test/t/partition_symlink.test b/mysql-test/t/partition_symlink.test --- a/mysql-test/t/partition_symlink.test 2007-11-12 13:23:43 +01:00 +++ b/mysql-test/t/partition_symlink.test 2007-11-13 10:51:26 +01:00 @@ -2,6 +2,8 @@ # (DATA/INDEX DIR requires symlinks) -- source include/have_partition.inc -- source include/have_symlink.inc +# remove the not_windows line after fixing bug#30459 +-- source include/not_windows.inc -- disable_warnings DROP TABLE IF EXISTS t1; DROP DATABASE IF EXISTS mysqltest2;