mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
Addresses #1577 Don't forget about buffers in memarena when one buffer gets full
git-svn-id: file:///svn/toku/tokudb@10499 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
0844eec052
commit
b97ed02dfe
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ void* malloc_in_memarena (MEMARENA ma, size_t size) {
|
|||
assert(ma->other_bufs);
|
||||
ma->other_bufs[old_n]=ma->buf;
|
||||
ma->n_other_bufs = old_n+1;
|
||||
ma->size_of_other_bufs += ma->buf_size;
|
||||
}
|
||||
// Make a new one
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue