Bug #44389 rpl_row_mysqlbinlog fails on windows due to operating system specifc command
Submitted: 21 Apr 2009 18:27 Modified: 7 May 2009 12:46
Reporter: Alfranio Junior Email Updates:
Status: Closed Impact on me:
None 
Category:Tests: Replication Severity:S3 (Non-critical)
Version:5.1 OS:Windows
Assigned to: Alfranio Junior CPU Architecture:Any
Tags: pb-2, replication, test

[21 Apr 2009 18:27] Alfranio Junior
Description:
CURRENT_TEST: rpl.rpl_row_mysqlbinlog
'rm' is not recognized as an internal or external command,
operable program or batch file.
mysqltest: At line 247: command "rm $MYSQLTEST_VARDIR/tmp/remote.sql" failed

Output from before failure:
exec of 'rm G:/pb2/test/sb_1-474025-1239913255.72/mysql-5.1.35-win-x86_64-test/mysql-test/var/tmp/remote.sql' failed, error: 1, status: 1, errno: 0

How to repeat:
http://tinyurl.com/dbcgd2

Suggested fix:
Use remove_file
[24 Apr 2009 1:02] 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/72747

2868 Alfranio Correia	2009-04-24
      BUG#44389 rpl_row_mysqlbinlog fails on windows due to operating system
                specifc command
      
      Replaced "--exec rm" by "remove_file" which is a mysqltest command to
      erase a file.
[5 May 2009 19:40] Bugs System
Pushed into 5.1.35 (revid:davi.arnaut@sun.com-20090505190206-9xmh7dlc6kom8exp) (version source revid:davi.arnaut@sun.com-20090505190206-9xmh7dlc6kom8exp) (merge vers: 5.1.35) (pib:6)
[6 May 2009 14:07] Bugs System
Pushed into 6.0.12-alpha (revid:svoj@sun.com-20090506125450-yokcmvqf2g7jhujq) (version source revid:holyfoot@mysql.com-20090429043953-xrupk7aoxbyz3c61) (merge vers: 6.0.11-alpha) (pib:6)
[7 May 2009 12:46] Jon Stephens
Testing issue only; no end-user changes to document. Closed.
[15 Jun 2009 8:27] Bugs System
Pushed into 5.1.35-ndb-6.3.26 (revid:jonas@mysql.com-20090615074202-0r5r2jmi83tww6sf) (version source revid:jonas@mysql.com-20090615070837-9pccutgc7repvb4d) (merge vers: 5.1.35-ndb-6.3.26) (pib:6)
[15 Jun 2009 9:06] Bugs System
Pushed into 5.1.35-ndb-7.0.7 (revid:jonas@mysql.com-20090615074335-9hcltksp5cu5fucn) (version source revid:jonas@mysql.com-20090615072714-rmfkvrbbipd9r32c) (merge vers: 5.1.35-ndb-7.0.7) (pib:6)
[15 Jun 2009 9:47] Bugs System
Pushed into 5.1.35-ndb-6.2.19 (revid:jonas@mysql.com-20090615061520-sq7ds4yw299ggugm) (version source revid:jonas@mysql.com-20090615054654-ebgpz7elwu1xj36j) (merge vers: 5.1.35-ndb-6.2.19) (pib:6)