Bug #6309 | myisamchk compiled without debug support , --help shows vise versa | ||
---|---|---|---|
Submitted: | 28 Oct 2004 15:55 | Modified: | 2 Nov 2004 11:38 |
Reporter: | Gleb Paharenko | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 4.1.7 | OS: | Windows (Windows,Linux) |
Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
[28 Oct 2004 15:55]
Gleb Paharenko
[28 Oct 2004 16:09]
Gleb Paharenko
And without '=' [gleb@blend gleb]$ myisamchk --debug 'd:t:o,test.log' host.MYI myisamchk: unknown option '--debug'
[28 Oct 2004 20:23]
Paul DuBois
This isn't a documentation bug, it's a bug in myisamchk. The problem arises from the fact that myisamchk has _two_ help messages, and only one of them is enclosed within #ifndef DBUG_OFF/#endif. The one that is not so enclosed is the one that's printed by default. (You can see the difference by running myisamchk --help and myisamchk --HELP.) This problem afflicts MySQL 4.0 as well.
[2 Nov 2004 11:38]
Ramil Kalimullin
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html