btree/bt_split.c: Fix a misaligned if statement
Sponsored by: Klara, Inc.
This commit is contained in:
@@ -542,7 +542,7 @@ bt_broot(BTREE *t, PAGE *h, PAGE *l, PAGE *r)
|
|||||||
* If the key is on an overflow page, mark the overflow chain
|
* If the key is on an overflow page, mark the overflow chain
|
||||||
* so it isn't deleted when the leaf copy of the key is deleted.
|
* so it isn't deleted when the leaf copy of the key is deleted.
|
||||||
*/
|
*/
|
||||||
if (bl->flags & P_BIGKEY) {
|
if (bl->flags & P_BIGKEY) {
|
||||||
pgno_t pgno;
|
pgno_t pgno;
|
||||||
memcpy(&pgno, bl->bytes, sizeof(pgno));
|
memcpy(&pgno, bl->bytes, sizeof(pgno));
|
||||||
if (bt_preserve(t, pgno) == RET_ERROR)
|
if (bt_preserve(t, pgno) == RET_ERROR)
|
||||||
|
|||||||
Reference in New Issue
Block a user