diff --git a/src/apps/readOnlyHash/CMakeLists.txt b/src/apps/readOnlyHash/CMakeLists.txt new file mode 100644 index 0000000..8a8b1b1 --- /dev/null +++ b/src/apps/readOnlyHash/CMakeLists.txt @@ -0,0 +1,4 @@ +ADD_EXECUTABLE(buildTable buildTable.c) +TARGET_LINK_LIBRARIES(buildTable ${COMMON_LIBRARIES}) +ADD_EXECUTABLE(queryTable queryTable.c) +TARGET_LINK_LIBRARIES(queryTable ${COMMON_LIBRARIES}) diff --git a/src/apps/readOnlyHash/buildTable.c b/src/apps/readOnlyHash/buildTable.c index 67c0a28..11dfe06 100644 --- a/src/apps/readOnlyHash/buildTable.c +++ b/src/apps/readOnlyHash/buildTable.c @@ -53,7 +53,7 @@ int main(int argc, char** argv) { } Tcommit(xid); - truncateNow(1); + stasis_truncation_truncate(stasis_log_file, 1); Tdeinit(); return 0; }