Fossil SCM

SQLite version 3.20.1

jan.nijtmans 2017-08-29 07:50 trunk
Commit ffc252a663d6c059ef3bf2ca9a682c441b0274477e97c53daee30a6d36f1ccf4
+7 -6
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -1,8 +1,8 @@
11
/******************************************************************************
22
** 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
44
** single large file, the entire code can be compiled as a single translation
55
** unit. This allows many compilers to do optimizations that would not be
66
** possible if the files were compiled separately. Performance improvements
77
** of 5% or more are commonly seen when SQLite is compiled as a single
88
** translation unit.
@@ -1148,13 +1148,13 @@
11481148
**
11491149
** See also: [sqlite3_libversion()],
11501150
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
11511151
** [sqlite_version()] and [sqlite_source_id()].
11521152
*/
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"
11561156
11571157
/*
11581158
** CAPI3REF: Run-Time Library Version Numbers
11591159
** KEYWORDS: sqlite3_version sqlite3_sourceid
11601160
**
@@ -77120,11 +77120,12 @@
7712077120
const char *zPType,
7712177121
void (*xDestructor)(void*)
7712277122
){
7712377123
Mem *pOut = pCtx->pOut;
7712477124
assert( sqlite3_mutex_held(pOut->db->mutex) );
77125
- sqlite3VdbeMemSetNull(pOut);
77125
+ sqlite3VdbeMemRelease(pOut);
77126
+ pOut->flags = MEM_Null;
7712677127
sqlite3VdbeMemSetPointer(pOut, pPtr, zPType, xDestructor);
7712777128
}
7712877129
SQLITE_API void sqlite3_result_subtype(sqlite3_context *pCtx, unsigned int eSubtype){
7712977130
Mem *pOut = pCtx->pOut;
7713077131
assert( sqlite3_mutex_held(pOut->db->mutex) );
@@ -200273,11 +200274,11 @@
200273200274
int nArg, /* Number of args */
200274200275
sqlite3_value **apUnused /* Function arguments */
200275200276
){
200276200277
assert( nArg==0 );
200277200278
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);
200279200280
}
200280200281
200281200282
static int fts5Init(sqlite3 *db){
200282200283
static const sqlite3_module fts5Mod = {
200283200284
/* iVersion */ 2,
200284200285
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -1,8 +1,8 @@
1 /******************************************************************************
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
4 ** single large file, the entire code can be compiled as a single translation
5 ** unit. This allows many compilers to do optimizations that would not be
6 ** possible if the files were compiled separately. Performance improvements
7 ** of 5% or more are commonly seen when SQLite is compiled as a single
8 ** translation unit.
@@ -1148,13 +1148,13 @@
1148 **
1149 ** See also: [sqlite3_libversion()],
1150 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
1151 ** [sqlite_version()] and [sqlite_source_id()].
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"
1156
1157 /*
1158 ** CAPI3REF: Run-Time Library Version Numbers
1159 ** KEYWORDS: sqlite3_version sqlite3_sourceid
1160 **
@@ -77120,11 +77120,12 @@
77120 const char *zPType,
77121 void (*xDestructor)(void*)
77122 ){
77123 Mem *pOut = pCtx->pOut;
77124 assert( sqlite3_mutex_held(pOut->db->mutex) );
77125 sqlite3VdbeMemSetNull(pOut);
 
77126 sqlite3VdbeMemSetPointer(pOut, pPtr, zPType, xDestructor);
77127 }
77128 SQLITE_API void sqlite3_result_subtype(sqlite3_context *pCtx, unsigned int eSubtype){
77129 Mem *pOut = pCtx->pOut;
77130 assert( sqlite3_mutex_held(pOut->db->mutex) );
@@ -200273,11 +200274,11 @@
200273 int nArg, /* Number of args */
200274 sqlite3_value **apUnused /* Function arguments */
200275 ){
200276 assert( nArg==0 );
200277 UNUSED_PARAM2(nArg, apUnused);
200278 sqlite3_result_text(pCtx, "fts5: 2017-08-01 13:24:15 9501e22dfeebdcefa783575e47c60b514d7c2e0cad73b2a496c0bc4b680900a8", -1, SQLITE_TRANSIENT);
200279 }
200280
200281 static int fts5Init(sqlite3 *db){
200282 static const sqlite3_module fts5Mod = {
200283 /* iVersion */ 2,
200284
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -1,8 +1,8 @@
1 /******************************************************************************
2 ** This file is an amalgamation of many separate C source files from SQLite
3 ** version 3.20.1. By combining all the individual C code files into this
4 ** single large file, the entire code can be compiled as a single translation
5 ** unit. This allows many compilers to do optimizations that would not be
6 ** possible if the files were compiled separately. Performance improvements
7 ** of 5% or more are commonly seen when SQLite is compiled as a single
8 ** translation unit.
@@ -1148,13 +1148,13 @@
1148 **
1149 ** See also: [sqlite3_libversion()],
1150 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
1151 ** [sqlite_version()] and [sqlite_source_id()].
1152 */
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
1157 /*
1158 ** CAPI3REF: Run-Time Library Version Numbers
1159 ** KEYWORDS: sqlite3_version sqlite3_sourceid
1160 **
@@ -77120,11 +77120,12 @@
77120 const char *zPType,
77121 void (*xDestructor)(void*)
77122 ){
77123 Mem *pOut = pCtx->pOut;
77124 assert( sqlite3_mutex_held(pOut->db->mutex) );
77125 sqlite3VdbeMemRelease(pOut);
77126 pOut->flags = MEM_Null;
77127 sqlite3VdbeMemSetPointer(pOut, pPtr, zPType, xDestructor);
77128 }
77129 SQLITE_API void sqlite3_result_subtype(sqlite3_context *pCtx, unsigned int eSubtype){
77130 Mem *pOut = pCtx->pOut;
77131 assert( sqlite3_mutex_held(pOut->db->mutex) );
@@ -200273,11 +200274,11 @@
200274 int nArg, /* Number of args */
200275 sqlite3_value **apUnused /* Function arguments */
200276 ){
200277 assert( nArg==0 );
200278 UNUSED_PARAM2(nArg, apUnused);
200279 sqlite3_result_text(pCtx, "fts5: 2017-08-24 16:21:36 8d3a7ea6c5690d6b7c3767558f4f01b511c55463e3f9e64506801fe9b74dce34", -1, SQLITE_TRANSIENT);
200280 }
200281
200282 static int fts5Init(sqlite3 *db){
200283 static const sqlite3_module fts5Mod = {
200284 /* iVersion */ 2,
200285
+3 -3
--- src/sqlite3.h
+++ src/sqlite3.h
@@ -119,13 +119,13 @@
119119
**
120120
** See also: [sqlite3_libversion()],
121121
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
122122
** [sqlite_version()] and [sqlite_source_id()].
123123
*/
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"
127127
128128
/*
129129
** CAPI3REF: Run-Time Library Version Numbers
130130
** KEYWORDS: sqlite3_version sqlite3_sourceid
131131
**
132132
--- src/sqlite3.h
+++ src/sqlite3.h
@@ -119,13 +119,13 @@
119 **
120 ** See also: [sqlite3_libversion()],
121 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
122 ** [sqlite_version()] and [sqlite_source_id()].
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"
127
128 /*
129 ** CAPI3REF: Run-Time Library Version Numbers
130 ** KEYWORDS: sqlite3_version sqlite3_sourceid
131 **
132
--- src/sqlite3.h
+++ src/sqlite3.h
@@ -119,13 +119,13 @@
119 **
120 ** See also: [sqlite3_libversion()],
121 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
122 ** [sqlite_version()] and [sqlite_source_id()].
123 */
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
128 /*
129 ** CAPI3REF: Run-Time Library Version Numbers
130 ** KEYWORDS: sqlite3_version sqlite3_sourceid
131 **
132
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,10 +1,11 @@
11
<title>Change Log</title>
22
33
<a name='v2_4'></a>
44
<h2>Changes for Version 2.4 (TBD)</h2>
55
6
+ * Update the built-in SQLite to version 3.20.1.
67
* Fix the "ssh://" protocol to prevent an attack whereby the attacker convinces
78
a victim to run a "clone" with a dodgy URL and thereby gains access to their
89
system.
910
* Correct the [/help?cmd=/doc|/doc] page to support read-only repositories.
1011
* Correct [/help?cmd=/zip|/zip], [/help?cmd=/tarball|/tarball],
1112
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,10 +1,11 @@
1 <title>Change Log</title>
2
3 <a name='v2_4'></a>
4 <h2>Changes for Version 2.4 (TBD)</h2>
5
 
6 * Fix the "ssh://" protocol to prevent an attack whereby the attacker convinces
7 a victim to run a "clone" with a dodgy URL and thereby gains access to their
8 system.
9 * Correct the [/help?cmd=/doc|/doc] page to support read-only repositories.
10 * Correct [/help?cmd=/zip|/zip], [/help?cmd=/tarball|/tarball],
11
--- www/changes.wiki
+++ www/changes.wiki
@@ -1,10 +1,11 @@
1 <title>Change Log</title>
2
3 <a name='v2_4'></a>
4 <h2>Changes for Version 2.4 (TBD)</h2>
5
6 * Update the built-in SQLite to version 3.20.1.
7 * Fix the "ssh://" protocol to prevent an attack whereby the attacker convinces
8 a victim to run a "clone" with a dodgy URL and thereby gains access to their
9 system.
10 * Correct the [/help?cmd=/doc|/doc] page to support read-only repositories.
11 * Correct [/help?cmd=/zip|/zip], [/help?cmd=/tarball|/tarball],
12

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button