1. 22 Oct, 2015 1 commit
    • Hugo Beauzée-Luyssen's avatar
      Cache: Fix a race condition · 25213b7c
      Hugo Beauzée-Luyssen authored
      This was causing the insertion assert to trigger, due a thread querying
      the database while:
      - Holding the cache lock
      - Acquiring the database lock
      - Inserting the fetched entity in cache if it didn't exist
      
      While another thread was inserting an entity while:
      - Holding the database lock
      - Releasing it after the insertion was done
      - Holding the cache lock
      - Checking that the entity didn't exist in cache
      
      Since the locking order wasn't consistent, the 1st thread was
      interupting the 2nd before it was done with the entire insertion
      method, causing an inconsistent state.
      25213b7c
  2. 20 Oct, 2015 1 commit
    • Hugo Beauzée-Luyssen's avatar
      sqlite: Introduce a "Row" helper · 62fddf11
      Hugo Beauzée-Luyssen authored
      This makes it easier to scan a row and extract values to variables,
      without having to manually pass the column index.
      In the likely event we add/remove columns, this will help prevent
      regressions as well.
      62fddf11
  3. 19 Oct, 2015 1 commit
  4. 09 Oct, 2015 1 commit
  5. 08 Oct, 2015 2 commits
  6. 07 Oct, 2015 2 commits
  7. 05 Oct, 2015 2 commits
  8. 15 Apr, 2015 1 commit
  9. 12 Apr, 2015 1 commit
  10. 26 May, 2014 1 commit
  11. 24 May, 2014 2 commits
  12. 23 May, 2014 2 commits
  13. 21 May, 2014 2 commits
  14. 20 May, 2014 4 commits
  15. 17 May, 2014 6 commits