SQLite Android Bindings
Check-in [a283755297]
Not logged in

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

Overview
Comment:Update this project to version 3.20.1.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a283755297e387232b835bf6ce74669f8f832391
User & Date: dan 2017-08-24 17:00:42
Context
2017-09-11
15:39
Add test case to detect problems with zipvfs deployments. check-in: 61fae530b5 user: dan tags: trunk
2017-08-24
17:00
Update this project to version 3.20.1. check-in: a283755297 user: dan tags: trunk
2017-08-01
14:03
Update this project to SQLite version 3.20.0. check-in: 75a2dc4266 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.20.0.  By combining all the individual C code files into this
            3  +** version 3.20.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
................................................................................
  1146   1146   ** string contains the date and time of the check-in (UTC) and a SHA1
  1147   1147   ** or SHA3-256 hash of the entire source tree.
  1148   1148   **
  1149   1149   ** See also: [sqlite3_libversion()],
  1150   1150   ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
  1151   1151   ** [sqlite_version()] and [sqlite_source_id()].
  1152   1152   */
  1153         -#define SQLITE_VERSION        "3.20.0"
  1154         -#define SQLITE_VERSION_NUMBER 3020000
  1155         -#define SQLITE_SOURCE_ID      "2017-08-01 13:24:15 9501e22dfeebdcefa783575e47c60b514d7c2e0cad73b2a496c0bc4b680900a8"
         1153  +#define SQLITE_VERSION        "3.20.1"
         1154  +#define SQLITE_VERSION_NUMBER 3020001
         1155  +#define SQLITE_SOURCE_ID      "2017-08-24 16:21:36 8d3a7ea6c5690d6b7c3767558f4f01b511c55463e3f9e64506801fe9b74dce34"
  1156   1156   
  1157   1157   /*
  1158   1158   ** CAPI3REF: Run-Time Library Version Numbers
  1159   1159   ** KEYWORDS: sqlite3_version sqlite3_sourceid
  1160   1160   **
  1161   1161   ** These interfaces provide the same information as the [SQLITE_VERSION],
  1162   1162   ** [SQLITE_VERSION_NUMBER], and [SQLITE_SOURCE_ID] C preprocessor macros
................................................................................
 77118  77118     sqlite3_context *pCtx,
 77119  77119     void *pPtr,
 77120  77120     const char *zPType,
 77121  77121     void (*xDestructor)(void*)
 77122  77122   ){
 77123  77123     Mem *pOut = pCtx->pOut;
 77124  77124     assert( sqlite3_mutex_held(pOut->db->mutex) );
 77125         -  sqlite3VdbeMemSetNull(pOut);
        77125  +  sqlite3VdbeMemRelease(pOut);
        77126  +  pOut->flags = MEM_Null;
 77126  77127     sqlite3VdbeMemSetPointer(pOut, pPtr, zPType, xDestructor);
 77127  77128   }
 77128  77129   SQLITE_API void sqlite3_result_subtype(sqlite3_context *pCtx, unsigned int eSubtype){
 77129  77130     Mem *pOut = pCtx->pOut;
 77130  77131     assert( sqlite3_mutex_held(pOut->db->mutex) );
 77131  77132     pOut->eSubtype = eSubtype & 0xff;
 77132  77133     pOut->flags |= MEM_Subtype;
................................................................................
200271 200272   static void fts5SourceIdFunc(
200272 200273     sqlite3_context *pCtx,          /* Function call context */
200273 200274     int nArg,                       /* Number of args */
200274 200275     sqlite3_value **apUnused        /* Function arguments */
200275 200276   ){
200276 200277     assert( nArg==0 );
200277 200278     UNUSED_PARAM2(nArg, apUnused);
200278         -  sqlite3_result_text(pCtx, "fts5: 2017-08-01 13:24:15 9501e22dfeebdcefa783575e47c60b514d7c2e0cad73b2a496c0bc4b680900a8", -1, SQLITE_TRANSIENT);
       200279  +  sqlite3_result_text(pCtx, "fts5: 2017-08-24 16:21:36 8d3a7ea6c5690d6b7c3767558f4f01b511c55463e3f9e64506801fe9b74dce34", -1, SQLITE_TRANSIENT);
200279 200280   }
200280 200281   
200281 200282   static int fts5Init(sqlite3 *db){
200282 200283     static const sqlite3_module fts5Mod = {
200283 200284       /* iVersion      */ 2,
200284 200285       /* xCreate       */ fts5CreateMethod,
200285 200286       /* xConnect      */ fts5ConnectMethod,

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

   117    117   ** string contains the date and time of the check-in (UTC) and a SHA1
   118    118   ** or SHA3-256 hash of the entire source tree.
   119    119   **
   120    120   ** See also: [sqlite3_libversion()],
   121    121   ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
   122    122   ** [sqlite_version()] and [sqlite_source_id()].
   123    123   */
   124         -#define SQLITE_VERSION        "3.20.0"
   125         -#define SQLITE_VERSION_NUMBER 3020000
   126         -#define SQLITE_SOURCE_ID      "2017-08-01 13:24:15 9501e22dfeebdcefa783575e47c60b514d7c2e0cad73b2a496c0bc4b680900a8"
          124  +#define SQLITE_VERSION        "3.20.1"
          125  +#define SQLITE_VERSION_NUMBER 3020001
          126  +#define SQLITE_SOURCE_ID      "2017-08-24 16:21:36 8d3a7ea6c5690d6b7c3767558f4f01b511c55463e3f9e64506801fe9b74dce34"
   127    127   
   128    128   /*
   129    129   ** CAPI3REF: Run-Time Library Version Numbers
   130    130   ** KEYWORDS: sqlite3_version sqlite3_sourceid
   131    131   **
   132    132   ** These interfaces provide the same information as the [SQLITE_VERSION],
   133    133   ** [SQLITE_VERSION_NUMBER], and [SQLITE_SOURCE_ID] C preprocessor macros