aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | | | | Improved comments and other cleanup for the changes on this branch.drh2023-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: bac953a80d1a541e7a12aef00c86c002133859237143ad670b39ea19799a8900
* | | | | | | | | Fix jsonForceRCStr() to also add the NULL terminator.drh2023-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 134b01f37f8f741d7f7b7eda81384695d1cbe4c39751d87f08832d5c9afdcef2
* | | | | | | | | Extend the enhancement to json_set() and json_replace(). Clean up cruft.drh2023-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 2dbb22c75e86f2e3ced38ac14b4943570d5c2f86cd5e37e875bf0c863be28836
* | | | | | | | | Add the JsonParse.zAlt field to old revised JSON text after a change.drh2023-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Demonstrate that this elminates the need for reparsing after a change by using it in the json_remove() function. This is an incremental check-in containing lots of cruft. FossilOrigin-Name: f930b139d6db0ee799bc90397b225175103c4bf22923d1c9cbcd32509adc1738
* | | | | | | | | Clarify ownership of the various objects involved in parsing JSON.drh2023-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: afe02a398a16d51bd7482b6fbe2fbd15d9ac4fd9cdbc9d2bf81f38b3391fc567
* | | | | | | | | Incremental improvements to JSON parsing - trying to fold in the RCStr object.drh2023-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 4cb15d934a85ebc290fe6dd8cd3bd47b159561ca75d72bbffef30b9ea4623b09
* | | | | | | | | Fix a minor problem with error reporting in JSON.drh2023-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: c456e4a8999066cd96246327101b3cca78294511a71a2ac07939bb702bfcb5f4
* | | | | | | | | Create the new RCStr class of strings and try to use them for JSON storage.drh2023-07-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: c1b8725089bb3d006ec69add28f4fcb3f4e79412c7f438b5b1067c2227e77b9c
* | | | | | | | | It is an error to try to insert a BLOB value into JSON.drh2023-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 28c6e964b1e2257527df02b352f02e135f7c4b764b8b41eda6461f9538f5d042
* | | | | | | | | Clean up some #defines in json.drh2023-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 327fff501e36f75d4901c520123c5ca45e0e0da1d9cc8fa8fa877ceb68c686d2
* | | | | | | | | Rework the JSON parse structure to facilitate better caching. Passes alldrh2023-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests. FossilOrigin-Name: ecdcb1ded76e9a0591bf7a2009679f49fc3aa639d3cc12406c6d29243ed8e1c5
* | | | | | | | | Incremental progress toward improved caching of parsed JSON.drh2023-07-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: f2c063884685a79d5a787590447c292f51e898a98c9508159c788f505227ba85
* | | | | | | | | Merge the latest trunk enhancements into the json-opt branch.drh2023-07-24
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | FossilOrigin-Name: 00bfc4918be49ac74a3e7851c88ab7ec226e6a37853f8ad4c77f758751960456
| * | | | | | | | Do not read past the end of a text buffer looking for a zero terminator, asdrh2023-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that space might not be initialized. If the buffer is owned, just set the null terminator. This is a better fix for the OSSFuzz-detected use-of-initialized-value problem. FossilOrigin-Name: 931bccb0cc290b8bf3027641e7a7fac30e3244d7dc84aa9e38b24b7e9544ca06
| * | | | | | | | Fix a harmless use-of-initialized-value warning from OSSFuzz that resultsdrh2023-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from recent large string optmizations. FossilOrigin-Name: 1a6b3dd1c40277a0d0f0bb562ddc4868aadd632fc2d29be1b17bb33fc22c46c8
| * | | | | | | | Mark an unreachable branch as NEVER().drh2023-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 414a4d660c3b505640227066b468db1268fcb1bd3fad931644a769617c6c00cd
| * | | | | | | | Fix harmless compiler warning introduced by the previous check-in.drh2023-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 06f829e9e57c5aa495f519ad7bb379be611e8e21ef60d36e63d055e45f7a6117
| * | | | | | | | Avoid a potentially large strlen() in sqlite3DecOrHexToI64().drh2023-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 5413b02bb629b9cbb76f7e688e94ebcf24276c01436d3feb73ff57c036e1d2aa
| * | | | | | | | Further improvements to large string handling in relation to JSON.drh2023-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 1e5df0aa3dae5cadbf1d07c718ae2a5212543300b68e49d35e8c96855a7f619c
| * | | | | | | | Fix harmless compiler warning about signed/unsigned comparison.drh2023-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 75cc3c89ee2dcfefa9421ce60bee77e85d2895918e8c5cfd05c434f8932a99b5
| * | | | | | | | Multiple optimizations that try to preserve or infer the zero-terminateddrh2023-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | property of TEXT values. Avoid unnecessary copying of text values destined to become function parameters. All changes help improve performance of doing UPDATEs on large JSON values that are indexed multiple ways. FossilOrigin-Name: d0278cdedfa04fb0b61838ab9622be8a2c462f58d5c3ebc4c5f802a727d0974e
* | | | | | | | | More infrastructure changes towards improving JSON cache performance.drh2023-07-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incremental check-in. FossilOrigin-Name: 1955e66cfc4614df97b8d68b0e662f309513d62dc8aeec71af5a54e66b79c707
* | | | | | | | | Experimental framework upon which to build a better JSON parse structure thatdrh2023-07-20
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | supports cached of modified JSON. All of these changes are tentative and subject to change or removal. Incremental check-in. FossilOrigin-Name: e384163a4763c10b5838cbf28f9c4d8ea799bbbed6e890e8aa91b2bd1458646d
* | | | | | | | Further improvement to JSON parser performance.drh2023-07-19
| | | | | | | | | | | | | | | | | | | | | | | | FossilOrigin-Name: 144c8ccf6e5bb2527dd98742f0d67e0a16c627e7c67f754ce8ed4c4fb5b8d8b6
* | | | | | | | Further performance enhancements to JSON parsing and rendering. Totaldrh2023-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | performance gain for large JSONs so far on this branch is about 11%. FossilOrigin-Name: adb4d6b007cbe9d7c9670f5fc196443ebe0f3a89df1f3290ba6247fcf83fe5bd
* | | | | | | | Performance optimization for parsing large JSONs that contain lots of text.drh2023-07-19
| |_|/ / / / / |/| | | | | | | | | | | | | FossilOrigin-Name: c9fbe0185cd5d64950724b00cd0bfb3a7939a985040465a0f35f445acb6e94a6
* | | | | | | Two minor improvements to sum(), one of which was inspired bydrh2023-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [forum:/forumpost/af5be98dbc|forum post af5be98dbc]. FossilOrigin-Name: a0d3e7571aded8d1e03908059d2d5aa5d62ec49bff099cb38f6f35df5e4b18b5
* | | | | | | Do not use the [/info/609fbb94b8f01d67|viewscan optimization] on a querydrh2023-07-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that has only a single loop, as the cost adjustments can cause problems for outer queries. Proposed fix for the performance regression reported by [forum:/forumpost/64d36440e473516c|forum post 64d36440e473516c]. FossilOrigin-Name: 76152ad2ffe56034f2fd93d9a1ce9358e1677a7e9cd3dcd9f3a34a5c956a463e
* | | | | | | Improved ".wheretrace" for the VIEWSCAN optimization.drh2023-07-18
| |/ / / / / |/| | | | | | | | | | | FossilOrigin-Name: 27057ea76b5f72c73fb6f16094736685019643c665b49fd0bb8d60a812ce2338
* | | | | | Fix an off-by-one error in tests for cells overflowing the end pages. Thedrh2023-07-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | error is completely harmless for the default page cache, but might cause problems for application-defined page caches that pack pages tightly together. FossilOrigin-Name: ce6793e954f291b6f5c29175baf730ce217328de1f0601b8935daac62af5f448
* | | | | | Reduce divergence between branches: trunk and wal-shm-exceptions.drh2023-07-11
| |_|_|/ / |/| | | | | | | | | FossilOrigin-Name: d38ed6b1fc6b572997d520c36f256c11404fb1bd5f28acab07466bfc96554a8f
* | | | | Always use the "LL" suffix on 64-bit integer literals.drh2023-07-08
| | | | | | | | | | | | | | | FossilOrigin-Name: 07d95ed60f0a17ea13b4bc19c2ab2ec9052fedd27c9e1e57a1ec6e3a6470e5b7
* | | | | Fix harmless scan-build warnings.drh2023-07-08
| | | | | | | | | | | | | | | FossilOrigin-Name: beab3c98639be531744e60440223bb9ee76bc15234aff05e5efb273c8241dfd8
* | | | | Omit the use of memmove() in sqlite3FpDecode() in an attempt to avoiddrh2023-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spurious warnings from valgrind. Also makes the code slightly smaller and faster. FossilOrigin-Name: b409943af00e35ad05906d0a80ffa1225a66f3d807c131e00cfbf6671a03a981
* | | | | Add option 2 to SQLITE_TESTCTRL_USELONGDOUBLE to move the setting to itsdrh2023-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | defaults. Enhance the CLI and testfixture to make use of this value. Base the default on sizeof(LONGDOUBLE_TYPE) rather than on sizeof(long double). FossilOrigin-Name: 64e6bd1c25d8e1dbfe511cba1921ff052c0fa4fe410fc9ce4435700a70cb88b1
* | | | | Improved handling of integer inputs to the new sum() implementation.drh2023-07-06
| | | | | | | | | | | | | | | FossilOrigin-Name: 31561c63bde6af2210296810fd66232b935033b4d26273a6b8a52142c54b4e12
* | | | | A more precise implementation of sqlite3RealToI64().drh2023-07-06
| |_|/ / |/| | | | | | | FossilOrigin-Name: 8813317cb52990d90bd48de163b6e35ddcad2b6f3187aa28b28e2e088b4489ce
* | | | Fix minor inaccuracies in the new sum() algorithm.drh2023-07-06
| | | | | | | | | | | | FossilOrigin-Name: e3f7a960c9bd8e84cd70f0585bb955d043604a92001d0e2bf6c1216bb1fd7221
* | | | Experimental attempt to boost the accuracy of sum() using thedrh2023-07-06
| | | | | | | | | | | | | | | | | | | | Kahan-Babuska-Neumaier algorithm. FossilOrigin-Name: ebc5edd3b10c1102b07b9fb0d6837266b81e55504ef883b9b8a7ad5e8ab29dd2
* | | | This is alternative work-around for the x86 float-point problem that usesdrh2023-07-05
| | | | | | | | | | | | | | | | | | | | "volatile" rather than compile-specific #pragmas. FossilOrigin-Name: 1d972a690fdc70ab40862bd38427d68b48e8802ddf8e5c301f2d58ce2178b6ec
* | | | Improved comments on the work-around to the GCC x86 floating point wonkiness.drh2023-07-05
| | | | | | | | | | | | FossilOrigin-Name: 7b4c16731e7bf6f03f5adf4fcb2008c0b19be473fb1b90b405c217c08916586a
* | | | Work around for an apparent GCC bug. Seedrh2023-07-05
| | | | | | | | | | | | | | | | | | | | [forum:/info/ee7278611394034c|forum post ee7278611394034c] for details. FossilOrigin-Name: 5d9e9364808793d65925d4efbfde0f4246df258758f15e8ce1105070d1018fe6
* | | | Make the order of operations explicit for the error term of Dekkerdrh2023-07-05
| | | | | | | | | | | | | | | | | | | | double-precision multiply. FossilOrigin-Name: 28f57b34e6b11184a36e363a985e7531bddd7be48a5e039a670e5acf748eedda
* | | | Simplification of the dekkerMul2() subroutine.drh2023-07-05
| | | | | | | | | | | | FossilOrigin-Name: bfe6432a46fd41bfadf4516a73b4e2523d9b453c3e4486fe6df7e1d25275dfb3
* | | | Enhance sqlite3AtoF() so that it honors the USELONGDOUBLE test-control.drh2023-07-03
| | | | | | | | | | | | | | | | | | | | Enable the test/atof1.test module on non-intel platforms. FossilOrigin-Name: b7850fd480535980d66f107c2746e7f7fc0a5379ec8244d84f7785533c83f276
* | | | Whether or not to use the long-double floating point conversion techniquedrh2023-07-03
| | | | | | | | | | | | | | | | | | | | is now a test-control setting. FossilOrigin-Name: 02ae6caff1f7925c696ad263fe78b1036364d24b6373e1baec10d53aafb14a12
* | | | New test cases for floating-point conversions.drh2023-07-03
| | | | | | | | | | | | FossilOrigin-Name: 9435ed76cd9bb1be02768b3853a2323834f67bda75d3e3f76f6aa7bd0bade3d7
* | | | Final clean-up of the idea of using Dekker double-precision floatingdrh2023-07-03
| | | | | | | | | | | | | | | | | | | | computations to improve accuracy. FossilOrigin-Name: 40285d631072b79aba39cc20d4b217bdf0069f29ac9902cb97dec28d3e4cde11
* | | | Squeeze as many bits as we can out of normalization.drh2023-07-03
| | | | | | | | | | | | FossilOrigin-Name: 25d1ad6df1ed460c2cc9f32e8a5106e121ae502044f83abf431c1d5b3879eb56
* | | | Faster Dekker multiplication that removes the restriction on input magnitude.drh2023-07-03
| | | | | | | | | | | | FossilOrigin-Name: 2994caf5884be07c889519c78fbac4ddcf267fcfe6a3265ecb6390bcd574532e