Bug #40014 mysqlslap missing "--preserve-schema" option
Submitted: 14 Oct 2008 10:44 Modified: 28 May 2009 13:17
Reporter: dan d Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.1.28-rc, 5.1-bzr OS:Linux
Assigned to: Paul DuBois CPU Architecture:Any

[14 Oct 2008 10:44] dan d
Description:
The client utility mysqlslap is missing the --perserve-schema option.
In the binary release, but as also in the source mysql-5.1.28-rc.tar.gz (and also mysql-5.1.26-rc)
In the documentation ( http://dev.mysql.com/doc/refman/5.1/en/mysqlslap.html ), the man file this option is described as functional.

How to repeat:
In the 5.1.28-rc version, execute: 
>  mysqlslap --preserve-schema 
and you will get:
mysqlslap:  unknown option '--preserve-schema' 

Suggested fix:
Restore the ability to preserve the database schema.
[14 Oct 2008 12:02] Valeriy Kravchuk
Option is called --preserve-schema, but, indeed, it is missed even in latest 5.1 from bzr.
[21 May 2009 1:05] Jim Winstead
As it says later in that page, --preserve-schema was removed in 5.1.23. The first table should probably indicate this.
[28 May 2009 13:17] Paul DuBois
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.

The options table now has a column to show when options were removed. (Thanks, MC!)