mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TDB2
- Added a necessary TDB2::commit call.
This commit is contained in:
parent
84ccf4399c
commit
a04ce55544
1 changed files with 2 additions and 2 deletions
|
@ -49,9 +49,9 @@ CmdMerge::CmdMerge ()
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int CmdMerge::execute (std::string& output)
|
int CmdMerge::execute (std::string& output)
|
||||||
{
|
{
|
||||||
// invoke gc before merging in order to update data files
|
// invoke gc and commit before merging in order to update data files
|
||||||
context.tdb.gc ();
|
|
||||||
context.tdb2.gc ();
|
context.tdb2.gc ();
|
||||||
|
context.tdb2.commit ();
|
||||||
|
|
||||||
std::vector <std::string> words = context.a3.extract_words ();
|
std::vector <std::string> words = context.a3.extract_words ();
|
||||||
std::string file;
|
std::string file;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue