diff options
author | Monty <monty@mariadb.org> | 2015-08-13 01:27:23 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2015-08-13 01:27:23 +0300 |
commit | afa9cb7519fcb73d546bba45d3baa7b157926084 (patch) | |
tree | e207ab7924f79ce56c822cf2f6b76f2ff9fe925a /mysql-test/t/events_logs_tests-master.opt | |
parent | 0403790722e3941779ccea26e85fcd818e2320b5 (diff) | |
download | mariadb-git-afa9cb7519fcb73d546bba45d3baa7b157926084.tar.gz |
Fixed overrun in key cache if one tried to allocate a key cache
of more than 45G with a key_cache_block_size of 1024 or less.
The problem was that some of the arguments to my_multi_malloc() got to be
more than 4G.
Fix:
- Inntroduced my_multi_malloc_large() that can handle big regions.
- Changed MyISAM and Aria key caches to use my_multi_malloc_large().
I didn't change the default my_multi_malloc() as this would be a too big
patch and we don't allocate 4G blocks anywhere else.
Diffstat (limited to 'mysql-test/t/events_logs_tests-master.opt')
0 files changed, 0 insertions, 0 deletions