The branch main has been updated by bnovkov:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=1e233e393ddd39faa4c530351c5a584ea0ef4df0

commit 1e233e393ddd39faa4c530351c5a584ea0ef4df0
Author:     Bojan Novković <[email protected]>
AuthorDate: 2026-01-27 13:44:54 +0000
Commit:     Bojan Novković <[email protected]>
CommitDate: 2026-01-27 13:52:29 +0000

    btree/bt_split.c: Fix a misaligned if statement
    
    Sponsored by:   Klara, Inc.
---
 lib/libc/db/btree/bt_split.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc/db/btree/bt_split.c b/lib/libc/db/btree/bt_split.c
index 5fbf8c3ac0f3..865543928c35 100644
--- a/lib/libc/db/btree/bt_split.c
+++ b/lib/libc/db/btree/bt_split.c
@@ -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)

Reply via email to