1. 07 Apr, 2010 1 commit
    • Vasu Nori's avatar
      sqlite should assume corruption if file header is bad · e523d00e
      Vasu Nori authored
      sqlite doesn't think corruption when it detects bad file header. on android,
      there should be no reason to try to open a database file and find
      a bad header. so, add android patch to sqlite to assume corruption
      when this occurs.
      
      Change-Id: I6b26613852b5247799af35a9c8e166b32ba697ff
      e523d00e
  2. 23 Mar, 2010 1 commit
  3. 18 Mar, 2010 1 commit
    • Daisuke Miyakawa's avatar
      Add PHONEBOOK_COLLATOR toward SQLite so that database users are able to sort based on phonebook · 31089e07
      Daisuke Miyakawa authored
      in ja_JP locale.
      
      In the future, we may able to use PHONEBOOK_COLLATOR in the other locales, but we don't use
      the other phonebook collator now since we cannot estimate how impactful the change is.
      Now we have a customized phonebook collator in Japanese and we need it in ContactsProvider,
      we'll use only the collator.
      
      Do not use this collator in the other packages and locales now. We may decide revert it in the
      near future after furter investigatons.
      
      Need to submit I4dd1b047 to make this change actually effective. Without the change,
      we will have a phonebook collator for "previous" locale, not the current one.
      
      Bug: 2514026
      Bug: 2373557
      Bug: 2373553
      Change-Id: If6f548c0a80fe01e779b4dfc46f74224003f1798
      31089e07
  4. 17 Mar, 2010 1 commit
  5. 12 Mar, 2010 1 commit
  6. 11 Mar, 2010 1 commit
  7. 10 Mar, 2010 1 commit
    • Vasu Nori's avatar
      remove dead code · 1ce7bcaf
      Vasu Nori authored
      after the following CL is submitted, check this in
         Change-Id: If07d4f67facf9b5806b8cd11879bae51f8daf322
      
      Change-Id: Ie3c20489265aebdb83657343d25f1e9ecb7f2d84
      1ce7bcaf
  8. 09 Mar, 2010 1 commit
  9. 04 Mar, 2010 1 commit
  10. 03 Mar, 2010 5 commits
  11. 02 Mar, 2010 1 commit
  12. 01 Mar, 2010 3 commits
  13. 23 Feb, 2010 1 commit
    • Vasu Nori's avatar
      fix to address bug:2454891 · e568ad0c
      Vasu Nori authored
      log a message until sqlite guy gives me a fix to implement logging of
      such events in a more elegant way (like sqlite3_trace)
      e568ad0c
  14. 18 Feb, 2010 3 commits
  15. 11 Feb, 2010 1 commit
    • Vasu Nori's avatar
      when sqlite encounters SQLITE_MISUE error, cause segfault. STOPSHIP. · 61cde95b
      Vasu Nori authored
      this CL wil have to be reverted before shipping. thats why the STOPSHIP
      comment all over this CL.
      goal is to get stacktrace to help debug http://b/2419869 because it is
      intermittently occuring bug and sqlite3 doesn't give enough info
      when this error occurs.
      Richard Hipp of sqlite is going to send a patch that will provide additional
      info when this error occurs.
      61cde95b
  16. 06 Feb, 2010 1 commit
  17. 05 Feb, 2010 5 commits
  18. 02 Feb, 2010 1 commit
  19. 30 Jan, 2010 1 commit
    • Vasu Nori's avatar
      Add more debugging info when database close() fails. · 36e3a0c2
      Vasu Nori authored
      When database close() fails, sqlite gives a cryptic message
      "unable to close due to unfinalised statements".
      Added more info to this message to help developer look at one of the sql
      statements that is not finalized and is causing this problem.
      36e3a0c2
  20. 29 Jan, 2010 1 commit
  21. 28 Jan, 2010 1 commit
  22. 22 Jan, 2010 2 commits
    • Vasu Nori's avatar
      don't need groupConcat func written for android · 690bfc98
      Vasu Nori authored
      it has 2 bugs (1) needs to be extended to return strings longer than 1K
      (2) the following bug
            create table a1 (i int, j varchar(5));
          insert 2 rows with j = ''
            insert into a1 values(1,'');
            insert into a1 values(1,'');
          insert 2 rows with j = null
            insert into a1 (i) values (2);
            insert into a1 (i) values (2);
          with original sqlite3 groupConcat func
             select length(group_concat(j,' ')) from a1 where i = 1;
          result is
             1
          with android sqlite3 groupConcat func
             select length(group_concat(j,' ')) from a1 where i = 2;
          result is
             0
      690bfc98
    • Vasu Nori's avatar
      on unsupported_file_format error, throw DBcorruption error (master branch) · f42bc645
      Vasu Nori authored
      unsupported file format error causes the database file NOT be deleted.
      and that makes the app not recoverable.
      by making it corruption error, db will get removed and app will get re-inited,
      even though removing the DB is on corruption is extreme.
      but that is a different issue..
      f42bc645
  23. 21 Jan, 2010 2 commits
  24. 20 Jan, 2010 2 commits
    • Vasu Nori's avatar
      upgrade sqlite from 3.5.9 to 3.6.22 · a4356a0e
      Vasu Nori authored
      you should notice the following from the Android changes in 3.5.9
      1. Android Changes are grouped wherever possible.
      
      To Do
      1. sqlite3_get_pager_stats() needs to be completed
      2. Android change lines 63480-63482 on master branch in sqlite3.c is
      not ported yet. can't see where it goes in 3.6.22 code.
      a4356a0e
    • Vasu Nori's avatar
      add eventlog entry for all corruption cases in sqlite3.c. · 345cf30e
      Vasu Nori authored
      this should help in identifying the line of code in sqlite3.c reporting
      database corruption.
      345cf30e
  25. 12 Jan, 2010 1 commit