diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-16T12·36+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-16T12·36+0200 |
commit | bce14d0f61801f0f1c3080970619e2ca11683a4e (patch) | |
tree | e1b5df5a0dd8fc566a9d298c4b5efe6eac84a601 /src/libstore/misc.cc | |
parent | 7cdefdbe732c209e13f234eb71022791909a5518 (diff) |
Don't wrap read-only queries in a transaction
There is no risk of getting an inconsistent result here: if the ID returned by queryValidPathId() is deleted from the database concurrently, subsequent queries involving that ID will simply fail (since IDs are never reused).
Diffstat (limited to 'src/libstore/misc.cc')
0 files changed, 0 insertions, 0 deletions