#include "logstore.h" int main(int argc, char **argv) { unlink("storefile.txt"); unlink("logfile.txt"); sync(); diskTreeComponent::init_stasis(); int xid = Tbegin(); logtable ltable; recordid table_root = ltable.allocTable(xid); Tcommit(xid); //ltable.startTable(); // lsmTableHandle* h = TlsmTableStart(lsmTable, INVALID_COL); xid = Tbegin(); diskTreeComponent::iterator * it = new diskTreeComponent::iterator(xid,ltable.get_tree_c2()->get_root_rec() ); it->close(); delete it; Tcommit(xid); diskTreeComponent::deinit_stasis(); }