1. 12 Mar, 2010 1 commit
  2. 11 Mar, 2010 1 commit
  3. 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
  4. 09 Mar, 2010 1 commit
  5. 04 Mar, 2010 1 commit
  6. 03 Mar, 2010 5 commits
  7. 02 Mar, 2010 1 commit
  8. 01 Mar, 2010 3 commits
  9. 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
  10. 18 Feb, 2010 3 commits
  11. 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
  12. 06 Feb, 2010 1 commit
  13. 05 Feb, 2010 5 commits
  14. 02 Feb, 2010 1 commit
  15. 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
  16. 29 Jan, 2010 1 commit
  17. 28 Jan, 2010 1 commit
  18. 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
  19. 21 Jan, 2010 2 commits
  20. 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
  21. 12 Jan, 2010 1 commit
  22. 07 Jan, 2010 4 commits
    • Vasu Nori's avatar
      am 8d413dec: am 2ea3148c: remove usage of poison_patch from sqlite. · 16db8c86
      Vasu Nori authored
      Merge commit '8d413dec'
      
      * commit '8d413dec':
        remove usage of poison_patch from sqlite.
      16db8c86
    • Vasu Nori's avatar
      am 2ea3148c: remove usage of poison_patch from sqlite. · 8d413dec
      Vasu Nori authored
      Merge commit '2ea3148c' into eclair-plus-aosp
      
      * commit '2ea3148c':
        remove usage of poison_patch from sqlite.
      8d413dec
    • Vasu Nori's avatar
      remove usage of poison_patch from sqlite. · 2ea3148c
      Vasu Nori authored
      Google gears team implemented a patch to sqlite called "poison the header".
      It got included in sqlite android shipped.
      
      This patch is meant to corrupt the database header if some sqlite process
      concludes that the database is corrupt. Thereafter, any other sqlite process
      opening the same database file would quickly see the corruption and exit.
      
      I am not convinced that this is a useful patch for Android.
      And, it patch didn't make it to the open source version of sqlite.
      
      could it be causing previously nonexisting
      database corruption, by incorrectly poisoning the database header? thats
      what I am suspecting.
      2ea3148c
    • Vasu Nori's avatar
      Don't use the "poison sqlite header" logic. could be a problem. · 5c5b80fc
      Vasu Nori authored
      Google gears team implemented a patch to sqlite called "poison the header".
      It got included in sqlite android shipped.
      
      This patch is meant to corrupt the database header if some sqlite process
      concludes that the database is corrupt. Thereafter, any other sqlite process
      opening the same database file would quickly see the corruption and exit.
      
      I am not convinced that this is a useful patch for Android.
      And, it patch didn't make it to the open source version of sqlite.
      
      could it be causing previously nonexisting
      database corruption, by incorrectly poisoning the database header? thats
      what I am suspecting.
      5c5b80fc