Bug #40742 MTR_VERSION=1 perl mysql-test-run.pl --start-and-exit rpl_alter does not work

Submitted: 14 Nov 2008 13:10 Modified: 30 Jan 2009 17:53
Reporter: Philip Stoev Email Updates:
Status: Closed Impact on me:
None 
Category:Tests Severity:S7 (Test Cases)
Version:5.1-rpl OS:Any
Assigned to: Magnus BlÄudd CPU Architecture:Any

[14 Nov 2008 13:10] Philip Stoev
Description:
Under the new MTR, the following command

MTR_VERSION=1 perl mysql-test-run.pl --start-and-exit rpl_alter

does not start the server. The error log reports:

/build/bzr/5.1-rpl/sql/mysqld: Too many arguments (first extra is 'binlog-format=row').
Use --verbose --help to get a list of available options
081112  0:40:16 [ERROR] Aborting

This functionality is used in the Random Query Generator and in the rpl_sys SystemQA tests, possibly in other places as well, such as the upgrade/downgrade test with replication and the SystemQA backup/restore framework.

How to repeat:
in 5.1-rpl 

MTR_VERSION=1 perl mysql-test-run.pl --start-and-exit rpl_alter

Suggested fix:
Please either fix this or provide an alternative way to start a master and a slave via --start-and-exit. The actual setting of the binary log format and the CHANGE MASTER will be executed on our side afterwards.
[14 Nov 2008 14:39] 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/58789

2696 Magnus Svensson	2008-11-14
      Bug#40742 MTR_VERSION=1 perl mysql-test-run.pl --start-and-exit rpl_alter does not work
[30 Jan 2009 13:31] Bugs System
Pushed into 6.0.10-alpha (revid:luis.soares@sun.com-20090129165607-wiskabxm948yx463) (version source revid:luis.soares@sun.com-20090129163120-e2ntks4wgpqde6zt) (merge vers: 6.0.10-alpha) (pib:6)
[30 Jan 2009 15:11] Bugs System
Pushed into 5.1.32 (revid:luis.soares@sun.com-20090129165946-d6jnnfqfokuzr09y) (version source revid:msvensson@mysql.com-20081114143912-5dciqeb6h02v4j01) (merge vers: 5.1.31) (pib:6)
[30 Jan 2009 17:53] Paul DuBois
Test suite changes. No changelog entry needed.
[17 Feb 2009 15:00] Bugs System
Pushed into 5.1.32-ndb-6.3.23 (revid:tomas.ulin@sun.com-20090217131017-6u8qz1edkjfiobef) (version source revid:tomas.ulin@sun.com-20090203133556-9rclp06ol19bmzs4) (merge vers: 5.1.32-ndb-6.3.22) (pib:6)
[17 Feb 2009 16:48] Bugs System
Pushed into 5.1.32-ndb-6.4.3 (revid:tomas.ulin@sun.com-20090217134419-5ha6xg4dpedrbmau) (version source revid:tomas.ulin@sun.com-20090203133556-9rclp06ol19bmzs4) (merge vers: 5.1.32-ndb-6.3.22) (pib:6)
[17 Feb 2009 18:24] Bugs System
Pushed into 5.1.32-ndb-6.2.17 (revid:tomas.ulin@sun.com-20090217134216-5699eq74ws4oxa0j) (version source revid:tomas.ulin@sun.com-20090201210519-vehobc4sy3g9s38e) (merge vers: 5.1.32-ndb-6.2.17) (pib:6)

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.042 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.