diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-12-05T18·23+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-12-05T18·23+0000 |
commit | de79d23f76c13da820f7167cd980264b2de28bd2 (patch) | |
tree | 42f621be53382d93b815b81fa8c0c81052a5927e /src/libstore/globals.hh | |
parent | 365f3028ddfb5487f35ebbb9adc42ddf9459113d (diff) |
* Retry a transaction if SQLite returns SQLITE_BUSY. This can happen
even with a very long busy timeout, because SQLITE_BUSY is also returned to resolve deadlocks. This should get rid of random "database is locked" errors. This is kind of hard to test though. * Fix a horrible bug in deleteFromStore(): deletePathWrapped() should be called after committing the transaction, not before, because the commit might not succeed.
Diffstat (limited to 'src/libstore/globals.hh')
0 files changed, 0 insertions, 0 deletions