1. 27 Feb, 2014 1 commit
    • Adrian Negreanu's avatar
      sqlite3: speedup the SELECTs · d7f9bbed
      Adrian Negreanu authored
      The uniqueness of rows is maintained by first doing a select.
      In case the item is not found, it's INSERTed.
      
      This is done for files, refids, params and includes, data
      that is not unique by itself, like cross-references for example.
      In other words, you can have many memberdefs in one file,
      but you can only have one cross-reference between two functions
      since the reference location is unique.
      
      So, when SELECTing files and refids, use the file name and refids
      as primary key since that's the fastest way to do it.
      
      Also 'OR REPLACE' not necessary in 'INSERT OR REPLACE'.
      Signed-off-by: 's avatarAdrian Negreanu <adrian.m.negreanu@intel.com>
      d7f9bbed
  2. 23 Feb, 2014 2 commits
  3. 22 Feb, 2014 3 commits
  4. 20 Feb, 2014 3 commits
  5. 17 Feb, 2014 1 commit
  6. 15 Feb, 2014 11 commits
  7. 12 Feb, 2014 5 commits
  8. 11 Feb, 2014 3 commits
  9. 10 Feb, 2014 4 commits
  10. 09 Feb, 2014 7 commits