aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Improved comments on the pageFreeArray() routine of btree.c. No changes todrh2022-11-19
| | | | | code. FossilOrigin-Name: 0c2adc6d3547b07e950ae49f07f688f71a21b3ad5a51f16f0e8d49ab91564582
* Streamline the decodeFlags() routine in btree.c for a small performancedrh2022-11-19
| | | | | increase. FossilOrigin-Name: 4cb285210b4a2b14c80962bf2ecb35be310d3444c329c15d86b3073096455704
* Small performance optimization in btree.c.drh2022-11-19
| | | FossilOrigin-Name: f710cce13577788cf3b95ed7089c3af2854271ff53f0a0b7b0619f315e331eff
* Databases created using sqlite3_deserialize() should report their filenamedrh2022-11-19
| | | | | as an empty string, not as "x". Fix for ticket [53043c9793715f08]. FossilOrigin-Name: ff494449efd475878c549728cc22ee9b12d13674068781747fc042a0c1bd09c8
* shell.c.in: on non-Windows platforms, check for ↵stephan2022-11-18
|\ | | | | | | | | $XDG_CONFIG_HOME/sqlite3/sqliterc before ~/.sqliterc, per request in [forum:7a16582b1e403c81|forum post 7a16582b1e403c81]. FossilOrigin-Name: 17065d095d26a814acf1e13f5cc18b21fecc58eb8c9da100458029bb139fcd35
| * shell.c.in: on non-Windows platforms, check for ↵stephan2022-11-06
| | | | | | | | | | $XDG_CONFIG_HOME/sqlite3/sqliterc before ~/.sqliterc, per request in [forum:7a16582b1e403c81|forum post 7a16582b1e403c81]. FossilOrigin-Name: 49c6e438a83b9ff40ebadd3dfd5f58e6eea053575e15335909f5ee59a6dba82c
* | Use the log10() and log2() functions from the standard C library to implementdrh2022-11-17
| | | | | | | | | | | | | | | | the equivalent SQL functions, in the hope that this will prevent reported precision problems. See [forum:/forumpost/cfceb1230bdcfd84|forum post cfceb1230bdcfd84] and the surrounding thread. FossilOrigin-Name: 7c572d02e60a83b36543ba4d9d45f61e9fc111b61fee085410c2d87558c732d6
* | Split out the documentation for sqlite3_value_encoding() into its owndrh2022-11-17
| | | | | | | | | | | | | | | | page and make it clear that this interface is intended for testing and debugging only. [forum:/forumpost/c9f445453da950ad|Forum thread c9f445453da950ad]. Comment changes only - no changes to code. FossilOrigin-Name: 9048a766ff7dfa0cd91ea74092e462f4501cb3f719033ccb55700bf5e4dfd0d3
* | Raise an error if an attempt is made to compile the CLI with thedrh2022-11-17
| | | | | | | | | | | | SQLITE_OMIT_COMPLETE option, since sqlite3_complete() really is necessary for the CLI to operate sanely. FossilOrigin-Name: a119a9e2ade4eac5feb1aa885c15b83e725f87386351de99d3abb49656219d50
* | Fix harmless typo in comment, reported by Debian in Fossildrh2022-11-16
| | | | | | | | | | [https://fossil-scm.org/forum/forumpost/15f7327318]. FossilOrigin-Name: 5689f0d9ad1be532b274508938b25ff0d63027b8cc31f796dfaa2cca71d53642
* | Avoid returning SQLITE_SCHEMA if the first query run on a connectiondrh2022-11-16
|\ \ | | | | | | | | | | | | | | | is "SELECT nosuchcolumn" or similar. [forum:/forumpost/c1798f77ef|Forum post c1798f77ef] FossilOrigin-Name: 3dc4f75d77417df1ef19be8e3191d246fb44ca7f7d1de7b161c5cb0f8aafeded
| * | Avoid returning SQLITE_SCHEMA if the first query run on a connection is ↵dan2022-11-10
| | | | | | | | | | | | | | | "SELECT nosuchcolumn" or similar. Forum post <https://sqlite.org/forum/forumpost/c1798f77ef>. FossilOrigin-Name: d31c019fd6849e4c3f8452e75c6cfefd613ade5355e896be368bd16fef28c627
* | | Previous change to the fake_big_file command in the test harness was notdrh2022-11-14
| | | | | | | | | | | | | | | correct. This one should fix the problem. FossilOrigin-Name: 6ee57a2e4e3399481100c40da0229d2d33cbe3290016185c8a60839d14b209f6
* | | Change the fake_big_file test command so that it fails for files larger thandrh2022-11-14
| | | | | | | | | | | | | | | | | | 2MB on Windows, as we have observed that Window10 will sometimes bluescreen when operating on very large sparse files. FossilOrigin-Name: d39ffd2abadcc85c46ba17612f9f575005b4818e18bf39362b8ee574837cfad9
* | | Disable the ability to change the schema_version cookie whendrh2022-11-12
| | | | | | | | | | | | | | | | | | | | | SQLITE_DBCONFIG_DEFENSIVE mode is enabled. This is a security enhancement inspired by the question in [forum:/forumpost/2b9cc3dae1f1e5f6|forum post 2b9cc3dae1f1e5f6]. FossilOrigin-Name: 1d81381e8f5db5d7064cc313b8544ca3cb1ca9e8cd61e71368a2d2e598befc9c
* | | Remove unnecessary tabs in the ChaCha20 implementation.drh2022-11-10
|/ / | | | | | | | | [forum:/forumpost/0cdce5db8c|Forum post 0cdce5db8c]. FossilOrigin-Name: b7179efbdb2bdc878acec0abfe272821f7e0d7d9e5ef06cd7fd796ef295e54ab
* | Further improvements to the handling of the u32 and u16 typedefs in thedrh2022-11-07
| | | | | | | | | | shell.c source file. FossilOrigin-Name: 55a19677d723147aeb2b4a86bbd01756ddeb2072cba72c3145ad32d335e203b0
* | Fix an obsolete comment.drh2022-11-07
| | | | | | FossilOrigin-Name: e377c0a1ef030395293c5f24d7cb8e5b36ce972e9fac31b99c8425075486a46a
* | Fix typo in comment.drh2022-11-07
| | | | | | FossilOrigin-Name: c3b94d7d4697a5c3983253f6266c544d8037617778a09d491bc12eb13f08ac75
* | Fix requirements marks so that they match documentation corrections.drh2022-11-07
| | | | | | FossilOrigin-Name: 10d6189d23133006b39ea230045a918483721dd48f5558f77e57e23693097d16
* | Fix the documentation regarding negative length parameters fordrh2022-11-07
|/ | | | | | | | sqlite3_result_text() interfaces, to point out that the length parameter to sqlite3_result_text64() cannot be negative. [forum:/forumpost/cf1d043b07|Forum post cf1d043b07]. Comment/documentation change only. FossilOrigin-Name: 8016507651f377b08deb3a13cc559d56ce6e934c3073a8e63d05fd946b8403a4
* Remove an unimportant testcase() macro that is no longer reachable due to thedrh2022-11-04
| | | | | improvement in corruption detection. FossilOrigin-Name: cd7e3568a9b0c0f5ef5ca8a29c55cefe2bbad2dbc88a3718a87bb24a8ada3b7f
* Enhance the ability of the OP_Found and similar opcodes to detect truncateddrh2022-11-04
| | | | | | index records and report SQLITE_CORRUPT. dbsqlfuzz 2b12f90aeff8e081706c7e9b58834f04869f446c. Test cases in TH3. FossilOrigin-Name: 059a09da2c5fd9c7e723c713565fbaf71602079feef0704129cc5cbbd0033936
* Clarify documentation regarding the --recovery-db option to ".recover" anddrh2022-11-02
| | | | | the magic 789 configuration option it is associated with. FossilOrigin-Name: f6fa0cffa921ccde8910e7fa4a63c2e4ef8ddb376c8ce99e436b27ac332c4498
* Fix harmless compiler warnings.drh2022-11-01
| | | FossilOrigin-Name: de829770aa0f59b4cd3ab1dc5eec90be82663dca3199c2cf6d97f4c41ce9f799
* Instead of (const char*), use a special type - sqlite3_filename - as the ↵dan2022-11-01
| | | | | filename argument passed to VFS method xOpen(). FossilOrigin-Name: bd1fe4de8a2e8b8de19a7f90b9fdafb641ad11a6f0c96c0b4495d5bf80885675
* Fix a #ifdef involving SQLITE_OS_KV that was adding code unnecessarily.drh2022-11-01
| | | FossilOrigin-Name: b6c1b6e4a3bc21c40d6faca6f70842df5201f21c96a076a895410660630461c0
* Improvements to comments. Change the "optimization_control" TCL commanddrh2022-11-01
| | | | | | in the test harness so that it returns the new optimization mask, for verification. FossilOrigin-Name: a3a500127d4752ee05c183e9ac97a2bc27768bf7063b04b5c1405cd3fd3931f5
* Do not flatten a UNION ALL subquery where the column affinities do not matchdrh2022-11-01
| | | | | on all arms. Force that subquery to be materialized. FossilOrigin-Name: 1b8a128832c1633cbb86999d347fef64ac45fe134dac61132112fc97f24676a0
* Enforce column affinity on the materialization of a subquery or view.drh2022-11-01
| | | FossilOrigin-Name: b6692de374d7f489d8cf8877bdfef19501bc5ecb0781d42750807eeb58f2e7cd
* Make the UPDATE method of the sqlite_dbpage virtual table rebust againstdrh2022-10-31
| | | | | | OOM errors. [forum:/forumpost/bbcf0dd6ca|Forum post bbcf0dd6ca]. Test case in TH3. FossilOrigin-Name: d15c9a4a323b825eb80e706e12e9df95e5db458024f51e6e537940efc8234d8b
* Extra OOM check in shell_error_context() of the CLI.drh2022-10-31
| | | | | [forum:/forumpost/5708841db0|forum post 5708841db0]. FossilOrigin-Name: cb12ac5de17e677f089d7b0b46803efbd9a9178972ffb0454a8b557b06633658
* In the CLI, ensure that input to utf8_width_print is not NULL, or if it is,drh2022-10-27
| | | | | | change it to an empty string. For for the problem reported by [forum:/forumpost/2961cf13eec61876|forum post 2961cf13eec61876]. FossilOrigin-Name: 9ecc9d25ea62a7777bbf621989a5c577b612784121a20465cda4d4023fa9634d
* Change the name of the ".recover" command option "--freelist-corrupt" to ↵dan2022-10-27
| | | | | "--ignore-freelist". FossilOrigin-Name: afce8443ace57c3c99c6810be98f05ed716ae504b68098726c869843c643bbf0
* Automatically set temp_store=MEMORY if the VFS is kvvfs.drh2022-10-27
| | | FossilOrigin-Name: a4d40f6346e7eb2a5239684dba86f297358122768a4d4bf6786b6028f4300e04
* Do not accept a NULL pointer for the filename in KVVFS.drh2022-10-27
| | | FossilOrigin-Name: fdecbd3b5bcdeb358015f461ac6c863f12ab180ab4624ed50734e41e557d8186
* The kvvfs VFS should remember the page size when writing to the database.drh2022-10-27
| | | FossilOrigin-Name: fc5503c8acb085042e877c9de43256a4fee27f63ab35e2ddad18e40734ed00d4
* Re-enable the .recovery and .dbinfo commands in shell.c.in in the fiddle ↵stephan2022-10-27
| | | | | build, as those were fixed by [3d20d77a3511] and [cd0aa27d1732]. FossilOrigin-Name: ba3a7a4a9997f62b78467d78d95fa5b58a03ecb2e2ccb68f4d316fc08fd02f86
* Restructure and simplify the feature-detection #defines of the recovery ↵stephan2022-10-27
| | | | | support in shell.c.in and disable it when building fiddle because it uses features we elide from the wasm build (e.g. utf16), leading to link errors. FossilOrigin-Name: ddd10c05c5d16d7205c347c5c1e73a75faecb2b7ec88a4a15875856765e1b143
* Disable the push-down optimization for sub-queries that are INTERSECT, UNION ↵dan2022-10-26
| | | | | or EXCEPT compounds. dbsqlfuzz a34f455c91ad75a0cf8cd9476841903f42930a7a. FossilOrigin-Name: 346a3b12b861ce7ba369e98cd336f79a1d4f7a7bb9acd7a4f63f37b391755bf5
* Merge further changes from trunk, including fix to dbdata.c.dan2022-10-26
|\ | | | | FossilOrigin-Name: bcf6b48d52c1ce656899f50bd508c0920cae8cf2ef3c0758a7633981f0f0f484
| * Remove the sqlite3StdTypeMap global constant that was madedrh2022-10-26
| | | | | | | | | | obsolete by [aa6e908619624867]. FossilOrigin-Name: 3dfdfb3f12edb3f4267942598efd05d573e13b7c5d6cdbc3404373f41b8993dd
| * Enhance the sqlite3_strglob() and sqlite3_strlike() interfaces so that theydrh2022-10-25
| | | | | | | | | | | | | | will do sensible things with NULL string pointers. This is an extra layer of defense against bugs such as reported by [forum:/forumpost/730b554179|forum post 730b554179]. FossilOrigin-Name: 8ba9c884bded52e3e044ff39c826c04838e7c31f05d802f4a14d9ce5a01ab721
| * Make the ".dump" command of the CLI more robust against malformed databases.drh2022-10-25
| | | | | | | | | | See [forum:/forumpost/730b554179|forum post 730b554179]. FossilOrigin-Name: 0573edfb9e0b1fd51e8da20592c71b02040968c33fdec41c31a6b1b7d3e83262
* | Merge latest trunk changes with this branch.dan2022-10-25
|\| | | | | FossilOrigin-Name: 757e3f585959f4f113fee48fe3d504f037604c53a95c8d47ce5c2bccfb2af8ff
| * Fix typo in comment.drh2022-10-24
| | | | | | FossilOrigin-Name: f65c95658fe4d30817da8de7eb88e823ea1cd8be40e347d626870bad3cc13359
| * Add a comment to a previously undescribed member of the Walker union.drh2022-10-24
| | | | | | FossilOrigin-Name: 69d704224e9ed022fcec591beff2ffcc4daf3e7fc586debfdcf00b25c1fddd87
| * Use the same "PRAGMA synchronous" setting for the output of a "VACUUM INTO" ↵dan2022-10-24
| | | | | | | | | | as are configured for the database being vacuumed. FossilOrigin-Name: 86cb21ca12581cae9a29f42ba707bd9d789e667e5ddc0f64b24940d5d5c9a118
| * Improve the ability of the query planner to recognize covering indexes evendrh2022-10-24
| |\ | | | | | | | | | | | | | | | on tables with more than 63 columns and where the index is over columns beyond the 63rd column. FossilOrigin-Name: f058773e41495ddbae698f9e9a4f62b7003112ea8614dfad69471340058735e4
| | * The wide-table covering index detection must take into account aggregatedrh2022-10-23
| | | | | | | | | | | | | | | queries. FossilOrigin-Name: 9ac73f83c53b9fba10bb1b8bbfd1a8dc8a2dc4a655e811d5b96335dbf2b6fdac