diff options
author | unknown <knielsen@knielsen-hq.org> | 2010-11-24 18:51:31 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2010-11-24 18:51:31 +0100 |
commit | bf5140fb7b6d3080a25ba3f92b65f24dc75223df (patch) | |
tree | d9674e832247f77ab91251077557142846ceaeb4 /mysql-test/t/partition_binlog_stmt.test | |
parent | b3ecd245232af191a2a2fd7b75780a404d2b7ddd (diff) | |
download | mariadb-git-bf5140fb7b6d3080a25ba3f92b65f24dc75223df.tar.gz |
Fix test failure when the mysql-test/ directory is not writable.
Diffstat (limited to 'mysql-test/t/partition_binlog_stmt.test')
-rw-r--r-- | mysql-test/t/partition_binlog_stmt.test | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mysql-test/t/partition_binlog_stmt.test b/mysql-test/t/partition_binlog_stmt.test index c426de9f303..cc57222dc3c 100644 --- a/mysql-test/t/partition_binlog_stmt.test +++ b/mysql-test/t/partition_binlog_stmt.test @@ -8,7 +8,7 @@ DROP TABLE IF EXISTS t1; --echo # --echo # Bug#51851: Server with SBR locks mutex twice on LOAD DATA into --echo # partitioned MyISAM table ---write_file init_file.txt +--write_file $MYSQLTEST_VARDIR/tmp/init_file.txt abcd EOF @@ -19,8 +19,9 @@ CREATE TABLE t1 INDEX namelocs (name(255))) ENGINE = MyISAM PARTITION BY HASH(id) PARTITIONS 2; -LOAD DATA LOCAL INFILE 'init_file.txt' +--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR +eval LOAD DATA LOCAL INFILE '$MYSQLTEST_VARDIR/tmp/init_file.txt' INTO TABLE t1 (name); ---remove_file init_file.txt +--remove_file $MYSQLTEST_VARDIR/tmp/init_file.txt DROP TABLE t1; |