From 2b20318b0e968432438a7528b2d11d05585877c2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 22 Feb 2010 14:24:37 +0000 Subject: [PATCH] --- src/libstore/local-store.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index 7df67555ee..7db2aabe48 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(); }