|
1 | 1 | /******************************************************************************
|
2 | 2 | ** This file is an amalgamation of many separate C source files from SQLite
|
3 |
| -** version 3.10.1. By combining all the individual C code files into this |
| 3 | +** version 3.10.2. 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
|
@@ -325,9 +325,9 @@ extern "C" {
|
325 | 325 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
|
326 | 326 | ** [sqlite_version()] and [sqlite_source_id()].
|
327 | 327 | */
|
328 |
| -#define SQLITE_VERSION "3.10.1" |
329 |
| -#define SQLITE_VERSION_NUMBER 3010001 |
330 |
| -#define SQLITE_SOURCE_ID "2016-01-13 21:41:56 254419c36766225ca542ae873ed38255e3fb8588" |
| 328 | +#define SQLITE_VERSION "3.10.2" |
| 329 | +#define SQLITE_VERSION_NUMBER 3010002 |
| 330 | +#define SQLITE_SOURCE_ID "2016-01-20 15:27:19 17efb4209f97fb4971656086b138599a91a75ff9" |
331 | 331 |
|
332 | 332 | /*
|
333 | 333 | ** CAPI3REF: Run-Time Library Version Numbers
|
@@ -49045,7 +49045,7 @@ SQLITE_PRIVATE int sqlite3PagerBegin(Pager *pPager, int exFlag, int subjInMemory
|
49045 | 49045 | if( rc!=SQLITE_OK ){
|
49046 | 49046 | return rc;
|
49047 | 49047 | }
|
49048 |
| - sqlite3WalExclusiveMode(pPager->pWal, 1); |
| 49048 | + (void)sqlite3WalExclusiveMode(pPager->pWal, 1); |
49049 | 49049 | }
|
49050 | 49050 |
|
49051 | 49051 | /* Grab the write lock on the log file. If successful, upgrade to
|
@@ -50115,7 +50115,11 @@ SQLITE_PRIVATE sqlite3_file *sqlite3PagerFile(Pager *pPager){
|
50115 | 50115 | ** This will be either the rollback journal or the WAL file.
|
50116 | 50116 | */
|
50117 | 50117 | SQLITE_PRIVATE sqlite3_file *sqlite3PagerJrnlFile(Pager *pPager){
|
| 50118 | +#if SQLITE_OMIT_WAL |
| 50119 | + return pPager->jfd; |
| 50120 | +#else |
50118 | 50121 | return pPager->pWal ? sqlite3WalFile(pPager->pWal) : pPager->jfd;
|
| 50122 | +#endif |
50119 | 50123 | }
|
50120 | 50124 |
|
50121 | 50125 | /*
|
@@ -100279,7 +100283,7 @@ static int patternCompare(
|
100279 | 100283 | }
|
100280 | 100284 | c2 = Utf8Read(zString);
|
100281 | 100285 | if( c==c2 ) continue;
|
100282 |
| - if( noCase && sqlite3Tolower(c)==sqlite3Tolower(c2) ){ |
| 100286 | + if( noCase && c<0x80 && c2<0x80 && sqlite3Tolower(c)==sqlite3Tolower(c2) ){ |
100283 | 100287 | continue;
|
100284 | 100288 | }
|
100285 | 100289 | if( c==matchOne && zPattern!=zEscaped && c2!=0 ) continue;
|
@@ -135026,7 +135030,6 @@ static int openDatabase(
|
135026 | 135030 | sqlite3_wal_autocheckpoint(db, SQLITE_DEFAULT_WAL_AUTOCHECKPOINT);
|
135027 | 135031 |
|
135028 | 135032 | opendb_out:
|
135029 |
| - sqlite3_free(zOpen); |
135030 | 135033 | if( db ){
|
135031 | 135034 | assert( db->mutex!=0 || isThreadsafe==0
|
135032 | 135035 | || sqlite3GlobalConfig.bFullMutex==0 );
|
@@ -135063,6 +135066,7 @@ static int openDatabase(
|
135063 | 135066 | }
|
135064 | 135067 | }
|
135065 | 135068 | #endif
|
| 135069 | + sqlite3_free(zOpen); |
135066 | 135070 | return rc & 0xff;
|
135067 | 135071 | }
|
135068 | 135072 |
|
@@ -182280,7 +182284,7 @@ static void fts5SourceIdFunc(
|
182280 | 182284 | sqlite3_value **apVal /* Function arguments */
|
182281 | 182285 | ){
|
182282 | 182286 | assert( nArg==0 );
|
182283 |
| - sqlite3_result_text(pCtx, "fts5: 2016-01-13 21:41:56 254419c36766225ca542ae873ed38255e3fb8588", -1, SQLITE_TRANSIENT); |
| 182287 | + sqlite3_result_text(pCtx, "fts5: 2016-01-20 15:27:19 17efb4209f97fb4971656086b138599a91a75ff9", -1, SQLITE_TRANSIENT); |
182284 | 182288 | }
|
182285 | 182289 |
|
182286 | 182290 | static int fts5Init(sqlite3 *db){
|
|
0 commit comments