Bug #18906 | Test case rpl_temporary fails when using --vardir option | ||
---|---|---|---|
Submitted: | 8 Apr 2006 13:09 | Modified: | 10 Apr 2006 20:05 |
Reporter: | Andrei Elkin | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S3 (Non-critical) |
Version: | 5.0.21 | OS: | Any (all) |
Assigned to: | Andrei Elkin | CPU Architecture: | Any |
[8 Apr 2006 13:09]
Andrei Elkin
[8 Apr 2006 20:13]
Kristian Nielsen
The problem is not with mysqltest, the problem is that the testcase assumes that $MYSQLTEST_VARDIR will equal $MYSQL_TEST_DIR/var. This assumption is false when using the --vardir option to mysql-test-run.pl, as pushbuild does. The problem is with this code, in get_binlog_dump_thread_id.inc: --replace_result $MYSQL_TEST_DIR "." eval LOAD DATA INFILE "$MYSQLTEST_VARDIR/tmp/bl_dump_thread_id" into table t999; It should instead be written like this: --replace_result $MYSQLTEST_VARDIR "./var" eval LOAD DATA INFILE "$MYSQLTEST_VARDIR/tmp/bl_dump_thread_id" into table t999;
[9 Apr 2006 10:29]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/4682
[10 Apr 2006 6:33]
Andrei Elkin
Fixed in 5.0.21, 5.1.10-beta.
[10 Apr 2006 20:05]
Paul DuBois
No changelog entry needed.