Loading newbrt/brt-serialize.c +1 −1 Original line number Diff line number Diff line Loading @@ -574,7 +574,7 @@ rebalance_brtnode_leaf(BRTNODE node, unsigned int basementnodesize) u_int32_t tmp_seqinsert = BLB_SEQINSERT(node, num_orig_basements - 1); // choose the max msn applied to any basement as the max msn applied to all new basements MSN max_msn = MIN_MSN; MSN max_msn = ZERO_MSN; for (uint32_t i = 0; i < num_orig_basements; i++) { MSN curr_msn = BLB_MAX_MSN_APPLIED(node,i); max_msn = (curr_msn.msn > max_msn.msn) ? curr_msn : max_msn; Loading newbrt/brt.c +1 −1 Original line number Diff line number Diff line Loading @@ -1431,7 +1431,7 @@ toku_initialize_empty_brtnode (BRTNODE n, BLOCKNUM nodename, int height, int num else STATUS_VALUE(BRT_CREATE_NONLEAF)++; n->max_msn_applied_to_node_on_disk = MIN_MSN; // correct value for root node, harmless for others n->max_msn_applied_to_node_on_disk = ZERO_MSN; // correct value for root node, harmless for others n->h = h; n->nodesize = nodesize; n->flags = flags; Loading Loading
newbrt/brt-serialize.c +1 −1 Original line number Diff line number Diff line Loading @@ -574,7 +574,7 @@ rebalance_brtnode_leaf(BRTNODE node, unsigned int basementnodesize) u_int32_t tmp_seqinsert = BLB_SEQINSERT(node, num_orig_basements - 1); // choose the max msn applied to any basement as the max msn applied to all new basements MSN max_msn = MIN_MSN; MSN max_msn = ZERO_MSN; for (uint32_t i = 0; i < num_orig_basements; i++) { MSN curr_msn = BLB_MAX_MSN_APPLIED(node,i); max_msn = (curr_msn.msn > max_msn.msn) ? curr_msn : max_msn; Loading
newbrt/brt.c +1 −1 Original line number Diff line number Diff line Loading @@ -1431,7 +1431,7 @@ toku_initialize_empty_brtnode (BRTNODE n, BLOCKNUM nodename, int height, int num else STATUS_VALUE(BRT_CREATE_NONLEAF)++; n->max_msn_applied_to_node_on_disk = MIN_MSN; // correct value for root node, harmless for others n->max_msn_applied_to_node_on_disk = ZERO_MSN; // correct value for root node, harmless for others n->h = h; n->nodesize = nodesize; n->flags = flags; Loading