mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
branches/zip: Bug fixes.
data0data.c: Add #include "page0zip.h" that was forgotten from r739. page_cur_insert_rec_low(): Remove a memory leak when preventing extra_size to grow.
This commit is contained in:
parent
0ebbc851b1
commit
49c9bbd81e
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@ Created 5/30/1994 Heikki Tuuri
|
|||
#include "rem0rec.h"
|
||||
#include "rem0cmp.h"
|
||||
#include "page0page.h"
|
||||
#include "page0zip.h"
|
||||
#include "dict0dict.h"
|
||||
#include "btr0cur.h"
|
||||
|
||||
|
|
|
@ -976,7 +976,7 @@ too_small:
|
|||
} else if (UNIV_UNLIKELY(extra_size_diff)) {
|
||||
/* Do not allow extra_size to grow */
|
||||
|
||||
goto use_heap;
|
||||
goto too_small;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue