- Added a necessary TDB2::commit call.
This commit is contained in:
Paul Beckingham 2011-09-03 12:58:18 -04:00
parent 84ccf4399c
commit a04ce55544

View file

@ -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 <std::string> words = context.a3.extract_words ();
std::string file;