Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2026 13:53:05 +0000
From:      Bojan Novk=?utf-8?Q?ovi=C4=87?= <bnovkov@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 1e233e393ddd - main - btree/bt_split.c: Fix a misaligned if statement
Message-ID:  <6978c341.24689.1020b600@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bnovkov:

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

commit 1e233e393ddd39faa4c530351c5a584ea0ef4df0
Author:     Bojan Novković <bnovkov@FreeBSD.org>
AuthorDate: 2026-01-27 13:44:54 +0000
Commit:     Bojan Novković <bnovkov@FreeBSD.org>
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)


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6978c341.24689.1020b600>