Fossil SCM
Update the built-in SQLite to a new version that includes proper "LL" suffixes on all 64-bit integer literals.
Commit
06fb3f8104ed7fed41431aca2ee22a0d9bda51cd8486b45e2136d4c06fb9a311
Parent
65c6bda8d63af43…
2 files changed
+8
-8
+1
-1
+8
-8
| --- extsrc/sqlite3.c | ||
| +++ extsrc/sqlite3.c | ||
| @@ -16,11 +16,11 @@ | ||
| 16 | 16 | ** if you want a wrapper to interface SQLite with your choice of programming |
| 17 | 17 | ** language. The code for the "sqlite3" command-line shell is also in a |
| 18 | 18 | ** separate file. This file contains only code for the core SQLite library. |
| 19 | 19 | ** |
| 20 | 20 | ** The content in this amalgamation comes from Fossil check-in |
| 21 | -** eab3c98639be531744e60440223bb9ee76b. | |
| 21 | +** 7d95ed60f0a17ea13b4bc19c2ab2ec9052f. | |
| 22 | 22 | */ |
| 23 | 23 | #define SQLITE_CORE 1 |
| 24 | 24 | #define SQLITE_AMALGAMATION 1 |
| 25 | 25 | #ifndef SQLITE_PRIVATE |
| 26 | 26 | # define SQLITE_PRIVATE static |
| @@ -459,11 +459,11 @@ | ||
| 459 | 459 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 460 | 460 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 461 | 461 | */ |
| 462 | 462 | #define SQLITE_VERSION "3.43.0" |
| 463 | 463 | #define SQLITE_VERSION_NUMBER 3043000 |
| 464 | -#define SQLITE_SOURCE_ID "2023-07-08 14:27:55 beab3c98639be531744e60440223bb9ee76bc15234aff05e5efb273c8241dfd8" | |
| 464 | +#define SQLITE_SOURCE_ID "2023-07-08 17:42:24 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7" | |
| 465 | 465 | |
| 466 | 466 | /* |
| 467 | 467 | ** CAPI3REF: Run-Time Library Version Numbers |
| 468 | 468 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 469 | 469 | ** |
| @@ -34386,15 +34386,15 @@ | ||
| 34386 | 34386 | */ |
| 34387 | 34387 | volatile double tx, ty, p, q, c, cc; |
| 34388 | 34388 | double hx, hy; |
| 34389 | 34389 | u64 m; |
| 34390 | 34390 | memcpy(&m, (void*)&x[0], 8); |
| 34391 | - m &= 0xfffffffffc000000L; | |
| 34391 | + m &= 0xfffffffffc000000LL; | |
| 34392 | 34392 | memcpy(&hx, &m, 8); |
| 34393 | 34393 | tx = x[0] - hx; |
| 34394 | 34394 | memcpy(&m, &y, 8); |
| 34395 | - m &= 0xfffffffffc000000L; | |
| 34395 | + m &= 0xfffffffffc000000LL; | |
| 34396 | 34396 | memcpy(&hy, &m, 8); |
| 34397 | 34397 | ty = y - hy; |
| 34398 | 34398 | p = hx*hy; |
| 34399 | 34399 | q = hx*ty + tx*hy; |
| 34400 | 34400 | c = p+q; |
| @@ -34944,11 +34944,11 @@ | ||
| 34944 | 34944 | p->sign = '+'; |
| 34945 | 34945 | } |
| 34946 | 34946 | memcpy(&v,&r,8); |
| 34947 | 34947 | e = v>>52; |
| 34948 | 34948 | if( (e&0x7ff)==0x7ff ){ |
| 34949 | - p->isSpecial = 1 + (v!=0x7ff0000000000000L); | |
| 34949 | + p->isSpecial = 1 + (v!=0x7ff0000000000000LL); | |
| 34950 | 34950 | p->n = 0; |
| 34951 | 34951 | p->iDP = 0; |
| 34952 | 34952 | return; |
| 34953 | 34953 | } |
| 34954 | 34954 | |
| @@ -127545,11 +127545,11 @@ | ||
| 127545 | 127545 | |
| 127546 | 127546 | /* |
| 127547 | 127547 | ** Add a (possibly large) integer to the running sum. |
| 127548 | 127548 | */ |
| 127549 | 127549 | static void kahanBabuskaNeumaierStepInt64(volatile SumCtx *pSum, i64 iVal){ |
| 127550 | - if( iVal<=-4503599627370496 || iVal>=+4503599627370496 ){ | |
| 127550 | + if( iVal<=-4503599627370496LL || iVal>=+4503599627370496LL ){ | |
| 127551 | 127551 | i64 iBig, iSm; |
| 127552 | 127552 | iSm = iVal % 16384; |
| 127553 | 127553 | iBig = iVal - iSm; |
| 127554 | 127554 | kahanBabuskaNeumaierStep(pSum, iBig); |
| 127555 | 127555 | kahanBabuskaNeumaierStep(pSum, iSm); |
| @@ -127563,11 +127563,11 @@ | ||
| 127563 | 127563 | */ |
| 127564 | 127564 | static void kahanBabuskaNeumaierInit( |
| 127565 | 127565 | volatile SumCtx *p, |
| 127566 | 127566 | i64 iVal |
| 127567 | 127567 | ){ |
| 127568 | - if( iVal<=-4503599627370496 || iVal>=+4503599627370496 ){ | |
| 127568 | + if( iVal<=-4503599627370496LL || iVal>=+4503599627370496LL ){ | |
| 127569 | 127569 | i64 iSm = iVal % 16384; |
| 127570 | 127570 | p->rSum = (double)(iVal - iSm); |
| 127571 | 127571 | p->rErr = (double)iSm; |
| 127572 | 127572 | }else{ |
| 127573 | 127573 | p->rSum = (double)iVal; |
| @@ -243299,11 +243299,11 @@ | ||
| 243299 | 243299 | int nArg, /* Number of args */ |
| 243300 | 243300 | sqlite3_value **apUnused /* Function arguments */ |
| 243301 | 243301 | ){ |
| 243302 | 243302 | assert( nArg==0 ); |
| 243303 | 243303 | UNUSED_PARAM2(nArg, apUnused); |
| 243304 | - sqlite3_result_text(pCtx, "fts5: 2023-07-08 14:27:55 beab3c98639be531744e60440223bb9ee76bc15234aff05e5efb273c8241dfd8", -1, SQLITE_TRANSIENT); | |
| 243304 | + sqlite3_result_text(pCtx, "fts5: 2023-07-08 17:42:24 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7", -1, SQLITE_TRANSIENT); | |
| 243305 | 243305 | } |
| 243306 | 243306 | |
| 243307 | 243307 | /* |
| 243308 | 243308 | ** Return true if zName is the extension on one of the shadow tables used |
| 243309 | 243309 | ** by this module. |
| 243310 | 243310 |
| --- extsrc/sqlite3.c | |
| +++ extsrc/sqlite3.c | |
| @@ -16,11 +16,11 @@ | |
| 16 | ** if you want a wrapper to interface SQLite with your choice of programming |
| 17 | ** language. The code for the "sqlite3" command-line shell is also in a |
| 18 | ** separate file. This file contains only code for the core SQLite library. |
| 19 | ** |
| 20 | ** The content in this amalgamation comes from Fossil check-in |
| 21 | ** eab3c98639be531744e60440223bb9ee76b. |
| 22 | */ |
| 23 | #define SQLITE_CORE 1 |
| 24 | #define SQLITE_AMALGAMATION 1 |
| 25 | #ifndef SQLITE_PRIVATE |
| 26 | # define SQLITE_PRIVATE static |
| @@ -459,11 +459,11 @@ | |
| 459 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 460 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 461 | */ |
| 462 | #define SQLITE_VERSION "3.43.0" |
| 463 | #define SQLITE_VERSION_NUMBER 3043000 |
| 464 | #define SQLITE_SOURCE_ID "2023-07-08 14:27:55 beab3c98639be531744e60440223bb9ee76bc15234aff05e5efb273c8241dfd8" |
| 465 | |
| 466 | /* |
| 467 | ** CAPI3REF: Run-Time Library Version Numbers |
| 468 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 469 | ** |
| @@ -34386,15 +34386,15 @@ | |
| 34386 | */ |
| 34387 | volatile double tx, ty, p, q, c, cc; |
| 34388 | double hx, hy; |
| 34389 | u64 m; |
| 34390 | memcpy(&m, (void*)&x[0], 8); |
| 34391 | m &= 0xfffffffffc000000L; |
| 34392 | memcpy(&hx, &m, 8); |
| 34393 | tx = x[0] - hx; |
| 34394 | memcpy(&m, &y, 8); |
| 34395 | m &= 0xfffffffffc000000L; |
| 34396 | memcpy(&hy, &m, 8); |
| 34397 | ty = y - hy; |
| 34398 | p = hx*hy; |
| 34399 | q = hx*ty + tx*hy; |
| 34400 | c = p+q; |
| @@ -34944,11 +34944,11 @@ | |
| 34944 | p->sign = '+'; |
| 34945 | } |
| 34946 | memcpy(&v,&r,8); |
| 34947 | e = v>>52; |
| 34948 | if( (e&0x7ff)==0x7ff ){ |
| 34949 | p->isSpecial = 1 + (v!=0x7ff0000000000000L); |
| 34950 | p->n = 0; |
| 34951 | p->iDP = 0; |
| 34952 | return; |
| 34953 | } |
| 34954 | |
| @@ -127545,11 +127545,11 @@ | |
| 127545 | |
| 127546 | /* |
| 127547 | ** Add a (possibly large) integer to the running sum. |
| 127548 | */ |
| 127549 | static void kahanBabuskaNeumaierStepInt64(volatile SumCtx *pSum, i64 iVal){ |
| 127550 | if( iVal<=-4503599627370496 || iVal>=+4503599627370496 ){ |
| 127551 | i64 iBig, iSm; |
| 127552 | iSm = iVal % 16384; |
| 127553 | iBig = iVal - iSm; |
| 127554 | kahanBabuskaNeumaierStep(pSum, iBig); |
| 127555 | kahanBabuskaNeumaierStep(pSum, iSm); |
| @@ -127563,11 +127563,11 @@ | |
| 127563 | */ |
| 127564 | static void kahanBabuskaNeumaierInit( |
| 127565 | volatile SumCtx *p, |
| 127566 | i64 iVal |
| 127567 | ){ |
| 127568 | if( iVal<=-4503599627370496 || iVal>=+4503599627370496 ){ |
| 127569 | i64 iSm = iVal % 16384; |
| 127570 | p->rSum = (double)(iVal - iSm); |
| 127571 | p->rErr = (double)iSm; |
| 127572 | }else{ |
| 127573 | p->rSum = (double)iVal; |
| @@ -243299,11 +243299,11 @@ | |
| 243299 | int nArg, /* Number of args */ |
| 243300 | sqlite3_value **apUnused /* Function arguments */ |
| 243301 | ){ |
| 243302 | assert( nArg==0 ); |
| 243303 | UNUSED_PARAM2(nArg, apUnused); |
| 243304 | sqlite3_result_text(pCtx, "fts5: 2023-07-08 14:27:55 beab3c98639be531744e60440223bb9ee76bc15234aff05e5efb273c8241dfd8", -1, SQLITE_TRANSIENT); |
| 243305 | } |
| 243306 | |
| 243307 | /* |
| 243308 | ** Return true if zName is the extension on one of the shadow tables used |
| 243309 | ** by this module. |
| 243310 |
| --- extsrc/sqlite3.c | |
| +++ extsrc/sqlite3.c | |
| @@ -16,11 +16,11 @@ | |
| 16 | ** if you want a wrapper to interface SQLite with your choice of programming |
| 17 | ** language. The code for the "sqlite3" command-line shell is also in a |
| 18 | ** separate file. This file contains only code for the core SQLite library. |
| 19 | ** |
| 20 | ** The content in this amalgamation comes from Fossil check-in |
| 21 | ** 7d95ed60f0a17ea13b4bc19c2ab2ec9052f. |
| 22 | */ |
| 23 | #define SQLITE_CORE 1 |
| 24 | #define SQLITE_AMALGAMATION 1 |
| 25 | #ifndef SQLITE_PRIVATE |
| 26 | # define SQLITE_PRIVATE static |
| @@ -459,11 +459,11 @@ | |
| 459 | ** [sqlite3_libversion_number()], [sqlite3_sourceid()], |
| 460 | ** [sqlite_version()] and [sqlite_source_id()]. |
| 461 | */ |
| 462 | #define SQLITE_VERSION "3.43.0" |
| 463 | #define SQLITE_VERSION_NUMBER 3043000 |
| 464 | #define SQLITE_SOURCE_ID "2023-07-08 17:42:24 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7" |
| 465 | |
| 466 | /* |
| 467 | ** CAPI3REF: Run-Time Library Version Numbers |
| 468 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 469 | ** |
| @@ -34386,15 +34386,15 @@ | |
| 34386 | */ |
| 34387 | volatile double tx, ty, p, q, c, cc; |
| 34388 | double hx, hy; |
| 34389 | u64 m; |
| 34390 | memcpy(&m, (void*)&x[0], 8); |
| 34391 | m &= 0xfffffffffc000000LL; |
| 34392 | memcpy(&hx, &m, 8); |
| 34393 | tx = x[0] - hx; |
| 34394 | memcpy(&m, &y, 8); |
| 34395 | m &= 0xfffffffffc000000LL; |
| 34396 | memcpy(&hy, &m, 8); |
| 34397 | ty = y - hy; |
| 34398 | p = hx*hy; |
| 34399 | q = hx*ty + tx*hy; |
| 34400 | c = p+q; |
| @@ -34944,11 +34944,11 @@ | |
| 34944 | p->sign = '+'; |
| 34945 | } |
| 34946 | memcpy(&v,&r,8); |
| 34947 | e = v>>52; |
| 34948 | if( (e&0x7ff)==0x7ff ){ |
| 34949 | p->isSpecial = 1 + (v!=0x7ff0000000000000LL); |
| 34950 | p->n = 0; |
| 34951 | p->iDP = 0; |
| 34952 | return; |
| 34953 | } |
| 34954 | |
| @@ -127545,11 +127545,11 @@ | |
| 127545 | |
| 127546 | /* |
| 127547 | ** Add a (possibly large) integer to the running sum. |
| 127548 | */ |
| 127549 | static void kahanBabuskaNeumaierStepInt64(volatile SumCtx *pSum, i64 iVal){ |
| 127550 | if( iVal<=-4503599627370496LL || iVal>=+4503599627370496LL ){ |
| 127551 | i64 iBig, iSm; |
| 127552 | iSm = iVal % 16384; |
| 127553 | iBig = iVal - iSm; |
| 127554 | kahanBabuskaNeumaierStep(pSum, iBig); |
| 127555 | kahanBabuskaNeumaierStep(pSum, iSm); |
| @@ -127563,11 +127563,11 @@ | |
| 127563 | */ |
| 127564 | static void kahanBabuskaNeumaierInit( |
| 127565 | volatile SumCtx *p, |
| 127566 | i64 iVal |
| 127567 | ){ |
| 127568 | if( iVal<=-4503599627370496LL || iVal>=+4503599627370496LL ){ |
| 127569 | i64 iSm = iVal % 16384; |
| 127570 | p->rSum = (double)(iVal - iSm); |
| 127571 | p->rErr = (double)iSm; |
| 127572 | }else{ |
| 127573 | p->rSum = (double)iVal; |
| @@ -243299,11 +243299,11 @@ | |
| 243299 | int nArg, /* Number of args */ |
| 243300 | sqlite3_value **apUnused /* Function arguments */ |
| 243301 | ){ |
| 243302 | assert( nArg==0 ); |
| 243303 | UNUSED_PARAM2(nArg, apUnused); |
| 243304 | sqlite3_result_text(pCtx, "fts5: 2023-07-08 17:42:24 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7", -1, SQLITE_TRANSIENT); |
| 243305 | } |
| 243306 | |
| 243307 | /* |
| 243308 | ** Return true if zName is the extension on one of the shadow tables used |
| 243309 | ** by this module. |
| 243310 |
+1
-1
| --- extsrc/sqlite3.h | ||
| +++ extsrc/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.43.0" |
| 150 | 150 | #define SQLITE_VERSION_NUMBER 3043000 |
| 151 | -#define SQLITE_SOURCE_ID "2023-07-08 14:27:55 beab3c98639be531744e60440223bb9ee76bc15234aff05e5efb273c8241dfd8" | |
| 151 | +#define SQLITE_SOURCE_ID "2023-07-08 17:42:24 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7" | |
| 152 | 152 | |
| 153 | 153 | /* |
| 154 | 154 | ** CAPI3REF: Run-Time Library Version Numbers |
| 155 | 155 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 156 | 156 | ** |
| 157 | 157 |
| --- extsrc/sqlite3.h | |
| +++ extsrc/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.43.0" |
| 150 | #define SQLITE_VERSION_NUMBER 3043000 |
| 151 | #define SQLITE_SOURCE_ID "2023-07-08 14:27:55 beab3c98639be531744e60440223bb9ee76bc15234aff05e5efb273c8241dfd8" |
| 152 | |
| 153 | /* |
| 154 | ** CAPI3REF: Run-Time Library Version Numbers |
| 155 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 156 | ** |
| 157 |
| --- extsrc/sqlite3.h | |
| +++ extsrc/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.43.0" |
| 150 | #define SQLITE_VERSION_NUMBER 3043000 |
| 151 | #define SQLITE_SOURCE_ID "2023-07-08 17:42:24 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7" |
| 152 | |
| 153 | /* |
| 154 | ** CAPI3REF: Run-Time Library Version Numbers |
| 155 | ** KEYWORDS: sqlite3_version sqlite3_sourceid |
| 156 | ** |
| 157 |