summaryrefslogtreecommitdiff
path: root/storage/tokudb/PerconaFT/ft/tests/verify-unsorted-leaf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/PerconaFT/ft/tests/verify-unsorted-leaf.cc')
-rw-r--r--storage/tokudb/PerconaFT/ft/tests/verify-unsorted-leaf.cc15
1 files changed, 12 insertions, 3 deletions
diff --git a/storage/tokudb/PerconaFT/ft/tests/verify-unsorted-leaf.cc b/storage/tokudb/PerconaFT/ft/tests/verify-unsorted-leaf.cc
index 4392887718f..ca413f52567 100644
--- a/storage/tokudb/PerconaFT/ft/tests/verify-unsorted-leaf.cc
+++ b/storage/tokudb/PerconaFT/ft/tests/verify-unsorted-leaf.cc
@@ -68,9 +68,18 @@ append_leaf(FTNODE leafnode, void *key, size_t keylen, void *val, size_t vallen)
MSN msn = next_dummymsn();
ft_msg msg(&thekey, &theval, FT_INSERT, msn, toku_xids_get_root_xids());
txn_gc_info gc_info(nullptr, TXNID_NONE, TXNID_NONE, false);
- toku_ft_bn_apply_msg_once(BLB(leafnode, 0), msg, idx, keylen, NULL, &gc_info, NULL, NULL);
-
- // dont forget to dirty the node
+ toku_ft_bn_apply_msg_once(
+ BLB(leafnode, 0),
+ msg,
+ idx,
+ keylen,
+ NULL,
+ &gc_info,
+ NULL,
+ NULL,
+ NULL);
+
+ // don't forget to dirty the node
leafnode->dirty = 1;
}