* Fix deadlock.

This commit is contained in:
Eelco Dolstra 2005-01-27 17:48:14 +00:00
parent c60a4943ba
commit 8a3eef22e3
1 changed files with 1 additions and 1 deletions

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