From: Howard Chu Date: Sat, 12 Oct 2013 20:31:09 +0000 (-0700) Subject: ITS#7589 Fix typo in prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_4_37~12^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2211fb15db90e47b43690a55b93231e0345224fa;p=openldap ITS#7589 Fix typo in prev commit --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index deb2d7c9d5..e33b383af6 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);