aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Yet another iteration of the solution to the floating-point conversiondrh2024-12-07
| | | | | | problem. This one avoids complaints about oversize double values from -fsanitize. FossilOrigin-Name: 07bd06b13c42edb3a3efa8f26d48823c9ffa3d5ec8d06ee21a33b6c1d29b4726
* A cleaner and more robust solution to the floating-point conversion problemdrh2024-12-07
| | | | | originally fixed earlier today. FossilOrigin-Name: 18b20494ce0d0f8eb87f1157245ebd728d2262f0d1d902a5934f240fc781b4e6
* 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. Fixed by this check-in. FossilOrigin-Name: 17537a98cb31ab41f0e02a8403b1480f8d86ddbfc263fd766e73b6b5a7dbba2f
* Ensure that the query flattener does not change an ON clause term to a WHERE ↵drh2024-12-02
| | | | | clause term. FossilOrigin-Name: e487d3b3c03ebcf06f8071f5c6a04faae15605200361e831df7bb2361e33efc3
* Fix two problems with argument expansion in sqlite-tclsh on Windows.drh2024-11-22
| | | FossilOrigin-Name: dcef1992d55de1a8ff183baf355ec4cca23131343c6a6b30bb587aabf431d051
* Fix some harmless scanbuild warnings in the shell.drh2024-11-22
| | | FossilOrigin-Name: 04d6124d341c637dfbeb280088173ba98fab22955d24a58027f519395f7fae88
* Document that -nofollow does not work on Windows. Fix Windows symlinkdrh2024-11-22
| | | | | test cases for when the test suite is run as administrator. FossilOrigin-Name: 3f76388a47bd4cc181ce2e72c72d5e235edcae251785990dc568665016ec34a5
* Cherrypick a couple of changes requested by Mozilla onto the 3.47 branch.drh2024-11-20
| | | FossilOrigin-Name: b50d20d7951311f1fbf37b228687990f515d2d5189d5c4892b771081298e0af5
* If a subquery is copied and then changes are made to the copy, be suredrh2024-11-20
| | | | | | to give the copy a unique Select.selId value so that the original will not be substituted in place of the modified copy. FossilOrigin-Name: 16d46e116086948a704c03b7b6aecbb2c66cefca4418e8e5a9ffd05e0036c7d1
* 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: cb5ddebf79f824672045cbc660ffc896e82a769e1312ab5925d334ce1e7036dd
* Move the #include of hwtime.h from the bottom of util.c to the top ofdrh2024-10-19
| | | | | | vdbe.c so that it will be available when needed, even for non-amalgamation builds. FossilOrigin-Name: 5f23036a87f443c82fa7fd48fdac16a31128bb9288b71f97228c29bcfeb632fb
* An assortment of comment typo fixes discovered by aspell. Add several new ↵stephan2024-10-19
| | | | | words to tool/custom.txt. No code changes. FossilOrigin-Name: 59b76a99e4a28f4cc8c4f9f39ff6e039c4d29cb7b44183f1902b5792638656d2
* New assert() statements to validate OP_OpenEphemeral logic.drh2024-10-18
| | | FossilOrigin-Name: 6d55c3e238e06c6727f3e816a9268b6222ebfc90ec745bbbd48430bf7b16664c
* Fixes from code inspection:drh2024-10-17
| | | | | | (1) Extra paranoid defense against integer overflow. (2) Remove a stray blank line in an FTS5 comment. FossilOrigin-Name: 8563728deeb1d3ead9ff99a3ad2c7819b2223ead44e7374ecc7bbeda2d955ade
* Change the name of the new utility program from sqlite3-rsync todrh2024-10-16
| | | | | | sqlite3_rsync - dash changed to underscore - for consistency with the preexisting sqlite3_analyzer. FossilOrigin-Name: 86e794cbaa5ae600635c933b46298a39f2465daf4c5cd1570f2a03e19ac08d9d
* Fix harmless compiler warning in flockCheckReservedLock().drh2024-10-15
| | | FossilOrigin-Name: f369de3d8fa34a403b5c9f6269f7e3fdb16a13784a70460c5032ad4e66615d64
* Fix a typo in a comment used to generate document. No code changes.drh2024-10-15
| | | FossilOrigin-Name: 9b4bc5c4c1dc7c4ba359babc71c07ac3a6719971766951a8d2cb1df9e2396a83
* Cross-reference the sqlite3_backup_init() function to the documentation fordrh2024-10-15
| | | | | VACUUM INTO and sqlite3-rsync. Comment changes only. No changes to code. FossilOrigin-Name: 405c23ce02cc7f970e732afc26e01d0267b8fa89d8edc3d53fae2b3bc8405cbb
* Avoid the possibility of buffer overrun in the READ_UTF8 macro by usingdrh2024-10-14
| | | | | an less-than operator rather than not-equal-to. FossilOrigin-Name: 20e60bf058c54bc818ea1b8ce54ace8bcd50699734713cef622bf79e49a9a279
* There is no need to DELETE the content of sqlite_sequence in the output ofdrh2024-10-14
| | | | | | the CLI ".dump" command because that table will initially be empty if it exists at all. [forum:/forumpost/2e31f49d00472cec|Forum post 2e31f49d004] FossilOrigin-Name: 8d7fe903d09a2a7961f506b2c8e93765e4feb7cd48aac436d75c7ec7838e856a
* The CLI now default to ".crlf ON" in Windows. CSV output always uses CRLF ondrh2024-10-14
| | | | | all platforms. FossilOrigin-Name: 84d19f03b1989d665547745defcd95fc927f8389ed65c76195a39206435791ba
* Be consistent about using "CRLF" instead of "CRNL".drh2024-10-14
| | | FossilOrigin-Name: ec4f4cfd5f8ca83fad4f08cf6566251d9c63e50a3a4284baca299bd94b047951
* Fix a harmless compiler warning in the CLI.drh2024-10-14
| | | FossilOrigin-Name: 31c46e84fffe29c45fc63ae8cd1f96f42196f0ab56e72cd07b4eedbd9058e85b
* An improved method for statically linking sqlite3_analyzer.exe using Tcl9.drh2024-10-11
| | | | | Enable wildcard expansion of arguments to testfiture on Windows. FossilOrigin-Name: 9b87ea219bce5689a69efac31063b9b11928e59124c0d36194715ff7faa5129d
* Fix the CSV output mode in the CLI such that the line ending is NL by defaultdrh2024-10-11
| | | | | | | but goes to CRLF if ".crnl on" is set. Make the .crnl command available on non-Windows builds. Update the .crnl command such that if it has no arguments it shows the current setting. FossilOrigin-Name: da750e39df7bf42330d8c8b266300da07247c9619895861b4cff4be7c94db7cf
* Avoid undesirable NL to CRLF translation when doing binary output to thedrh2024-10-11
| | | | | Windows console. FossilOrigin-Name: d25bdce36abed95524ad058a277aba7bb17270e7ff1476474713dbc29742c762
* Improvements to TCL9 support. Fixes to the Makefiles so that the "install"drh2024-10-10
|\ | | | | | | | | targets are consistent and so that they work better with TCL9. FossilOrigin-Name: bcfae7183e92ce37717852bae5b1dd526903fa8429fb6f738c2147d4e5231642
| * For compatibility, allow the TCL interfact to continue working with TCL 8.5.drh2024-10-10
| | | | | | FossilOrigin-Name: 69346e9d4704e8fd82cbb3359913191e05cb38ee591baf97dcfe321db0ea085e
| * Changes to the TCL extension and how it is built, suggested by Jan Nijtmans.drh2024-10-09
| | | | | | FossilOrigin-Name: 9c0690193200551a3218c576b19eaf40e330dc252d67b430204ff44495e4793e
* | Fix the xCheckReservedLock() method of the flock VFS to avoid dropping the ↵dan2024-10-09
|/ | | | | file-lock. FossilOrigin-Name: 8ffaf85249ff38ceea037a6e96b3484c912f1c1aa55b8642297d592768661344
* Improved handling of unicode characters in the LIKE optimization.drh2024-10-09
| | | | | Follow-up to [bce52ce2a6e7f3d3]. FossilOrigin-Name: 9d0eb3980409115f2f6fd1720a03f34e3968c93be55feafdfef20bf5f711c17f
* Enable the ".crnl" command on Windows builds of the CLI even if thedrh2024-10-08
| | | | | SQLITE_U8TEXT_ONLY or SQLITE_U8TEST_STDIO compile-time options are used. FossilOrigin-Name: 6364a2f0449794b0c089ba9fbc099f5558b88ac91c459caf7fae3a43dfcd192e
* Additional improvements to the behavior of ".crnl" in the CLI. The defaultdrh2024-10-08
| | | | | | | | output mode is O_BINARY so that results are identical on Windows and non-Windows systems. On Windows you can optionally do ".crnl on" to enable NL-to-CRLF conversion on output. Output to Windows console is always O_U8TEXT and so is unaffected by the .crnl setting. FossilOrigin-Name: dbfc10b8981bcce4f875c4adef43f398871b41551074445087e343ded50253c5
* Fix the .crnl command in the shell so that it does not get undone bydrh2024-10-08
| | | | | calls to print a quoted string or CSV output. FossilOrigin-Name: 6b932337c8dee3e52b472a38984e91b5091f3d90c41ac1cc171fa4149cc491c5
* Add an ALWAYS() on a branch in the new indexed-subtype logic.drh2024-10-08
| | | FossilOrigin-Name: f150c3c5b898975b1f83d61fa589753449a48f8a0007e8e167dbd702528197c5
* Add a NEVER() to an unreachable branch in the new indexed-subtype logic.drh2024-10-07
| | | | | Mark the pi() function as deterministic. FossilOrigin-Name: 50be8f5091b2202b67a80f826feee2c378f001745ad5acb7c4374423bbf6ff22
* The (undocumented) subtype() SQL function should have the SQLITE_SUBTYPE flag.drh2024-10-07
| | | FossilOrigin-Name: c361dd91841da64fdd009e6eab389ccd81266a24d1070e5313fe1d22e6cef65a
* Merge the latest trunk enhancements into the indexed-subtype-expr branch.drh2024-10-07
|\ | | | | FossilOrigin-Name: 2fe2f374584b025676684ebe4ef29304883a3b0b125b62abc1dbf74815eecdfb
| * Add the undocumented test/debug function parseuri(), useful for fuzzing.drh2024-10-07
| |\ | | | | | | | | | | | | Only appears when compiling with SQLITE_DEBUG. FossilOrigin-Name: 011fab70cb3d194b27742ebb236b05be582230567cf78e3e6cac6911de86922f
| | * New SQL function for testing/debugging use only: parseuri().drh2024-10-06
| | | | | | | | | FossilOrigin-Name: 37d3b6b17e92b2c760239c3053bbc7fb85091acd688c54a73af7611fe9501312
| * | Fix handling of U+fffd in the LIKE optimization.drh2024-10-07
| | | | | | | | | | | | | | | dbsqlfuzz eee57fb9eea1dfa5aa40dfa87865cf8c84d12f96. FossilOrigin-Name: bce52ce2a6e7f3d3d1b2807d1ea95243d9b655e557c1bb6f0b8a9a6cefb1aed6
| * | Fix an assert() failure in "PRAGMA integrity_check" that could occur when ↵dan2024-10-07
| |/ | | | | | | | | checking a corrupt database. FossilOrigin-Name: d218993be5886f07193d5c2a66ccd0ecdd7bb87687947b89945c90e31cea5451
* | Allow expressions with subtypes to be read from indexes unless they are ↵dan2024-10-05
| | | | | | | | | | being used as direct or indirect parameters to SQLITE_SUBTYPE functions. FossilOrigin-Name: aa440e78e9004c7ca3e03beaf264f54d0070ad7298a3c96ca097d8b35c872e5f
* | Experimental change to allow expressions with subtypes to be read from ↵dan2024-10-05
|/ | | | | indexes in situations where they are not used as function parameters. FossilOrigin-Name: ac63f98ad85a4dd1e49cc64b41f0ca0044153972c15d71c669f4bc3ec590e268
* Fix typo in documentation for SQLITE_SUBTYPE. No code changes.dan2024-10-04
| | | FossilOrigin-Name: 6733893f450097e07cbd563d6a46790825fd0689283d60181c09793ce7d5509e
* Unconditionally include <ctype.h> in sqliteInt.h, even in builds wheredrh2024-10-03
| | | | | it is not needed. FossilOrigin-Name: 825f01d7e258ac7981f715fd10708560381b079f0e026abc414cf56d16d862da
* Fix to the previous: The dbpageRollbackTo() method should return SQLITE_OK.drh2024-10-03
| | | FossilOrigin-Name: 4dea7221129350a15df8dee5aabd5567e47adda4d255b65d4ba82fd821913759
* Fix missing return value from the new dbpageRollbackTo() callback.drh2024-10-03
| | | FossilOrigin-Name: d1e0992e1f2885be9725d872b8688806e06788f3d66a70de86255179d93f74d3
* Modify the behavior of sqlite_dbpage so that the null-INSERT that truncatesdrh2024-10-02
| | | | | | | a database must be the very last INSERT operation within a transaction in order to be effective. This simplifies the code and also makes the behavior easier to document and understand. FossilOrigin-Name: b869a7d9ce9567a61d2257272032aaee705bbc6158c7f2cd36e7f3ee66d72722
* Adjust the new truncation behavior of sqlite_dbpage(N,null) such that it causesdrh2024-10-02
| | | | | | the database to be truncated to N-1 pages. This makes more since. An error is raised if N is less than 2. FossilOrigin-Name: 7d5ff86ef7386f4f7f6a956dc0de607e61040d335c9f98d1f71e76a39f4f5e03