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

[21 Apr 2009 18:38] Alfranio Tavares Correia Junior
Description:
rpl.rpl_innodb_mixed_ddl [ fail ]
        Test ended at 2009-04-21 13:12:23

CURRENT_TEST: rpl.rpl_innodb_mixed_ddl
'diff' is not recognized as an internal or external command,
operable program or batch file.
mysqltest: In included file ".\suite\rpl\include\rpl_mixed_ddl.inc": At line 86: command "diff $MYSQLTEST_VARDIR/tmp/rpl_switch_stm_row_mixed_master.sql $MYSQLTEST_VARDIR/tmp/rpl_switch_stm_row_mixed_slave.sql" failed

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

Suggested fix:
Replace "--exec diff" by diff_files.
[22 Apr 2009 9:39] Alfranio Tavares Correia Junior
Please, look also at the following test cases:

rpl_000015 which calls rpl_000015-slave.sh
xref: http://tinyurl.com/c8ebca

rpl_sync which calls echo and cat.
[24 Apr 2009 1:15] 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/72748

2869 Alfranio Correia	2009-04-24
      BUG#44390 rpl_innodb_mixed_ddl fails on windows due to operating system specifc
                command
      
      Replaced "--exec diff" by "--diff_files" which is a mysqltest command to run a
      non-operating system specific diff.
[28 Apr 2009 12:01] 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/72903

3227 Alfranio Correia	2009-04-28 [merge]
      BUG#44390 rpl_innodb_mixed_ddl fails on windows due to operating system specifc
                command
            
      Replaced "--exec diff" by "--diff_files" which is a mysqltest command to run a
      non-operating system specific diff.
      
      Additionaly, the following test cases were fixed too:
      
      Removed the file suite/rpl/t/rpl_000015-slave.sh which had an operating system
      specific command as this is not necessary with the new mtr.
      
      Replaced "--exec cat" by a perl routine in the rpl_sync test case.
[6 May 2009 14:11] 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:47] Jon Stephens
Test failure only; no user changes to document; closed.