Fossil SCM
New sqlite3.c to fix a harmless compiler warning.
Commit
acbc8493849bca782b55480d6f78a37100326243503b6d46616180c84c1ab444
Parent
632ffb82e165872…
2 files changed
+8
-3
+1
-1
+8
-3
| --- src/sqlite3.c | ||
| +++ src/sqlite3.c | ||
| @@ -452,11 +452,11 @@ | ||
| 452 | 452 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 453 | 453 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 454 | 454 | */ |
| 455 | 455 | #define SQLITE_VERSION "3.37.0" |
| 456 | 456 | #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" | |
| 458 | 458 | |
| 459 | 459 | /* |
| 460 | 460 | ** CAPI3REF: Run-Time Library Version Numbers |
| 461 | 461 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 462 | 462 | ** |
| @@ -13174,11 +13174,10 @@ | ||
| 13174 | 13174 | ** can be used to make sure boundary values are tested. For |
| 13175 | 13175 | ** bitmask tests, testcase() can be used to make sure each bit |
| 13176 | 13176 | ** is significant and used at least once. On switch statements |
| 13177 | 13177 | ** where multiple cases go to the same block of code, testcase() |
| 13178 | 13178 | ** can insure that all cases are evaluated. |
| 13179 | -** | |
| 13180 | 13179 | */ |
| 13181 | 13180 | #if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_DEBUG) |
| 13182 | 13181 | # ifndef SQLITE_AMALGAMATION |
| 13183 | 13182 | extern unsigned int sqlite3CoverageCounter; |
| 13184 | 13183 | # endif |
| @@ -21454,15 +21453,21 @@ | ||
| 21454 | 21453 | ** database connections. After initialization, this table is |
| 21455 | 21454 | ** read-only. |
| 21456 | 21455 | */ |
| 21457 | 21456 | SQLITE_PRIVATE FuncDefHash sqlite3BuiltinFunctions; |
| 21458 | 21457 | |
| 21458 | +#if defined(SQLITE_COVERAGE_TEST) || defined(SQLITE_DEBUG) | |
| 21459 | 21459 | /* |
| 21460 | 21460 | ** Counter used for coverage testing. Does not come into play for |
| 21461 | 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. | |
| 21462 | 21466 | */ |
| 21463 | 21467 | SQLITE_PRIVATE unsigned int sqlite3CoverageCounter; |
| 21468 | +#endif /* SQLITE_COVERAGE_TEST || SQLITE_DEBUG */ | |
| 21464 | 21469 | |
| 21465 | 21470 | #ifdef VDBE_PROFILE |
| 21466 | 21471 | /* |
| 21467 | 21472 | ** The following performance counter can be used in place of |
| 21468 | 21473 | ** sqlite3Hwtime() for profiling. This is a no-op on standard builds. |
| @@ -231977,11 +231982,11 @@ | ||
| 231977 | 231982 | int nArg, /* Number of args */ |
| 231978 | 231983 | sqlite3_value **apUnused /* Function arguments */ |
| 231979 | 231984 | ){ |
| 231980 | 231985 | assert( nArg==0 ); |
| 231981 | 231986 | 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); | |
| 231983 | 231988 | } |
| 231984 | 231989 | |
| 231985 | 231990 | /* |
| 231986 | 231991 | ** Return true if zName is the extension on one of the shadow tables used |
| 231987 | 231992 | ** by this module. |
| 231988 | 231993 |
| --- 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 @@ | ||
| 146 | 146 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 147 | 147 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 148 | 148 | */ |
| 149 | 149 | #define SQLITE_VERSION "3.37.0" |
| 150 | 150 | #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" | |
| 152 | 152 | |
| 153 | 153 | /* |
| 154 | 154 | ** CAPI3REF: Run-Time Library Version Numbers |
| 155 | 155 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 156 | 156 | ** |
| 157 | 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-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 |