mirror of
https://github.com/MariaDB/server.git
synced 2025-11-08 00:28:29 +03:00
Setting a key_cache_block_size which is not a power of 2 could corrupt MyISAM tables. A couple of computations in the key cache code use bit operations which do only work if key_cache_block_size is a power of 2. Replaced bit operations by arithmetic operations to make key cache able to handle block sizes that are not a power of 2.
7.5 KiB
7.5 KiB