From a04ce555445943856b192534fe5e90702aaafe42 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 3 Sep 2011 12:58:18 -0400 Subject: [PATCH] TDB2 - Added a necessary TDB2::commit call. --- src/commands/CmdMerge.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdMerge.cpp b/src/commands/CmdMerge.cpp index b530ae669..41b2d97aa 100644 --- a/src/commands/CmdMerge.cpp +++ b/src/commands/CmdMerge.cpp @@ -49,9 +49,9 @@ CmdMerge::CmdMerge () //////////////////////////////////////////////////////////////////////////////// int CmdMerge::execute (std::string& output) { - // invoke gc before merging in order to update data files - context.tdb.gc (); + // invoke gc and commit before merging in order to update data files context.tdb2.gc (); + context.tdb2.commit (); std::vector words = context.a3.extract_words (); std::string file;