Bug #5570 Startup variables, Performance tab, cache size needs a memory size (k or m)
Submitted: 14 Sep 2004 13:35 Modified: 8 Oct 2004 17:50
Reporter: Josh Sherwood Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.0.12 OS:Linux (Linux)
Assigned to: Alfredo Kojima CPU Architecture:Any

[14 Sep 2004 13:35] Josh Sherwood
Description:
Startup variables, Performance tab, cache size variable needs a memory size (k or m). It currently doesn't have one and when you save it, it saves the value without a size. When you restart mysql (4.0.x) it doesn't read this value so query_cache_size remains at zero, disabled. Manually changing my.cnf to include a 'k' at the end of the value works properly.

How to repeat:
Go into the admin. Select startup variables, performance tab. Change the cache size to some value. Open your my.cnf in an editor and see that the value doesn't have a memory qualifier.
[8 Oct 2004 17:50] Alfredo Kojima
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