ITS#7589 Fix typo in prev commit

vmware
Howard Chu 11 years ago
parent 400e21370b
commit 2211fb15db
  1. 2
      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; node = NULL;
} else { } else {
node = (MDB_node *)((char *)mp + copy->mp_ptrs[i]); 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 (IS_LEAF(mp)) {
if (F_ISSET(node->mn_flags, F_BIGDATA)) if (F_ISSET(node->mn_flags, F_BIGDATA))
psize += sizeof(pgno_t); psize += sizeof(pgno_t);

Loading…
Cancel
Save