Fossil SCM

New sqlite3.c to fix a harmless compiler warning.

drh 2021-10-22 11:18 strict
Commit acbc8493849bca782b55480d6f78a37100326243503b6d46616180c84c1ab444
2 files changed +8 -3 +1 -1
+8 -3
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -452,11 +452,11 @@
452452
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
453453
** [sqlite_version()] and [sqlite_source_id()].
454454
*/
455455
#define SQLITE_VERSION "3.37.0"
456456
#define SQLITE_VERSION_NUMBER 3037000
457
-#define SQLITE_SOURCE_ID "2021-10-21 20:08:00 559ba38b8a0f7795d781838ec78969874fd678f749b26cd49cf6112afc838732"
457
+#define SQLITE_SOURCE_ID "2021-10-22 11:17:29 1a038242dc6c0cab97dd9375acfce62aa1c386debc36aaed388d366b87ddd931"
458458
459459
/*
460460
** CAPI3REF: Run-Time Library Version Numbers
461461
** KEYWORDS: sqlite3_version sqlite3_sourceid
462462
**
@@ -13174,11 +13174,10 @@
1317413174
** can be used to make sure boundary values are tested. For
1317513175
** bitmask tests, testcase() can be used to make sure each bit
1317613176
** is significant and used at least once. On switch statements
1317713177
** where multiple cases go to the same block of code, testcase()
1317813178
** can insure that all cases are evaluated.
13179
-**
1318013179
*/
1318113180
#if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_DEBUG)
1318213181
# ifndef SQLITE_AMALGAMATION
1318313182
extern unsigned int sqlite3CoverageCounter;
1318413183
# endif
@@ -21454,15 +21453,21 @@
2145421453
** database connections. After initialization, this table is
2145521454
** read-only.
2145621455
*/
2145721456
SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions;
2145821457
21458
+#if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_DEBUG)
2145921459
/*
2146021460
** Counter used for coverage testing. Does not come into play for
2146121461
** release builds.
21462
+**
21463
+** Access to this global variable is not mutex protected. This might
21464
+** result in TSAN warnings. But as the variable does not exist in
21465
+** release builds, that should not be a concern.
2146221466
*/
2146321467
SQLITE_PRIVATE unsigned int sqlite3CoverageCounter;
21468
+#endif /* SQLITE_COVERAGE_TEST || SQLITE_DEBUG */
2146421469
2146521470
#ifdef VDBE_PROFILE
2146621471
/*
2146721472
** The following performance counter can be used in place of
2146821473
** sqlite3Hwtime() for profiling. This is a no-op on standard builds.
@@ -231977,11 +231982,11 @@
231977231982
int nArg, /* Number of args */
231978231983
sqlite3_value **apUnused /* Function arguments */
231979231984
){
231980231985
assert( nArg==0 );
231981231986
UNUSED_PARAM2(nArg, apUnused);
231982
- sqlite3_result_text(pCtx, "fts5: 2021-10-04 12:16:27 71b102942cf46e307b123afbc51be06ebf48af9c364c0e7e0b9763f6963d3fb9", -1, SQLITE_TRANSIENT);
231987
+ sqlite3_result_text(pCtx, "fts5: 2021-10-22 11:17:29 1a038242dc6c0cab97dd9375acfce62aa1c386debc36aaed388d366b87ddd931", -1, SQLITE_TRANSIENT);
231983231988
}
231984231989
231985231990
/*
231986231991
** Return true if zName is the extension on one of the shadow tables used
231987231992
** by this module.
231988231993
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -452,11 +452,11 @@
452 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
453 ** [sqlite_version()] and [sqlite_source_id()].
454 */
455 #define SQLITE_VERSION "3.37.0"
456 #define SQLITE_VERSION_NUMBER 3037000
457 #define SQLITE_SOURCE_ID "2021-10-21 20:08:00 559ba38b8a0f7795d781838ec78969874fd678f749b26cd49cf6112afc838732"
458
459 /*
460 ** CAPI3REF: Run-Time Library Version Numbers
461 ** KEYWORDS: sqlite3_version sqlite3_sourceid
462 **
@@ -13174,11 +13174,10 @@
13174 ** can be used to make sure boundary values are tested. For
13175 ** bitmask tests, testcase() can be used to make sure each bit
13176 ** is significant and used at least once. On switch statements
13177 ** where multiple cases go to the same block of code, testcase()
13178 ** can insure that all cases are evaluated.
13179 **
13180 */
13181 #if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_DEBUG)
13182 # ifndef SQLITE_AMALGAMATION
13183 extern unsigned int sqlite3CoverageCounter;
13184 # endif
@@ -21454,15 +21453,21 @@
21454 ** database connections. After initialization, this table is
21455 ** read-only.
21456 */
21457 SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions;
21458
 
21459 /*
21460 ** Counter used for coverage testing. Does not come into play for
21461 ** release builds.
 
 
 
 
21462 */
21463 SQLITE_PRIVATE unsigned int sqlite3CoverageCounter;
 
