about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-22T14·24+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-22T14·24+0000
commit2b20318b0e968432438a7528b2d11d05585877c2 (patch)
treedc87192e71bd3129269d80b71aa0f38c92294e1e /src/libstore
parent9cda61694957f2f0428779319f85f626578d0cf0 (diff)
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/local-store.cc4
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();
 }