Bug #52632 update docs for changes to mysql-test-run in 5.1
Submitted: 6 Apr 2010 19:55 Modified: 7 Apr 2010 12:24
Reporter: Mark Callaghan Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.1.45, 5.1.47-bzr OS:Any
Assigned to: Bjørn Munch CPU Architecture:Any
Tags: mtr

[6 Apr 2010 19:55] Mark Callaghan
Description:
mysql-test-run had --script-debug in 5.0. Now it has '--verbose' and '--verbose --verbose'. This should be documented. To get a log of all processes started, --verbose --verbose should be used.

http://dev.mysql.com/doc/mysqltest/en/mysql-test-run-pl.html

How to repeat:
na

Suggested fix:
na
[6 Apr 2010 20:05] Mark Callaghan
The docs for --mysqld are also wrong. It does not take a comma separated string. Each string must be specified via a separate --mysqld. This does not work:
--mysqld=--foo,--bar
This does work:
--mysqld=--foo --mysqld=-bar
[7 Apr 2010 5:02] Valeriy Kravchuk
Indeed, --script-debug does not work any more, so documentation should be updated.

As for comma-separated list of options, it is accepted at least in some cases:

77-52-28-202:mysql-test openxs$ ./mysql-test-run.pl --mysqld=--skip-innodb,--key_buffer_size=16384
Logging: ./mysql-test-run.pl  --mysqld=--skip-innodb,--key_buffer_size=16384
100407  7:57:26 [Warning] Setting lower_case_table_names=2 because file system for /var/folders/dX/dXCzvuSlHX4Op1g-o1jIWk+++TI/-Tmp-/4A374LsT1B/ is case insensitive
100407  7:57:26 [Note] Plugin 'FEDERATED' is disabled.
100407  7:57:26 [Note] Plugin 'ndbcluster' is disabled.
MySQL Version 5.1.47
Checking supported features...
 - using ndbcluster when necessary, mysqld supports it
 - SSL connections supported
 - binaries are debug compiled
Collecting tests...
...
[7 Apr 2010 5:06] Mark Callaghan
Comma separation did not work for me in this case:
--mysqld=--innodb,--plugin-load=innodb=ha_innodb_plugin.so

If you do: mysql-test-run.pl --verbose --verbose ...
then you can see that it doesn't split the arguments as needed when starting the mysqld process
[7 Apr 2010 6:44] Philip Stoev
Moving this to the Docs team, they handle the documentation for MTR.
[7 Apr 2010 12:24] Bjørn Munch
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant products.

Addedndum: note URL for new docs is here:

http://dev.mysql.com/doc/mysqltest/2.0/en/index.html

(The link without version number still points to 1.0 but will be redirected soon)