21464
21465 #ifdef VDBE_PROFILE
21466 /*
21467 ** The following performance counter can be used in place of
21468 ** sqlite3Hwtime() for profiling. This is a no-op on standard builds.
@@ -231977,11 +231982,11 @@
231977 int nArg, /* Number of args */
231978 sqlite3_value **apUnused /* Function arguments */
231979 ){
231980 assert( nArg==0 );
231981 UNUSED_PARAM2(nArg, apUnused);
231982 sqlite3_result_text(pCtx, "fts5: 2021-10-04 12:16:27 71b102942cf46e307b123afbc51be06ebf48af9c364c0e7e0b9763f6963d3fb9", -1, SQLITE_TRANSIENT);
231983 }
231984
231985 /*
231986 ** Return true if zName is the extension on one of the shadow tables used
231987 ** by this module.
231988
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -452,11 +452,11 @@
452 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
453 ** [sqlite_version()] and [sqlite_source_id()].
454 */
455 #define SQLITE_VERSION "3.37.0"
456 #define SQLITE_VERSION_NUMBER 3037000
457 #define SQLITE_SOURCE_ID "2021-10-22 11:17:29 1a038242dc6c0cab97dd9375acfce62aa1c386debc36aaed388d366b87ddd931"
458
459 /*
460 ** CAPI3REF: Run-Time Library Version Numbers
461 ** KEYWORDS: sqlite3_version sqlite3_sourceid
462 **
@@ -13174,11 +13174,10 @@
13174 ** can be used to make sure boundary values are tested. For
13175 ** bitmask tests, testcase() can be used to make sure each bit
13176 ** is significant and used at least once. On switch statements
13177 ** where multiple cases go to the same block of code, testcase()
13178 ** can insure that all cases are evaluated.
 
13179 */
13180 #if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_DEBUG)
13181 # ifndef SQLITE_AMALGAMATION
13182 extern unsigned int sqlite3CoverageCounter;
13183 # endif
@@ -21454,15 +21453,21 @@
21453 ** database connections. After initialization, this table is
21454 ** read-only.
21455 */
21456 SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions;
21457
21458 #if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_DEBUG)
21459 /*
21460 ** Counter used for coverage testing. Does not come into play for
21461 ** release builds.
21462 **
21463 ** Access to this global variable is not mutex protected. This might
21464 ** result in TSAN warnings. But as the variable does not exist in
21465 ** release builds, that should not be a concern.
21466 */
21467 SQLITE_PRIVATE unsigned int sqlite3CoverageCounter;
21468 #endif /* SQLITE_COVERAGE_TEST || SQLITE_DEBUG */
21469
21470 #ifdef VDBE_PROFILE
21471 /*
21472 ** The following performance counter can be used in place of
21473 ** sqlite3Hwtime() for profiling. This is a no-op on standard builds.
@@ -231977,11 +231982,11 @@
231982 int nArg, /* Number of args */
231983 sqlite3_value **apUnused /* Function arguments */
231984 ){
231985 assert( nArg==0 );
231986 UNUSED_PARAM2(nArg, apUnused);
231987 sqlite3_result_text(pCtx, "fts5: 2021-10-22 11:17:29 1a038242dc6c0cab97dd9375acfce62aa1c386debc36aaed388d366b87ddd931", -1, SQLITE_TRANSIENT);
231988 }
231989
231990 /*
231991 ** Return true if zName is the extension on one of the shadow tables used
231992 ** by this module.
231993
+1 -1
--- src/sqlite3.h
+++ src/sqlite3.h
@@ -146,11 +146,11 @@
146146
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
147147
** [sqlite_version()] and [sqlite_source_id()].
148148
*/
149149
#define SQLITE_VERSION "3.37.0"
150150
#define SQLITE_VERSION_NUMBER 3037000
151
-#define SQLITE_SOURCE_ID "2021-10-21 20:08:00 559ba38b8a0f7795d781838ec78969874fd678f749b26cd49cf6112afc838732"
151
+#define SQLITE_SOURCE_ID "2021-10-22 11:17:29 1a038242dc6c0cab97dd9375acfce62aa1c386debc36aaed388d366b87ddd931"
152152
153153
/*
154154
** CAPI3REF: Run-Time Library Version Numbers
155155
** KEYWORDS: sqlite3_version sqlite3_sourceid
156156
**
157157
--- src/sqlite3.h
+++ src/sqlite3.h
@@ -146,11 +146,11 @@
146 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
147 ** [sqlite_version()] and [sqlite_source_id()].
148 */
149 #define SQLITE_VERSION "3.37.0"
150 #define SQLITE_VERSION_NUMBER 3037000
151 #define SQLITE_SOURCE_ID "2021-10-21 20:08:00 559ba38b8a0f7795d781838ec78969874fd678f749b26cd49cf6112afc838732"
152
153 /*
154 ** CAPI3REF: Run-Time Library Version Numbers
155 ** KEYWORDS: sqlite3_version sqlite3_sourceid
156 **
157
--- src/sqlite3.h
+++ src/sqlite3.h
@@ -146,11 +146,11 @@
146 ** [sqlite3_libversion_number()], [sqlite3_sourceid()],
147 ** [sqlite_version()] and [sqlite_source_id()].
148 */
149 #define SQLITE_VERSION "3.37.0"
150 #define SQLITE_VERSION_NUMBER 3037000
151 #define SQLITE_SOURCE_ID "2021-10-22 11:17:29 1a038242dc6c0cab97dd9375acfce62aa1c386debc36aaed388d366b87ddd931"
152
153 /*
154 ** CAPI3REF: Run-Time Library Version Numbers
155 ** KEYWORDS: sqlite3_version sqlite3_sourceid
156 **
157

Keyboard Shortcuts

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