From e6801007bd1d7ff2dac806dec633322ee05cd945 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 8 Sep 2014 00:25:36 -0400 Subject: [PATCH] CmdSync - Removed TDB2::commit. --- src/commands/CmdSync.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/commands/CmdSync.cpp b/src/commands/CmdSync.cpp index 528875d32..308218993 100644 --- a/src/commands/CmdSync.cpp +++ b/src/commands/CmdSync.cpp @@ -237,9 +237,6 @@ int CmdSync::execute (std::string& output) context.tdb2.backlog.clear_lines (); context.tdb2.backlog.add_line (sync_key + "\n"); - // Commit all changes. - context.tdb2.commit (); - // Present a clear status message. if (upload_count == 0 && download_count == 0) // Note: should not happen - expect code 201 instead.