1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 7df67555eeea..7db2aabe4875 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -803,8 +803,6 @@ void LocalStore::invalidatePath(const Path & path)
{
debug(format("invalidating path `%1%'") % path);
- SQLiteTxn txn(db);
-
SQLiteStmtUse use(stmtInvalidatePath);
stmtInvalidatePath.bind(path);
@@ -814,8 +812,6 @@ void LocalStore::invalidatePath(const Path & path)
/* Note that the foreign key constraints on the Refs table take
care of deleting the references entries for `path'. */
-
- txn.commit();
}
|