mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
key_cache.result, key_cache.test, mf_keycache.c:
Fixed a wrong return code by the function init_key_cache. mysys/mf_keycache.c: Fixed a wrong return code by the function init_key_cache. mysql-test/t/key_cache.test: Fixed a wrong return code by the function init_key_cache. mysql-test/r/key_cache.result: Fixed a wrong return code by the function init_key_cache.
This commit is contained in:
@ -391,7 +391,7 @@ int init_key_cache(KEY_CACHE *keycache, uint key_cache_block_size,
|
||||
}
|
||||
|
||||
keycache->blocks= keycache->disk_blocks > 0 ? keycache->disk_blocks : 0;
|
||||
DBUG_RETURN((int) blocks);
|
||||
DBUG_RETURN((int) keycache->disk_blocks);
|
||||
|
||||
err:
|
||||
error= my_errno;
|
||||
|
Reference in New Issue
Block a user