From 78a72d81f357691da70cb6425432774f511e884f Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Tue, 2 Dec 2008 00:33:45 +0000 Subject: [PATCH] build readonlyhash; fix compile error from nightly builds --- src/apps/readOnlyHash/CMakeLists.txt | 4 ++++ src/apps/readOnlyHash/buildTable.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src/apps/readOnlyHash/CMakeLists.txt 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; }