From 2211fb15db90e47b43690a55b93231e0345224fa Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 12 Oct 2013 13:31:09 -0700 Subject: [PATCH] ITS#7589 Fix typo in prev commit --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index deb2d7c..e33b383 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -7545,7 +7545,7 @@ mdb_page_split(MDB_cursor *mc, MDB_val *newkey, MDB_val *newdata, pgno_t newpgno node = NULL; } else { node = (MDB_node *)((char *)mp + copy->mp_ptrs[i]); - psize = NODESIZE + NODEKSZ(node) + sizeof(indx_t); + psize += NODESIZE + NODEKSZ(node) + sizeof(indx_t); if (IS_LEAF(mp)) { if (F_ISSET(node->mn_flags, F_BIGDATA)) psize += sizeof(pgno_t);