diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-27T17·48+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-01-27T17·48+0000 |
commit | 8a3eef22e38136513370f0dfb3cf7866ec2abaa3 (patch) | |
tree | 0018a58d0612a0b70ae4d5f5a4f3bfd03b7f61ef /src/libstore/store.cc | |
parent | c60a4943ba913a282a35b18e725b69859270dc22 (diff) |
* Fix deadlock.
Diffstat (limited to 'src/libstore/store.cc')
-rw-r--r-- | src/libstore/store.cc | 2 |
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())); |