about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/btree/bt_split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/btree/bt_split.c b/db/btree/bt_split.c
index 4951fcb096..4484219ae2 100644
--- a/db/btree/bt_split.c
+++ b/db/btree/bt_split.c
@@ -688,7 +688,7 @@ bt_psplit(t, h, l, r, pskip, ilen)
 			memmove((char *)l + l->upper, src, nbytes);
 		}
 
-		sed += nbytes + sizeof(indx_t);
+		used += nbytes + sizeof(indx_t);
 		if (used >= half) {
 			if (!isbigkey || bigkeycnt == 3)
 				break;