Bug #549 small query cache memory formating bug
Submitted: 30 May 2003 15:25 Modified: 1 Jun 2003 1:24
Reporter: Oleksandr Byelkin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.0 OS:Any (any)
Assigned to: Oleksandr Byelkin

[30 May 2003 15:25] Oleksandr Byelkin
Description:
on very small size values, query cache incorrectly format it's memory 
 
query cache size is incorrectly shown in status variables. 

How to repeat:
set global query_cache_size=20480; 
drop table if exists t1; 
create table t1 (a int); 
select count(*) from t1; 
drop table t1; 

Suggested fix:
prohibit small values for query size
[30 May 2003 15:46] Oleksandr Byelkin
ChangeSet 
  1.1503 03/05/31 01:41:11 bell@sanja.is.com.ua +3 -0