From 8a3eef22e38136513370f0dfb3cf7866ec2abaa3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 27 Jan 2005 17:48:14 +0000 Subject: * Fix deadlock. --- src/libstore/store.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore') 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())); -- cgit v1.2.3