btree/bt_split.c: Fix a misaligned if statement

Sponsored by:	Klara, Inc.
This commit is contained in:
Bojan Novković
2026-01-27 14:44:54 +01:00
parent 069a67374e
commit 1e233e393d
+1 -1
View File
@@ -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
* 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;
memcpy(&pgno, bl->bytes, sizeof(pgno));
if (bt_preserve(t, pgno) == RET_ERROR)