Bug #2064 Server returns unknown error when trying to create a new key cache

Submitted: 9 Dec 2003 13:08 Modified: 12 Dec 2003 8:40
Reporter: Igor Babaev Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.1 OS:Any (all)
Assigned to: Igor Babaev CPU Architecture:Any

[9 Dec 2003 13:08] Igor Babaev
Description:
The server returns  
 ERROR 1105 (HY000): Unknown error  
when trying to create a new cache of a size that is too small for any key 
cache.  

How to repeat:
Start the server and run the command: 
set global keycache1.key_buffer_size=100; 
 
The reply will be: 
ERROR 1105 (HY000): Unknown error 
 

Suggested fix:
The bug is due to a wrong return code by the function init_key_cache (in the   
file mf_keycache.c).   
The line before the label err in the function should be:  
DBUG_RETURN((int) keycache->disk_blocks);
[12 Dec 2003 8:40] Igor Babaev
Fixed in 4.1.2

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.