Bug #28823 myisampack does NOT support --packlength option
Submitted: 1 Jun 2007 5:59 Modified: 1 Jun 2007 20:05
Reporter: Valeriy Kravchuk Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:4.0.x, 4.1.x, 5.0.x OS:Any
Assigned to: Paul DuBois CPU Architecture:Any

[1 Jun 2007 5:59] Valeriy Kravchuk
Description:
According to the manual, http://dev.mysql.com/doc/refman/5.0/en/myisampack.html, myisampack has the following option:

"--packlength=len, -p len

Specify the row length storage size, in bytes. The value should be 1, 2, or 3. myisampack stores all rows with length pointers of 1, 2, or 3 bytes.
..."

This option is not recognized by myisampack in any modern version of MySQL, though.

How to repeat:
openxs@suse:~/dbs/5.0/var/test> ../../bin/myisampack -p 1 tbig.MYI
../../bin/myisampack: unknown option '-p'
openxs@suse:~/dbs/5.0/var/test> ../../bin/myisampack --packlength=1 tbig.MYI
../../bin/myisampack: unknown variable 'packlength=1'
openxs@suse:~/dbs/5.0/var/test> ../../bin/myisampack --version
../../bin/myisampack Ver 1.23 for suse-linux on i686

Suggested fix:
Remove this option from documentation, as it is misleading. Or implement it.
[1 Jun 2007 20:05] 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.

It is a pack_isam option only. Removed it from the 5.0/5.1 manuals and made a note in the 3.23-4.1 manual that it's pack_isam-only.