List:Commits« Previous MessageNext Message »
From:msvensson Date:February 21 2006 4:09pm
Subject:bk commit into 5.1 tree (msvensson:1.2157) BUG#14354
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 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.2157 06/02/21 17:09:09 msvensson@neptunus.(none) +1 -0
  Bug#14354 Partitions: data directory clause fails
   - Use "system" to execute rm, mkdir etc
   - Use MYSQLTEST_VARDIR

  mysql-test/t/partition_mgm_err.test
    1.9 06/02/21 17:09:04 msvensson@neptunus.(none) +9 -8
    Use system to execute "unix" command.
    Use MYSQLTEST_VARDIR

# 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.1

--- 1.8/mysql-test/t/partition_mgm_err.test	2006-01-27 16:39:14 +01:00
+++ 1.9/mysql-test/t/partition_mgm_err.test	2006-02-21 17:09:04 +01:00
@@ -171,19 +171,20 @@
 #
 # BUG: 14354 Partitions: data directory clause fails
 #
---exec rm -rf $MYSQL_TEST_DIR/bug14354
---exec mkdir $MYSQL_TEST_DIR/bug14354
+--system rm -rf $MYSQLTEST_VARDIR/tmp/bug14354
+--system mkdir $MYSQLTEST_VARDIR/tmp/bug14354
 disable_query_log;
 eval CREATE TABLE t1 (id int) PARTITION BY RANGE(id) (
-PARTITION p1 VALUES LESS THAN (20) ENGINE=myiasm 
-DATA DIRECTORY="$MYSQL_TEST_DIR/bug14354" 
-INDEX DIRECTORY="$MYSQL_TEST_DIR/bug14354");
+PARTITION p1 VALUES LESS THAN (20) ENGINE=myiasm
+DATA DIRECTORY="$MYSQLTEST_VARDIR/tmp/bug14354"
+INDEX DIRECTORY="$MYSQLTEST_VARDIR/tmp/bug14354");
 enable_query_log;
 INSERT INTO t1 VALUES (15);
---exec test -f $MYSQL_TEST_DIR/bug14354/t1#P#p1.MYD
---exec test -f $MYSQL_TEST_DIR/bug14354/t1#P#p1.MYI
+--system test -f $MYSQLTEST_VARDIR/tmp/bug14354/t1#P#p1.MYD
+--system test -f $MYSQLTEST_VARDIR/tmp/bug14354/t1#P#p1.MYI
 DROP TABLE t1;
---exec rm -rf $MYSQL_TEST_DIR/bug14354
+--system rm -rf $MYSQLTEST_VARDIR/tmp/bug14354
+
 
 #
 # Bug# 16534 - Trying to add multiple partitions crashes server
Thread
bk commit into 5.1 tree (msvensson:1.2157) BUG#14354msvensson21 Feb