aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Do not attempt to truncate a database in sqlite_dbpage if the database isdrh2024-12-17
| | | | | not larger than the requested truncation size. FossilOrigin-Name: cf8b99e17872c054e7ac0832d12633ce497c843dfc67148daf3b17762fd2b424
* Code formatting changes to make trunk more like wal2.drh2024-12-16
| | | FossilOrigin-Name: 8f725472b0fe62359a4cd3237b43d7b834e042d8ce425abde06e3ed6c62dbafa
* Changes for better alignment with the wal2 branch.drh2024-12-16
| | | FossilOrigin-Name: 4fab85b3d0d1cad2d185f2456de7ddf281badf8561cc051e10e16655441dcc84
* Remove unnecessary end-of-line whitespace.drh2024-12-16
| | | FossilOrigin-Name: ae580443d210811c12209866112fc8b0b83281e24945504b748a17d93ad84062
* Fix a harmless compiler warning that comes up when using SQLITE_DEBUG indrh2024-12-13
| | | | | separate compilation mode. FossilOrigin-Name: 52e0f8cab9852538da0778d5f57dd85b0774e764157692111a007aecd963f10a
* Increase the maximum number of arguments on an SQL function to 1000 with thedrh2024-12-12
| | | | | capability to increase it further up to 32767 using a compile-time option. FossilOrigin-Name: e8d7d68ba0bb0bc2f948db5d9966990a5d23597fc3658b7cd0bc99d53c7353a9
* Fix harmless typo in a comment describing the columnMallocFailure() function.drh2024-12-10
| | | FossilOrigin-Name: 0f3b484fd71fd77947a1de7c24f35f8eed2911d0565d03edb7970b8f3092a5da
* Make the TCL interface more rebust against very large strings comingdrh2024-12-09
| | | | | out of TCL9. FossilOrigin-Name: e2bae4143afd07de1ae55a6d2606a3b541a5b94568aa41f6a96e5d1245471653
* Enhance the ".import" command of the CLI so that it is able to insert into adrh2024-12-09
| | | | | | view that has an instead-of trigger. [forum:/info/3e03c73150f8b9f8|Forum post 3e03c73150f8b9f8]. FossilOrigin-Name: 7dcc3731a9057a91f1b173fbab2841d8a666a945d9bc61d4c20f8a2a279d5ff1
* Add NEVER() around branches that seems to have been made obsolete bydrh2024-12-09
| | | | | [a350ea7c6b89725b]. FossilOrigin-Name: cb5bad5c748b7435c43f3ec051736c1cf91ced2be317b0519e5e22523c137290
* Further improvements to the decimal-to-float conversion for values closedrh2024-12-09
| | | | | to LARGEST_UINT64. FossilOrigin-Name: 453c949914770e8f7b9b9dd882db492bf8756c212c816f87bb2e3ed98bcd64e3
* Fix an obscure problem with multiple outer joins, ON clauses and query ↵dan2024-12-09
|\ | | | | | | | | flattening. Forum [forum:5c8a069d23|thread 5c8a069d23]. FossilOrigin-Name: a350ea7c6b89725ba1a0058c77fc8e918f5cb78e868d100f5425cdee114d1320
| * Fix an obscure problem with multiple outer joins, ON clauses and query ↵dan2024-12-09
| | | | | | | | | | flattening. Forum [forum:5c8a069d23|thread 5c8a069d23]. FossilOrigin-Name: 289daf6cee39625e8f068179cd58efcc1d28242f46064e58ec4175a019cf48ad
* | Yet another iteration of the solution to the floating-point conversiondrh2024-12-07
| | | | | | | | | | | | problem - this what avoids complaints about oversize double values from -fsanitize. FossilOrigin-Name: fc6904a508eb732b1cb5cc12321a0d637d97e1e066a022a2c93cb50595f3a86a
* | A cleaner and more robust solution to the floating-point conversion problemdrh2024-12-07
| | | | | | | | | | originally fixed by [81342fa6dd03fffb]. FossilOrigin-Name: 351de57f80b73045448c71d3402d877ff5d72418b1f5fc34c8147a04f7c5cb78
* | Fix more harmless compiler warnings.drh2024-12-07
| | | | | | FossilOrigin-Name: f5b8fd77635e5e6d2d88a1ce74e1bd6c4311260a2b695e5055b898b880bf5718
* | Fix harmless compiler warning caused by the previous check-in.drh2024-12-07
|/ | | FossilOrigin-Name: 462700aeb7c183d739ead4d726ce5384b3297bcf7929abd010987fa3a5f64807
* On x64 hardware, round-trip uint64_t→double→uint64_t conversionsdrh2024-12-07
| | | | | | | | | | | fail for values greater than UINT64_MAX-2047. This caused the SQLite text-to-float converter routine to give incorrect results for values between '1.8446744073709550592eNNN' and '1.8446744073709551609eNNN' for any exponent NNN. This problem was introduced by check-in [761d8fd18b0ee868] and first appeared in version 3.47.0 and was reported by [forum:/forumpost/569a7209179a7f5e|forum post 569a7209179a7f5e]. Fixed by this check-in. FossilOrigin-Name: 81342fa6dd03fffbe7d4d699ff049dcef4d30344578bb6f91cb58a4e5a4f6036
* Add the SQLITE_PREPARE_DONT_LOG option for sqlite3_prepare_v3(), that preventsdrh2024-12-06
| | | | | errors in the compilation of the SQL from being sent to sqlite3_log(). FossilOrigin-Name: 870403425493866232cf9e8fa62288861b7d0a4091b15d75727f8bb31da46f94
* Improve the output from the ".testctrl opt" command in the CLI.drh2024-12-02
| | | FossilOrigin-Name: de7064d118c33aab0fff39d072593b287c291870b843d093045300bde464420f
* Ensure that the query flattener does not change an ON clause term to a WHERE ↵dan2024-12-02
| | | | | clause term. FossilOrigin-Name: bdd408a2557ff05c9ea962a94b442f7c078d8e1ec27035aa95bc23d4d2bd5606
* Fix a comment typo on the sqlite3ExprIsSingleTableConstraint() routine.drh2024-12-02
| | | FossilOrigin-Name: 346a845bf1cd1c7e542f7bf763d86c197d9a3b4f3ea38ade416790a1cf80e6f2
* Fix a harmless typo in debugging output.drh2024-12-02
| | | FossilOrigin-Name: 578f76cfb2e298fe6bfd278b545091fe682d01feb0be56ef57b6c9f2c179ac61
* Slighly less confusing output from treeview during debugging.drh2024-12-02
| | | FossilOrigin-Name: 7aef0b93050cdb79cae68361e84047cea2e8e7251d0581ce917da03352bb1f16
* In sqlite_dbpage, cancel any pending truncate operation if there an errordrh2024-11-30
| | | | | occurs later in the transaction. FossilOrigin-Name: 1abab10f85a4dba5ffe51a30eeef30853c120e5566ed97b3af1526fff597c647
* A NEVER() that was added by [eb5ac9e5b9a4f9c8] is violated by the ifnull()drh2024-11-30
| | | | | in-line function. This check-in fixes that problem. FossilOrigin-Name: 2220ccf4d6fea2413015c72fd318003b4b5afeae7cb7586b714fce36212d8c49
* Fix a NEVER() in the iif() logic that can be true if compiled withdrh2024-11-29
| | | | | SQLITE_ENABLE_UNKNOWN_SQL_FUNCTIONS. Problem introduced by [eb5ac9e5b9a4f9c8]. FossilOrigin-Name: 3ec2df5a6c731b59b0ab132ee59c74d107f9c4bd32cf47d9776887858b9c0dea
* Simplification to the fix in the prior check-in.drh2024-11-28
| | | FossilOrigin-Name: f79cb748c9447ca4d2184a24219feb19571eb79870e0bedf14704743a3d5f8b9
* The sqlite3ExprCompare() routine should always compare the same variablesdrh2024-11-28
| | | | | as equal to one another, regardless of whether or not QPSG is set. FossilOrigin-Name: df95d5209a77c0302e08ea7b1f248646fb2a062ba5beca898678aee0a1d03a3a
* Add two NEVER() conditions.drh2024-11-28
| | | FossilOrigin-Name: 4f358ad20dc8a45e7aaa1a1996b40abd39caf34be6556ed54e1e0c80572b7ac0
* Enhancements to sqlite3ExprImpliesExpr() so that it realizes thatdrh2024-11-28
| | | | | "iif(A,B)" implies "A". FossilOrigin-Name: d96ecbee59b50eca25447456dfff2c168e8eade7a68e542932d5829f97debb31
* Provide a two-argument version of the iif() function, plus an alternativedrh2024-11-26
| | | | | spelling that only requires a single "i". FossilOrigin-Name: a251ee645e11e24b67473d8a5bd3f8b72fde1ac9d5fda074f5da2297deb2faa8
* Fix another issue in argument expansion on Windows for tclsqlite3.c indrh2024-11-22
| | | | | | interpreter mode. Problem introduced by check-in [9b87ea219bce5689] and unfixed by [cd942dce148c9d8f]. FossilOrigin-Name: 0fe1622cec95b7ebecc127ee57a08113d3da1dadbe72c03a13d6751b3043e50f
* Fix harmless scanbuild warnings caused by the introduction of thedrh2024-11-22
| | | | | ".dbtotxt" command into the CLI by check-in [b43acf5a8cd4a5ef]. FossilOrigin-Name: 554d8fbd865436ace900859874b6c8c7e1b782184158a86b7788644e27bd1997
* Fix some harmless scanbuild warnings in the shell.drh2024-11-22
| | | FossilOrigin-Name: 9ba1c9b505d459366274043c1c5327f1a9d4e15d3564d99f8a15926af1d6d247
* Fix harmless compiler warning caused by [c77a4a42f2e3d164].drh2024-11-22
| | | FossilOrigin-Name: 063690d2c5cc2a887055b9141d3fcdb4fd2fa35d069c9a39b81903c531c73fcf
* Make ".scanstatus" an undocumented alternative name for ".scanstats" in the CLI.drh2024-11-21
| | | FossilOrigin-Name: f20688efc2bc54648618b0aa2593a771f455ee8cc703b52273452d15e680b67c
* Document that -nofollow does not work on Windows. Fix Windows symlinkdrh2024-11-21
| | | | | test cases for when the test suite is run as administrator. FossilOrigin-Name: 4de8a75ec5a2e3655a2d0c5a9333b58f8b48b681255f0a01866b610ae6249bc2
* Bug fix in the SubrtnSig logic from [c9a3498113074bbc], if a subquery isdrh2024-11-20
| | | | | | | | copied and then changes are made to the copy, be sure to give the copy a unique Select.selId value so that the original will not be substituted in place of the modified copy. [forum:/forumpost/0b9ded2f8428ac00|Forum post 0b9ded2f8428ac00]. FossilOrigin-Name: 19d1bede5654bcfa9f7a151b9b2616a3d10873b8e3f8cf54a3a7e810da08f844
* Provide the sqlite3ShowWhereTerm() interface callable interactively fromdrh2024-11-20
| | | | | a debugger, when compiling with SQLITE_DEBUG. FossilOrigin-Name: c77a4a42f2e3d16427a69295436efe36335e56e97abd0efba814092498a8dea8
* Do not report an sqlite3_error_offset() for errors that occur inside ofdrh2024-11-20
| | | | | | views or triggers, since the text of those elements is not part of the original query. FossilOrigin-Name: bf66c6dfc25c2562a4e6a5b24dd1660213a8fefbb5763e7583b87fb06dbaaf43
* Attempt to reduce divergence with the wal2 branch.drh2024-11-18
| | | FossilOrigin-Name: e0d8f9916c2d899094b71af74f44e089a97db6d80f09eb80a5d8be733c1bf942
* Attempt to reduce divergence with begin-concurrent.drh2024-11-18
| | | FossilOrigin-Name: f783d90187fb326faa3d0244b30138b023c4a8483486f260b7a022a927c13f3a
* Make the --vfstrace output from the CLI go to the same output channel asdrh2024-11-17
| | | | | everything else. FossilOrigin-Name: f71d4900205ae6ee41f849c4026d0fe4d6cf281dfc3bac8105fc8e242d128b67
* Call fflush() on ".echo" output from the shell, so that the output todrh2024-11-16
| | | | | stdout is aligned with output to stderr. FossilOrigin-Name: c38b9db3c4f71706a7d211424da64311e6e5daf64b224565a6d82d4b1a68e261
* Fix argument expansion in sqlite-tclsh on Windows such that if an argumentdrh2024-11-16
| | | | | | does not match a filename even after glob expansion, it is appended to the argument list verbatim. FossilOrigin-Name: cd942dce148c9d8f5a94cee61923aad8d1b732b807e004005f78323be30c02e7
* Remove some obsolete macros from the CLI.drh2024-11-14
| | | FossilOrigin-Name: 5c4eb625709eda24b11a0437b150a60fc1497c136a4a2ab2b9d559d893dd397a
* Fix a problem with window functions min() and max() when used with a FILTER ↵dan2024-11-14
| | | | | clause. Forum post [forum:/forumpost/e9126d554a | e9126d554a]. FossilOrigin-Name: d15fb0f75e64bbfdb8df0c0d0358aafbbd7d5e2048df676dafe1abd5e9917f2a
* Fix a memory leak in the ".dump" command of the CLI that can occur if andrh2024-11-13
| | | | | | error other than database corruption is seen while trying to query the database. FossilOrigin-Name: 2560cc7072c923f534a5de1e15d2b0dd4ac5faf0a8876d9e3bf9804345585444
* Add the SQLITE_FCNTL_NULL_IO file-control.drh2024-11-13
| | | FossilOrigin-Name: f0e917fcf51b59f8ccfe5b9341937341d0e6016eb275d6c33dcb10b0b301a9da