SQLite Android Bindings
Check-in [6890253cf4]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update this project to SQLite version 3.27.1
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6890253cf472742b8edd7db649af5877d8060623
User & Date: dan 2019-02-09 18:24:48
Context
2019-02-26
13:54
Upgrade this project to 3.27.2. check-in: b649c3c208 user: dan tags: trunk
2019-02-09
18:24
Update this project to SQLite version 3.27.1 check-in: 6890253cf4 user: dan tags: trunk
2019-02-07
18:15
Upgrade this project to SQLite version 3.27.0. check-in: dd34147be6 user: dan tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to sqlite3/src/main/jni/sqlite/sqlite3.c.

     1      1   /******************************************************************************
     2      2   ** This file is an amalgamation of many separate C source files from SQLite
     3         -** version 3.27.0.  By combining all the individual C code files into this
            3  +** version 3.27.1.  By combining all the individual C code files into this
     4      4   ** single large file, the entire code can be compiled as a single translation
     5      5   ** unit.  This allows many compilers to do optimizations that would not be
     6      6   ** possible if the files were compiled separately.  Performance improvements
     7      7   ** of 5% or more are commonly seen when SQLite is compiled as a single
     8      8   ** translation unit.
     9      9   **
    10     10   ** This file is all you need to compile SQLite.  To use SQLite in other
................................................................................
  1158   1158   ** been edited in any way since it was last checked in, then the last
  1159   1159   ** four hexadecimal digits of the hash may be modified.
  1160   1160   **
  1161   1161   ** See also: [sqlite3_libversion()],
  1162   1162   ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
  1163   1163   ** [sqlite_version()] and [sqlite_source_id()].
  1164   1164   */
  1165         -#define SQLITE_VERSION        "3.27.0"
  1166         -#define SQLITE_VERSION_NUMBER 3027000
  1167         -#define SQLITE_SOURCE_ID      "2019-02-07 17:02:52 97744701c3bd414e6c9d7182639d8c2ce7cf124c4fce625071ae65658ac61713"
         1165  +#define SQLITE_VERSION        "3.27.1"
         1166  +#define SQLITE_VERSION_NUMBER 3027001
         1167  +#define SQLITE_SOURCE_ID      "2019-02-08 13:17:39 0eca3dd3d38b31c92b49ca2d311128b74584714d9e7de895b1a6286ef959a1dd"
  1168   1168   
  1169   1169   /*
  1170   1170   ** CAPI3REF: Run-Time Library Version Numbers
  1171   1171   ** KEYWORDS: sqlite3_version sqlite3_sourceid
  1172   1172   **
  1173   1173   ** These interfaces provide the same information as the [SQLITE_VERSION],
  1174   1174   ** [SQLITE_VERSION_NUMBER], and [SQLITE_SOURCE_ID] C preprocessor macros
................................................................................
137597 137597       ** into reference to index columns.
137598 137598       **
137599 137599       ** Do not do this for the RHS of a LEFT JOIN. This is because the 
137600 137600       ** expression may be evaluated after OP_NullRow has been executed on
137601 137601       ** the cursor. In this case it is important to do the full evaluation,
137602 137602       ** as the result of the expression may not be NULL, even if all table
137603 137603       ** column values are.  https://www.sqlite.org/src/info/7fa8049685b50b5a
       137604  +    **
       137605  +    ** Also, do not do this when processing one index an a multi-index
       137606  +    ** OR clause, since the transformation will become invalid once we
       137607  +    ** move forward to the next index.
       137608  +    ** https://sqlite.org/src/info/4e8e4857d32d401f
137604 137609       */
137605         -    if( pLevel->iLeftJoin==0 ){
       137610  +    if( pLevel->iLeftJoin==0 && (pWInfo->wctrlFlags & WHERE_OR_SUBCLAUSE)==0 ){
137606 137611         whereIndexExprTrans(pIdx, iCur, iIdxCur, pWInfo);
137607 137612       }
137608 137613   
137609 137614       /* Record the instruction used to terminate the loop. */
137610 137615       if( pLoop->wsFlags & WHERE_ONEROW ){
137611 137616         pLevel->op = OP_Noop;
137612 137617       }else if( bRev ){
................................................................................
217067 217072   static void fts5SourceIdFunc(
217068 217073     sqlite3_context *pCtx,          /* Function call context */
217069 217074     int nArg,                       /* Number of args */
217070 217075     sqlite3_value **apUnused        /* Function arguments */
217071 217076   ){
217072 217077     assert( nArg==0 );
217073 217078     UNUSED_PARAM2(nArg, apUnused);
217074         -  sqlite3_result_text(pCtx, "fts5: 2019-02-07 17:02:52 97744701c3bd414e6c9d7182639d8c2ce7cf124c4fce625071ae65658ac61713", -1, SQLITE_TRANSIENT);
       217079  +  sqlite3_result_text(pCtx, "fts5: 2019-02-08 13:17:39 0eca3dd3d38b31c92b49ca2d311128b74584714d9e7de895b1a6286ef959a1dd", -1, SQLITE_TRANSIENT);
217075 217080   }
217076 217081   
217077 217082   /*
217078 217083   ** Return true if zName is the extension on one of the shadow tables used
217079 217084   ** by this module.
217080 217085   */
217081 217086   static int fts5ShadowName(const char *zName){
................................................................................
221831 221836   #endif
221832 221837     return rc;
221833 221838   }
221834 221839   #endif /* SQLITE_CORE */
221835 221840   #endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_STMTVTAB) */
221836 221841   
221837 221842   /************** End of stmt.c ************************************************/
221838         -#if __LINE__!=221838
       221843  +#if __LINE__!=221843
221839 221844   #undef SQLITE_SOURCE_ID
221840         -#define SQLITE_SOURCE_ID      "2019-02-07 17:02:52 97744701c3bd414e6c9d7182639d8c2ce7cf124c4fce625071ae65658ac6alt2"
       221845  +#define SQLITE_SOURCE_ID      "2019-02-08 13:17:39 0eca3dd3d38b31c92b49ca2d311128b74584714d9e7de895b1a6286ef959alt2"
221841 221846   #endif
221842 221847   /* Return the source-id for this library */
221843 221848   SQLITE_API const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; }
221844 221849   /************************** End of sqlite3.c ******************************/

Changes to sqlite3/src/main/jni/sqlite/sqlite3.h.

   119    119   ** been edited in any way since it was last checked in, then the last
   120    120   ** four hexadecimal digits of the hash may be modified.
   121    121   **
   122    122   ** See also: [sqlite3_libversion()],
   123    123   ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
   124    124   ** [sqlite_version()] and [sqlite_source_id()].
   125    125   */
   126         -#define SQLITE_VERSION        "3.27.0"
   127         -#define SQLITE_VERSION_NUMBER 3027000
   128         -#define SQLITE_SOURCE_ID      "2019-02-07 17:02:52 97744701c3bd414e6c9d7182639d8c2ce7cf124c4fce625071ae65658ac61713"
          126  +#define SQLITE_VERSION        "3.27.1"
          127  +#define SQLITE_VERSION_NUMBER 3027001
          128  +#define SQLITE_SOURCE_ID      "2019-02-08 13:17:39 0eca3dd3d38b31c92b49ca2d311128b74584714d9e7de895b1a6286ef959a1dd"
   129    129   
   130    130   /*
   131    131   ** CAPI3REF: Run-Time Library Version Numbers
   132    132   ** KEYWORDS: sqlite3_version sqlite3_sourceid
   133    133   **
   134    134   ** These interfaces provide the same information as the [SQLITE_VERSION],
   135    135   ** [SQLITE_VERSION_NUMBER], and [SQLITE_SOURCE_ID] C preprocessor macros