0
0
Fork 0
forked from lix-project/lix

* Fix deadlock.

This commit is contained in:
Eelco Dolstra 2005-01-27 17:48:14 +00:00
parent c60a4943ba
commit 8a3eef22e3

View file

@ -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()));