about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-27T17·48+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-27T17·48+0000
commit8a3eef22e38136513370f0dfb3cf7866ec2abaa3 (patch)
tree0018a58d0612a0b70ae4d5f5a4f3bfd03b7f61ef
parentc60a4943ba913a282a35b18e725b69859270dc22 (diff)
* Fix deadlock.
-rw-r--r--src/libstore/store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store.cc b/src/libstore/store.cc
index 7e397bebf52a..14a3ff6cba46 100644
--- a/src/libstore/store.cc
+++ b/src/libstore/store.cc
@@ -270,7 +270,7 @@ void setReferences(const Transaction & txn, const Path & storePath,
             % storePath);
 
     Paths oldReferences;
-    nixDB.queryStrings(noTxn, dbReferences, storePath, oldReferences);
+    nixDB.queryStrings(txn, dbReferences, storePath, oldReferences);
     
     nixDB.setStrings(txn, dbReferences, storePath,
         Paths(references.begin(), references.end()));