1. 04 May, 2010 1 commit
    • Vasu Nori's avatar
      add FTS3 _backward_compatibility mode to let apps use FTS1 or 2. · 904607b8
      Vasu Nori authored
      bug:2651952
      this mode was previously available in Eclair and below. this mode was removed
      by me for no particular reason in Froyo.
      this change doesn't bring in any new modules into sqlite. just
      allows FTS1 or 2 apps be used with FTS3 running in backward compatibility mode
      
      Change-Id: Id5d72b440a378dd6d6703ce99b5d3d70ffd0c80f
      904607b8
  2. 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
  3. 23 Mar, 2010 1 commit
  4. 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
  5. 03 Mar, 2010 1 commit
  6. 02 Mar, 2010 1 commit
  7. 01 Mar, 2010 2 commits
    • Vasu Nori's avatar
      revert to old ersion until sqlite3.c builds correctly on mac · 9d9edcf9
      Vasu Nori authored
      sqlite3 from DRH broke mac builds.
      9d9edcf9
    • Vasu Nori's avatar
      get latest sqlite from froyo branch created by richard hipp @ sqlite · cd1b5450
      Vasu Nori authored
      this will remove a lot of android specific code from sqlite in
      external/sqlite/dist.
      we are getting closer to using the public domain sqlite.
       ******* NOTE TO REVIEWERS *********
      to compare, don't use gerrit. that will compare this sqlite3.c with
      the currently-checkin version, showing you the differences
      between this sqlite version and the previous sqlite version.
      you may not care about that.
      if you just need to see what android changes to sqlite are,
      then compare the following two files in this CL
          sqlite3.c.orig
          sqlite3.c
      cd1b5450
  8. 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
  9. 18 Feb, 2010 3 commits
  10. 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
  11. 06 Feb, 2010 1 commit
  12. 05 Feb, 2010 1 commit
  13. 02 Feb, 2010 1 commit
  14. 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
  15. 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
  16. 21 Jan, 2010 1 commit
  17. 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
  18. 04 Mar, 2009 2 commits
  19. 21 Oct, 2008 1 commit
  20. 12 Jan, 1970 1 commit