1. 19 Nov, 2014 1 commit
    • Martin Storsjo's avatar
      Store inodes in unsigned long long · 006c7975
      Martin Storsjo authored
      In 32 bit ABIs, ino_t is a 32 bit type, while the st_ino field
      in struct stat is 64 bits wide in both 32 and 64 bit processes.
      This means that struct stat can expose inode numbers that are
      truncated when stored in an ino_t.
      
      The SDCard fuse daemon (/system/bin/sdcard) uses raw pointer
      values as inode numbers, so on 64 bit devices, we're very likely
      to observe inodes that need > 32 bits to represent.
      
      The fileHasMoved function in sqlite compares the stored
      inode value with a new one from stat, and when the stored
      value is truncated, this check will falsely indicate that
      the file has been moved. When the fileHasMoved function
      triggers, other functions start returning errors indicating
      that the database is in read-only mode.
      
      NOTE: Bionic differs from glibc in that struct stat's st_ino
      is *always* 64 bits wide, and not the same width as ino_t.
      
      bug: https://code.google.com/p/android/issues/detail?id=79994
      bug: 18434265
      
      (cherry picked from commit eef2c431)
      
      Change-Id: I832e0084e86c9a31519764d87df499ece05b488d
      006c7975
  2. 12 Sep, 2014 1 commit
  3. 11 Sep, 2014 3 commits
  4. 10 Sep, 2014 1 commit
  5. 20 Aug, 2014 1 commit
  6. 10 Jul, 2014 2 commits
  7. 09 Jul, 2014 2 commits
  8. 07 Jun, 2014 3 commits
  9. 29 May, 2014 1 commit
    • Nick Kralevich's avatar
      sqlite: upgrade to SQLite 3.8.4.3 · 8fecf56c
      Nick Kralevich authored
      Downloaded from http://www.sqlite.org/snapshot/sqlite-amalgamation-201405271818.zip
      
        $ sha256sum sqlite-amalgamation-3080403.zip
        8bac4a9cf70270ca514db9b740e0950e7fca0c656119b42454376b7d5769b3d8  sqlite-amalgamation-3080403.zip
      
      dist/orig contains the stock sqlite3 code, as packaged in the ZIP file above.
      
      dist contains a copy of dist/orig, but with the Android.patch file applied.
      Please see Android.patch for a list of differences between stock and
      Android.
      
      Bug: 15288755
      Change-Id: I05f0c302ecb0e6c251cbe8c888f07cf2e0498855
      8fecf56c
  10. 28 May, 2014 3 commits
  11. 23 May, 2014 1 commit
  12. 08 May, 2014 1 commit
  13. 07 May, 2014 3 commits
  14. 06 Mar, 2014 1 commit
  15. 03 Mar, 2014 7 commits
  16. 28 Feb, 2014 3 commits
  17. 25 Feb, 2014 1 commit
    • Jeff Brown's avatar
      Enable ICU support in SQLite. · 399dce67
      Jeff Brown authored
      This makes the "icu" tokenizer available for applications to use
      with full text search.
      
      Bug: 5465099
      Change-Id: I5ad9790ee126d69b68eb3d8907320e74fb89219d
      399dce67
  18. 05 Sep, 2013 2 commits
  19. 24 Jul, 2013 1 commit
  20. 08 Jul, 2013 2 commits