Bug #41770 myisampack documentation
Submitted: 27 Dec 2008 23:28 Modified: 27 Dec 2008 23:51
Reporter: Marc Perkel Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Administrator: Docs Severity:S3 (Non-critical)
Version:5 OS:Any
Assigned to: CPU Architecture:Any
Tags: pack, read-only

[27 Dec 2008 23:28] Marc Perkel
Description:
It might be helpful if the documentation on MyIsamPack told the user that the result is READ ONLY. Nothing lets you know this in the docs.

How to repeat:
man myisampack

Suggested fix:
Add a warning at the beginning that the tables are converted to READ ONLY.
[27 Dec 2008 23:51] Jon Stephens
The title of the Manual section covering myisampack is "myisampack — Generate Compressed, Read-Only MyISAM Tables".

The 4th paragraph of this section reads:

    Please note the following:

        * ...
        * After packing a table, it becomes read only. This is 
          generally intended (such as when accessing packed tables 
          on a CD). Allowing writes to a packed table is on our 
          TODO list, but with low priority.

See http://dev.mysql.com/doc/refman/5.1/en/myisampack.html

Note: I also checked recent builds of the 5.0 and 5.1 man pages. They contain the same text.