summaryrefslogtreecommitdiff
path: root/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc')
-rw-r--r--storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc b/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc
index b6eaab3073a..419cbd2cb51 100644
--- a/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc
+++ b/storage/tokudb/ft-index/ft/tests/test-hot-with-bounds.cc
@@ -29,7 +29,7 @@ COPYING CONDITIONS NOTICE:
COPYRIGHT NOTICE:
- TokuDB, Tokutek Fractal Tree Indexing Library.
+ TokuFT, Tokutek Fractal Tree Indexing Library.
Copyright (C) 2007-2013 Tokutek, Inc.
DISCLAIMER:
@@ -96,10 +96,9 @@ PATENT RIGHTS GRANT:
#include <ft-cachetable-wrappers.h>
#include "ft-flusher.h"
#include "ft-flusher-internal.h"
-#include "checkpoint.h"
+#include "cachetable/checkpoint.h"
static TOKUTXN const null_txn = 0;
-static DB * const null_db = 0;
enum { NODESIZE = 1024, KSIZE=NODESIZE-100, TOKU_PSIZE=20 };
@@ -113,7 +112,7 @@ doit (void) {
int r;
- toku_cachetable_create(&ct, 500*1024*1024, ZERO_LSN, NULL_LOGGER);
+ toku_cachetable_create(&ct, 500*1024*1024, ZERO_LSN, nullptr);
unlink(TOKU_TEST_FILENAME);
r = toku_open_ft_handle(TOKU_TEST_FILENAME, 1, &t, NODESIZE, NODESIZE/2, TOKU_DEFAULT_COMPRESSION_METHOD, ct, null_txn, toku_builtin_compare_fun);
assert(r==0);
@@ -181,8 +180,8 @@ doit (void) {
// the root, one in each buffer, let's verify this.
FTNODE node = NULL;
- struct ftnode_fetch_extra bfe;
- fill_bfe_for_min_read(&bfe, t->ft);
+ ftnode_fetch_extra bfe;
+ bfe.create_for_min_read(t->ft);
toku_pin_ftnode(
t->ft,
node_root,
@@ -211,7 +210,7 @@ doit (void) {
// at this point, we have should have flushed
// only the middle buffer, let's verify this.
node = NULL;
- fill_bfe_for_min_read(&bfe, t->ft);
+ bfe.create_for_min_read(t->ft);
toku_pin_ftnode(
t->ft,
node_root,