aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Add tests for recovering data to a lost-and-found table from a utf-16 db. No ↵dan2023-05-08
| | | | | code changes. FossilOrigin-Name: 832f6e9f797eecb9a3dae4e7e20c70eda1e91372e9d3ce4223d57f26582cdbd2
* It turns out that pagerExclusiveLock() can be called with the lock statedrh2023-05-07
| | | | | | | | already set to RESERVED if the SQLITE_FCNTL_PERSIST_WAL setting is set and a specific sequence of multiple journal mode changes occur. Enhance pagerExclusiveLock() to deal with this. [forum:/forumpost/8130545bc6|Forum post 8130545bc6] FossilOrigin-Name: 2bb8d977392f635515aa4a36f6f763a2e4858f7adc1120519e2e74c04a9749b5
* Fix a comment in the JSON logic. No code changes.drh2023-05-05
| | | FossilOrigin-Name: 3f30ea5ec9d849c64d8c38f4fffbc06c749ecff91ab90bc29b3a3cc9ec5b9df0
* Fix a buffer overrun that could occur when using the format() function to ↵dan2023-05-05
| | | | | format a very small real value with the "," modifier. FossilOrigin-Name: 910e770ad4d8e8e45bf069af963f2e975bfcfb882578dc5fe714cd2396258934
* Reduce the maximum depth of nesting in json objects to 1000.dan2023-05-05
| | | FossilOrigin-Name: c7697a0d45bfab20ec09f17ad65e375ddb43af6762278481c13a65c9a784978e
* Do not attempt to run json502.test with SQLITE_OMIT_VIRTUALTABLE builds.dan2023-05-05
| | | FossilOrigin-Name: 6664850647cd314c076842df5bf94e4f12d9be7fb56795b2af25f15c1267fa4d
* Updates to compile-time option usage and especially to the compile-time optiondrh2023-05-05
| | | | | test script in tool/omittest.tcl. FossilOrigin-Name: fece588b186c4f9f76d626313e35336fd5681e966e9bd0fa1053b147c4e3c315
* Fix the pager2-3.1 test case so that it does not run if a requireddrh2023-05-05
| | | | | | dependence (shared-cache) is omitted from the build. Fix for [forum:/forumpost/7a028538a7|forum post 7a028538a7]. FossilOrigin-Name: a77c8a780f884d0cb01d20912cf1aeec0bb7f3999d23117fe5bd82bc4405d483
* Allow virtual tables to prepare writes to shadow tables in defensive mode ↵dan2023-05-05
| | | | | from with xRelease() callbacks - even if the xRelease() is invoked from within sqlite3_finalize(). FossilOrigin-Name: a17106494a8a67bc92cfe27ee8ef9bf160517d6930d796980ae12287b98c1cfe
* Improved formatting of comments on SQLITE_CONFIG_xxx defines as thosedrh2023-05-05
| | | | | comments are used by documentation. FossilOrigin-Name: 2cb840bc9df81f76699f742e5db03835f4c272548cca0e6d24412503db3d76b3
* Add the "subsecond" modifier to the date/time functions.drh2023-05-04
|\ | | | | FossilOrigin-Name: 6fcb5a941fba0449d017954590bde7da74e5a1f8fd9b3e1febdff9bed1f22051
| * Add some tests of subsecond modifier for date/time functions. Sync with trunk.larrybr2023-05-04
| |\ | |/ |/| FossilOrigin-Name: 6499ebff545e663198bd0534be205a4e9ca68c7fb20fdcfa54fae4d9b79bfe3a
* | Enhance the format() function so that the "," modifier works for floatingdrh2023-05-04
|\ \ | | | | | | | | | | | | point numbers in addition to integers. FossilOrigin-Name: 83683e108bce83c105bbcce1aa62880d8f14ebf3383d87d83a1e5c85026a7817
| * | Add support for the comma (,) modifier to %f formats in the format() function.drh2023-05-04
|/ / | | | | FossilOrigin-Name: 7080e196a1f887640ff51ddc508ec6796ce12874c2944855702753b64a8e5e50
* | Fix a bug in cursor hints that can cause references to tables that have notdrh2023-05-04
| | | | | | | | | | | | | | been opened. Cursor hints are intended for use by COMDB2 only and should not appear in production builds, so this should not be a factor for the vast majority of users. FossilOrigin-Name: d3370d59cffb7ab982d6c620c93d22aa6a9dc786e1c4af95ca8d45ff0b9b7d6f
* | Add another assert() to FTS5 to demonstrate that a pointer is never NULL.drh2023-05-03
| | | | | | FossilOrigin-Name: b8a84a1bf53fa07ef01c57c6db6329ba439774a262b3adcbe94e7bd77525e296
* | Add an assert() to fts5_config to ensure that a potential OOM is being ↵dan2023-05-03
| | | | | | | | | | handled correctly. FossilOrigin-Name: fe9c207657400f9d9f4e822eb658157bc147ed538e2701322f6f973933f023ed
* | Protect a macro argument with parentheses in FTS5.drh2023-05-03
| | | | | | FossilOrigin-Name: bc07fe51fe0c6bb50ca8ae1baefcc35c8f5395b2d0de641bf0b0cedc92d754d4
* | Add a comment to the [0512f82a2cde7447] change to link it to its TH3 test case.drh2023-05-03
| | | | | | FossilOrigin-Name: 1281d4d9d799ef83e6eb51d656ede82b4503d39adf169deb936b30ebfddd88b1
* | Enhancement to showwal such that it shows what the page hash should bedrh2023-05-03
| | | | | | | | | | on a hash mismatch. FossilOrigin-Name: 960dc97083ed9a7bfa912010b9ea19114f51dd10e73d5c5bf06cc642ebd1a2e7
* | Conform CLI double-quoted escaping to what its doc says.larrybr2023-05-03
|\ \ | | | | | | FossilOrigin-Name: 910535ba518f35ecc64c980ad67e3af69008d1995235f52ab12db6cefdb6602b
| * | Give CLI quoted args hex escapes (as documented.)larrybr2023-05-02
| | | | | | | | | FossilOrigin-Name: 90e434a6ae370a35109802fc336b98298d345f3d23125ef2cc68c31d8e69bb50
* | | In the zipfile extension, leave the catalog list in a consistent state whendrh2023-05-03
| | | | | | | | | | | | | | | | | | the last entry is removed from the list. [forum:/info/f03f1e4c5a5c9959|forum post f03f1e4c5a5c9959]. FossilOrigin-Name: 1b489d008b7bda12f9bf92e246bc613ef61e9c74ace0652d6d088e5a6e0696f6
* | | If the page size is wrong on the page1 content inside a WAL file, thendrh2023-05-03
| | | | | | | | | | | | | | | | | | | | | running VACUUM could trigger an assert(). This check-in changes that assert() into a branch that returns SQLITE_CORRUPT. [forum:/info/4ef9b37d74d2d2e8|Forum post 4ef9b37d74d2d2e8] FossilOrigin-Name: 0512f82a2cde7447cb348d9fd620f39f2f0e359141903cde20f7ba30b5d34af3
* | | Improved detection of excess recursion on arrays and objects in the JSONdrh2023-05-03
| | | | | | | | | | | | | | | parser. Fixes a problem detected by dbsqlfuzz. FossilOrigin-Name: d40fd5924adaa8d6b1dd6b9a4087f64d496cf60096ae11c9229c59309c0d4844
* | | Do not overflow the Index.aSample[] array if the same index appears indrh2023-05-03
| | | | | | | | | | | | | | | | | | the sqlite_stat4 table under multiple names because it is a WITHOUT ROWID primary key index. [forum:/info/537d8ab118df7edd|Forum post 537d8ab118df7edd] FossilOrigin-Name: 9350a25ac0b55a6b901bc50e4db6d4e883c2617e1d2a8fdc90effabe52bb0012
* | | Do not even attempt to load the sqlite_stat4 table if the use of STAT4 is drh2023-05-03
| | | | | | | | | | | | | | | disabled using sqlite3_test_control(). FossilOrigin-Name: 0bf94c77d97582be5368bcfd149f3db7b9f928b4684aaa2626d98a2bdee8f96f
* | | Fix CLI mishandling of OOM during .import _of_ a DB. ↵larrybr2023-05-03
| | | | | | | | | | | | | | | [forum:7ed4a250d3|Reported by forum post 7ed4a250d3]. FossilOrigin-Name: 30da3f0ebd944754881bce678c61289fdaf1e32198d241cc6b5c003e4fb33c0e
* | | In the CLI, ensure that the argument to quoteChar() is not a NULL pointerdrh2023-05-03
| | | | | | | | | | | | | | | due to a prior OOM. FossilOrigin-Name: 776d1a47aae3c3679a2d158595e84facf118adf2d1bca0f0642311dd346479b8
* | | Fix a problem with the sqlite3changeset_size() API and rowid tables.dan2023-05-02
|/ / | | | | FossilOrigin-Name: 92ade220dcf5c1b76a5db605b1467a01051271957cd26f790755904fd82772eb
* | Cure CLI hang on .import with high-ASCII column separator.larrybr2023-05-02
| | | | | | FossilOrigin-Name: aac8ac631de5c5b439c48c13f5fd271d76c11b1a5fd0919dfe4506ef7725f5ab
* | Allow for lower-case "nan" to mean NaN in JSON.drh2023-05-02
| | | | | | FossilOrigin-Name: 6bee0a19e2efb6e39097fb22602556791d3d3962c50a1a0471c39a0c61db632e
* | Interpret negative arguments to sqlite3_sleep() as zero.drh2023-05-02
| | | | | | FossilOrigin-Name: 2b542326aa8e7e1f6ed9d999b95ae5340278e0821277a17de3cc803b4af793ae
* | Improved handling of NULL arguments to json_valid() anddrh2023-05-02
| | | | | | | | | | json_error_position(). [forum:/forumpost/06c6334412|Forum post 06c6334412]. FossilOrigin-Name: ab78e6946ba8125a83ff155561adf9c8df4d1c09a645fce08c8245ddb08bfa3b
* | Fix typo in comment. [forum:/forumpost/3da7d9c445|Forum post 3da7d9c445].drh2023-05-02
| | | | | | FossilOrigin-Name: 41a8a15c4b6f6157b12d43976e300763ef8a4963986d2806557ad0d8b0a784cd
* | Minor code change in the CLI to make a UAF warning from scan-build go away.drh2023-05-02
| | | | | | FossilOrigin-Name: ad6aae768ad0816bfd1c8e9db5c0153226982d3af9a089f31e608223339e9829
* | Fix harmless compiler warnings.drh2023-05-01
| | | | | | FossilOrigin-Name: 342af5b4fa0bd7c699e5497161db13d0cf795c7a5875ae30d666122e518f213b
* | The gcc definition of the SQLITE_INLINE macro is not compatible withdrh2023-05-01
| | | | | | | | | | string ANSI, so disable it if the -std=c89 command-line option is used. FossilOrigin-Name: 62d703d83cf8cf3358715792347c49315a82c659e475158e385746f4329a4f39
* | Fix harmless compiler warnings in FTS5.drh2023-05-01
| | | | | | FossilOrigin-Name: f6210017b3143ccbaea23655852f947f779bb438ad4fbf582f5da42f7cd1d9f5
* | Remove xFileControl() handling from the OPFS VFS altogether, re-routing all ↵stephan2023-05-01
| | | | | | | | | | syncing through xSync() instead. This eliminates superfluous syncing introduced in [a371374148a2], as discussed in [forum:647d2f811dbc2dfe|forum thread 647d2f811dbc2dfe]. FossilOrigin-Name: f809de7f232c8c2731a877c7bf1ad39fda5b326b2e45e4748cab4dc5e5b535bd
* | Fix harmless compiler warnings.drh2023-05-01
| | | | | | FossilOrigin-Name: 0a926994691ccb02ea4f0ba3c2e8f728871ae67d24c705fbc0f7af81f38d5f47
* | Add support for JSON5.drh2023-05-01
|\ \ | | | | | | FossilOrigin-Name: f8c3ed23a6931b1da3b93b3274b132387078112a5c8e8d06b5312c47987d3937
| * | Fix abbreviated paths for objects such that they work even if the objectdrh2023-05-01
| | | | | | | | | | | | | | | key begins with '$'. FossilOrigin-Name: 1b991c78141a9915ae9350ecb347a758e50d7d25c8a0f4cc098ae10d47c27043
| * | Fix a problem with json_patch() when one side or the other is JSON5.drh2023-04-30
| | | | | | | | | | | | | | | dbsqlfuzz bc10593a4ba8e7a7862593532285be31f00f8e41 FossilOrigin-Name: e18c0899cc774f6f20d2a73381fa3ab3af9355cf4d108c7612db259eadbb8b96
| * | Accept the full ECMAScript 5.1 IdentifyName syntax for keys in objects.drh2023-04-30
| | | | | | | | | FossilOrigin-Name: 9be2c87518b33713210e3e2fa56924888e19415c71329141d18150b275f6f25e
| * | All JSON to understand floating point literals "Inf" and "QNaN" and "SNaN" indrh2023-04-30
| | | | | | | | | | | | | | | | | | any case, without the SQLITE_EXTENDED_NAN_INF compile-time option. This extension is always available. FossilOrigin-Name: fb551145e0d84213b3343dc1bc7db70c898b9dea24a72b968240617f4b52d821
| * | Omit the json_valid() function. Change the name of json_error() todrh2023-04-30
| | | | | | | | | | | | | | | | | | json_error_position(). Use "NOT json_error_position(X)" as a substitute for "json_valid5(X)". FossilOrigin-Name: 34c4e900a9cc51630eeaf01deef74bf5b18d66e0ab1dc61a2023ac8f837a5197
| * | Merge all the latest trunk enhancements into the JSON5 branch todrh2023-04-29
| |\ \ | | | | | | | | | | | | | | | | facilitate testing of the JSON5 branch. FossilOrigin-Name: 30d12edebad9b097cd5f0da355304d1cb2f8b70d7c7dff378fd7ad7c8ebf9279
| * | | More ALWAYS() macros.drh2023-04-29
| | | | | | | | | | | | FossilOrigin-Name: 770b09f7a795956be63a06847059370db8dfc88654878d742b7b826947029962
| * | | Add ALWAYS macros on unreachable branches in the new JSON5 logic.drh2023-04-29
| | | | | | | | | | | | FossilOrigin-Name: 91e15ed9d93e51b750172a074dbbcf206128e9476571ce6189b8ea0ba5ab4135