aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Correct typo in an 'extern' decl name, reported in ↵stephan2023-05-19
| | | | | [forum:1d4342156439233b|forum post 1d4342156439233b]. FossilOrigin-Name: 6ac18827d8c5be35442dc452af703023c759916c179f165c4e54b3e430a8f7b0
* Fix incorrect b-tree root page reports from the enhanced PRAGMA integrity_checkdrh2023-05-18
| | | | | output introduced in version 3.42.0. FossilOrigin-Name: 9b538f62539bcde7d7d7ad06eccdc558ecbd3f9160db35197568f4d3b4247c76
* Fast-path the btree transaction start for the common case where adrh2023-05-17
| | | | | transaction is already active. FossilOrigin-Name: 798c3ff20c606b5f9fde16dc67781f238370a7c450bc239c3a98d0f4ca370399
* Simplification, performance improvement, and size reduction in thedrh2023-05-17
| | | | | codeAllEqualityTerms() function of the code generator. FossilOrigin-Name: 4fbe02651e877e442d62308d7f607e503695104cd71c5565132fcd1398c120df
* New assert() statements to verify that Expr.iColumn is never used as andrh2023-05-17
| | | | | array index when its value is negative. FossilOrigin-Name: 6084c5fb6d3fcedf35cd6c597a44ec7bf8b4a2576c7b277e5342d2a7905318e7
* Improved assertions on substExpr().drh2023-05-17
| | | FossilOrigin-Name: 6dbd5b3cc801a75ea23842a43eb7106b62fc1d26dd5a8477a0217325539a7c1a
* Avoid an assert() failure that could occur in ↵dan2023-05-17
| | | | | SQLITE_ENABLE_UPDATE_DELETE_LIMIT builds when a WITH clause attached to an UPDATE or DELETE statement created a CTE of the same name as the table being modified. FossilOrigin-Name: 8edf56d1698c3db38250db3b25864f658488414efb3a6b3e1443283b6affd26d
* Fix two assert() statements that failed to take into accountdrh2023-05-17
| | | | | the likely() built-in function. This does not impact production code. FossilOrigin-Name: 8504fe812c5b4956c8acad515d537add54cb591bc81747113f9b24526d7685b8
* As evidenced by [forum:/forumpost/f3f546025a|forum post f3f546025a], thedrh2023-05-15
| | | | | | | | | new RIGHT JOIN related restriction on the push-down optimization implemented by [da3fba18742b6e0b] also needs to apply to the automatic index (a.k.a. hash-join) optimization and to the Bloom filter optimization. Computation of the restriction is now moved into the sqlite3ExprIsSingleTableConstraint() routine. FossilOrigin-Name: 4902015dcf3869f08d9986e422faa231d9218a5e0fc59ba8df0f407e4eb3d605
* Simplify the interface to constructAutomaticIndex().drh2023-05-15
| | | FossilOrigin-Name: c5da16551619718bf649c517515261706843e11e131f0b99e1fd6927d0f7e238
* Remove unnecessary call to sqlite3_dbdata_init() from shell.c.dan2023-05-13
| | | FossilOrigin-Name: 84ca2000007d217f911a3b1586143fc9261c0697a9e9fadda6bd3dd6afdfb099
* Add an "#ifndef SQLITE_HAVE_SQLITE3R" directive to shell.c.in, to avoid ↵dan2023-05-13
| | | | | including the recovery code a second time if the shell is being compiled with sqlite3r.c. FossilOrigin-Name: 6f1a60fb7b3ef463b4131dfecbc72b7c778c794a9aa13ce4617ab6dd895508b2
* Mention that sqlite3_mutex_free() accepts NULL as a no-op.larrybr2023-05-13
| | | FossilOrigin-Name: 603d9ad5012ca8996783996d7b8cd6a1aabf12b21604a2ccc137f4c2d99427b9
* Fix unlikely strange result of CLI edit().larrybr2023-05-12
| | | FossilOrigin-Name: ab3797e844c97fed344b36f30cfb788aca9e0d68c574fb833712219eb712db44
* Ensure the _O_U16TEXT is defined for Windows builds of the CLI.drh2023-05-12
| | | | | [forum:/forumpost/c80aa942dc6bf2|Forum post c80aa942dc6bf2]. FossilOrigin-Name: 504effa89b48c0dc6cd12b3eaf6017be3f32017c601af17759a3cc185346d868
* Remove a stray CR from end of line in a source file.drh2023-05-12
| | | FossilOrigin-Name: 48139fb904de4b7b383e7f8c29bed83ad878eb22b1dd773c366a0aee74613d23
* Fix harmless typos in comments.drh2023-05-12
| | | FossilOrigin-Name: 607c3efbe0293d7c11a955a9f21e24fb9f7f1bb758e13e60f4ba0cc0ac8b900c
* Ensure that all prepared statements are expired and forced to repreparedrh2023-05-12
| | | | | | whenever the database text encoding changes. [forum:/forumpost/43cbfc4d23|Forum post 43cbfc4d23]. FossilOrigin-Name: 469718f106e1cfa7f8f4714a9e743108c361af81e0258061c2b76880a7c352ae
* Add [/info/cec6a06508239c09e363?ln=5525-5531|restriction (5)] to thedrh2023-05-11
| | | | | | omit-noop-join optimization. Fix for the issue reported by [forum/forumpost/49f2c7f690|forum post 49f2c7f690]. FossilOrigin-Name: 3e9c9bbdb59b9d500ff218db538c047c83da7ac18ebb95c3ee7629ab15e0b43a
* Fix a minor typo in a comment. No code changes.drh2023-05-11
| | | FossilOrigin-Name: 607cfb5bc5c0fb8b789944c2326cfdebf0629e45fbf0a61dd5f667ed685a1bbe
* Fix harmless compiler warnings from the CBMC compiler.drh2023-05-10
| | | FossilOrigin-Name: 5bc17cbccdd369486fca049be9d7457e18f162c0e2f5475809ffc8f01c5fa9d2
* Rename sqlite3IsTableConstraint() to sqlite3IsSingleTableConstraint() anddrh2023-05-10
| | | | | | improve its header comment, in an attempt to make the code easier to reason about. No functional changes - should generate identical machine code. FossilOrigin-Name: 5dae897431a0a9dbb354c4a8a48f935ea7438035d96f90b83dd81eae434c8277
* Add a missing comma to the documentation for the OP_Jump opcode. No changesdrh2023-05-10
| | | | | to code. FossilOrigin-Name: 7e2c2b1cee760af68cf303ce9ec1babbaf607fe54e043893c046d2d37cd0ab46
* New restriction on the push-down optimization to prevent an ON or USING clausedrh2023-05-10
| | | | | | | | | on the left side of a RIGHT JOIN from being pushed down into a subquery that is on the right side of that RIGHT JOIN. [forum:/forumpost/a7d4be7fb6|Forum post a7d4be7fb6]. Also add comments to describe previously undocumented push-down optimization restrictions. FossilOrigin-Name: da3fba18742b6e0bd5290bee9d86a2d5cb1ff2de25d737ef93060d7c1143273f
* Fix bug in fall-back logic of CLI .clonelarrybr2023-05-10
| | | FossilOrigin-Name: 0dcd9785c11e33e6393b7c1be1ff8fe7129f280439aed12de22d4687609a8bac
* Improved error handling when ".open" fails in the CLI.drh2023-05-08
| | | FossilOrigin-Name: 38544b11f0e19cc6c6f8230a89d28e36c7c3587481deaac6cedbf82338ca0d47
* In editPage(), if an attempt is made to edit an empty 64KB page, then takedrh2023-05-08
| | | | | | | the slow path through rebuildPage(), in order to maintain strict invariants in the editPage() code. [forum:/forumpost/0f37727c0d|Forum post 0f37727c0d]. FossilOrigin-Name: a865e574e510c1ca192d0bd5293fb583def90f7ed086af2c89ca856ce93d115b
* Ensure that the label for a JSON object really is a string and not an arraydrh2023-05-08
| | | | | | or object that just happens to end with a string. dbsqfuzz 32f62ed8676d0a153dbe756aeae3202d3670fe50. FossilOrigin-Name: c335737c2889722ea05b732a5efff8a2f31140c18ca038c41e05c2a26e0db5bd
* 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
* Updates to compile-time option usage and especially to the compile-time optiondrh2023-05-05
| | | | | test script in tool/omittest.tcl. FossilOrigin-Name: fece588b186c4f9f76d626313e35336fd5681e966e9bd0fa1053b147c4e3c315
* 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 some tests of subsecond modifier for date/time functions. Sync with trunk.larrybr2023-05-04
|\ | | | | FossilOrigin-Name: 6499ebff545e663198bd0534be205a4e9ca68c7fb20fdcfa54fae4d9b79bfe3a
| * 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 a comment to the [0512f82a2cde7447] change to link it to its TH3 test case.drh2023-05-03
| | | | | | FossilOrigin-Name: 1281d4d9d799ef83e6eb51d656ede82b4503d39adf169deb936b30ebfddd88b1
| * 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
| * | 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
| * 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