aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-01-27 17:48:14 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-01-27 17:48:14 +0000
commit8a3eef22e38136513370f0dfb3cf7866ec2abaa3 (patch)
tree0018a58d0612a0b70ae4d5f5a4f3bfd03b7f61ef /src/libstore
parentc60a4943ba913a282a35b18e725b69859270dc22 (diff)
* Fix deadlock.
Diffstat (limited to 'src/libstore')
-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 7e397bebf..14a3ff6cb 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()));