about summary refs log tree commit diff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-12-05T18·23+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-12-05T18·23+0000
commitde79d23f76c13da820f7167cd980264b2de28bd2 (patch)
tree42f621be53382d93b815b81fa8c0c81052a5927e /src/libstore/globals.hh
parent365f3028ddfb5487f35ebbb9adc42ddf9459113d (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