aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | | | | Check-in [da9124fee28c155c] broken the new SQLITE_IOCAP_SUBPAGE_READ mechanismdrh2025-01-15
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | for inhibiting direct-overflow-read. This check-in fixes the problem. FossilOrigin-Name: 113078d555eaf740666680562ebbb04f7d823b72e8b2d553627e54ab3d7bf653
* | | | | | Variable names and conditional logic simplified in where.c. Thesedrh2025-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes are cosmetic only and do not affect the resuling machine code. FossilOrigin-Name: dbc2d6a244fdafd208239894dbdd8f139db6ca20dd8f1ed00d87028e0cb60570
* | | | | | Remove a stray tab character from a comment.drh2025-01-13
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 315079b150b47e013e2cde4985bc39d24e0f6f6c6e60f9383fb8ea4ea897c67a
* | | | | | GCC 13 has become more quite pedantic about the signature of functions ↵drh2025-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matching the type of pointers through which the functions are called. Make adjustments to extension functions and test procedures to work around this. No changes to the core. FossilOrigin-Name: ed83b79100b4345235aec990303c4526874f0c2f8701160c4639a80633ebaf70
* | | | | | Fix harmless "implicit fall through" warnings that suddenly appeared whendrh2025-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I upgraded to gcc-13. FossilOrigin-Name: 3e2875dac27de1525d9c78f38ac5f1fc12fec7e1b43dbdf47798b128fae49084
* | | | | | Better job at suppressing harmless scan-build warnings. This time testingdrh2025-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and working. FossilOrigin-Name: c847973947de67579fab78a65ecfc90bf59fd5db0b7fa7a9c1abb1fc92213d01
* | | | | | Fix harmless scan-build warnings.drh2025-01-11
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: b93af6feb7c0c3af30a47810a7c0e77ce41c386fac164c64bb5871a6c153db7e
* | | | | | Improvements to [14b38ae6ab86a314] so that the Tcl interface is better abledrh2025-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to work with boolean values in both Tcl86 and Tcl90. FossilOrigin-Name: 4e85343d6107a46682b549667410c296d7f4d17e3ac04ded7357afcbbfbe3e6d
* | | | | | Fix a memory error in test logic introduced by [8704034254938662].drh2025-01-07
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 8a56e98d257e280d308b9fdc26e17e202f00a70fb9a780e30924e87a189fc7f4
* | | | | | Make the TCL extension aware of the booleanString type within TCL.drh2025-01-07
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 14b38ae6ab86a314a63ca9513850b43fcc670864f94d03a2706eff469980da88
* | | | | | Fix a typo in the previous check-in.drh2025-01-07
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 7d41885e85b0e2ef28bac34d663af07c35b21ee3e8b14481d2371f623bce681d
* | | | | | Minor fixes to tclsqlite.c to promote portability.drh2025-01-07
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: dd934f032fa6fc790a951006512e3ed76a5f2930858932918eafdbe3ceec4620
* | | | | | Fix a minor problem with the sqlite3_get_table_printf() test interface.drh2025-01-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No core changes. FossilOrigin-Name: a0df29c7a3eb4f558aba00598d827643830591def3101a4d5464543527b8d13c
* | | | | | Allow the 2nd argument to ".param set" to use previously bound parameters,drh2025-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as suggested by [forum:/forumpost/823e1bd746|forum post 823e1bd746]. FossilOrigin-Name: 13a35ad792dc0afe1f7b60230aef392ae01e702972b963d732e332f21848f38b
* | | | | | Add comment to the columnIsGoodIndexCandidate() routine to record the resultsdrh2025-01-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of a failed experiment. No changes to code. FossilOrigin-Name: 9ee57a30a49d9813bf2669a5d8346f7e018e3fbf1792739951311a8d3a249d45
* | | | | | Improve the treeview output for CteUse objects.drh2025-01-02
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 2b16d6947ca4a102ddab4d5ba3e340a75e1e5c28e45e874ee5ff52f9b5fb964f
* | | | | | Improvements to the display of subqueries in the FROM clause for treeviewdrh2025-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | output. (Debug and analysis code only - does not affect production builds.) FossilOrigin-Name: 4a2d65cdcdd3d21bb7d9ea0efb434484f1b8642c2bb6457db58bc2a5f4fc16e5
* | | | | | Add a test case for ROLLBACK TO of database truncate operations made through ↵dan2025-01-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the sqlite_dbpage vtab. FossilOrigin-Name: eb335beb1eb9ebbea4cb793d24f65787d0d9d8539bc6b5971e4e4298fdfce0c2
* | | | | | Improvements to the way that truncation is implemented in sqlite_dbpage().drh2025-01-02
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: ac4bb2e4ecf0bdb0d8ac12b1ccb42d51af02f519a038cfc79faab5c216971056
* | | | | | New assert() statements to show that the sqlite3_value.db field is initializeddrh2024-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for MemArrays. FossilOrigin-Name: 7cd8ccf57d1ae0f597ec5004201395f61ef4750728f3c1b9c4dd52d28916a4f7
* | | | | | Add an extra assert() to releaseMemArray() just to prove that thedrh2024-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sqlite3_value.db field is never NULL. FossilOrigin-Name: b969ef1def5121c7ff54e3586528274f006ca994b308cf88ccaa9d4f56bf30df
* | | | | | Fixes to the substr() SQL function so that it can handle ridiculously largedrh2024-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | numbers in its 2nd and 3rd arguments without signed integer overflows. FossilOrigin-Name: c1de8f916ea617109a903c436c57d082756fbb2b933ba9ce6998b9b912b12dea
| * | | | | Experimental change to allow clients to block when taking a SHARED lock to ↵dan2025-02-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connect to a wal mode database. FossilOrigin-Name: d2d6a000fb9bf8097e0ce9979685408d183be3ab785ceeb11ec1f97a81a83e41
| * | | | | Fix a problem causing the write-lock to be held when it should not be in ↵dan2025-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | some circumstances following a SEH exception. FossilOrigin-Name: 7eb5accb7cf937fc967dcd86da0af813fb18a2697348bd231fbefd3c09b930ab
| * | | | | Have sqlite3_enable_setlk(-1) configure indefinite blocking locks where they ↵dan2025-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are supported. FossilOrigin-Name: 62009565d2f2a2c4d347e1da0d5b4ad43056742df47fd6ddb92e62f53a2b57f1
| * | | | | Add the sqlite3_setlk_timeout() API. For setting the timeout used by ↵dan2025-01-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SQLITE_ENABLE_SETLK_TIMEOUT blocking locks without also setting the regular retry-based busy-timeout. FossilOrigin-Name: 4a7eb492797abb47b18b7dfc557aeae43a0dea5b861efc203398d5059b10d131
| * | | | | Fix a race condition causing SQLite to use a busy-handler for an operation ↵dan2025-01-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that should not. FossilOrigin-Name: 6ab9ed8eef77781898375038ab05fc6e5f46b745e4906691393b8b1d90570eb6
| * | | | | Have windows SQLITE_ENABLE_SETLK_TIMEOUT builds block indefinitely if the ↵dan2025-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | busy-timeout is set to 0x7FFFFFFF. FossilOrigin-Name: daefcafe799ad7613cbdff1fb1e9d40659892906875b28fbc112abd7679e48ea
| * | | | | Omit code to link all winShm objects open on a single node into a list. This ↵dan2024-12-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | is no longer required. FossilOrigin-Name: b400ab4ba99d3ed7e90c93257d729563c630ef451017a702d42f322a4e57b663
| * | | | | Merge trunk changes into this branch.dan2024-12-26
| |\ \ \ \ \ | |/ / / / / |/| | | | | FossilOrigin-Name: 3e2893097c59820def88bb4739189c9c9a4f70a98a0a72b81959658f069715f6
* | | | | | Correction to check-in [a9759fc78d6cb0df] - printf() parameters values mustdrh2024-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be integers. FossilOrigin-Name: 2db531d1911369ea932d3559abcc02389e5f9ad72b46b0801dfb6063855aee1b
* | | | | | The BTree mutex must be held when calling sqlite3BtreeLastPage(). Thisdrh2024-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | check-in fixes a bug introduced by [cf8b99e17872c054]. FossilOrigin-Name: e6c30ee52c5cdc193804cec63374d558b45e4d67fc6bde58771ca78485ca0acf
* | | | | | Fix additional integer overflow problems in the substr() function.drh2024-12-19
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 472abb492f1d1553ae6bdf53cc64bebfe75423526335beab7eaff26cc495cd7d
* | | | | | Fix possible integer oveflow in the second and third argument to substr().drh2024-12-18
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: b04b4006f38f83d36eaf43c4bace7d53866b02b45e0ddcf1704266fed3bfc11c
* | | | | | Avoid 32-bit roundoff error on the second argument to round().drh2024-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [forum:/forumpost/170aeab92a|Forum post 170aeab92a]. FossilOrigin-Name: a9759fc78d6cb0df7c81f20c2c5c358729e571ebee50ee2b1441a15239d0b4b6
* | | | | | 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
| * | | | | Properly wait for asynchronous results for calls to LockFileEx() on ↵dan2024-12-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FILE_FLAG_OVERLAPPED files even if LOCKFILE_FAIL_IMMEDIATELY, which usually causes LockFileEx() to return synchronously, is specified. FossilOrigin-Name: 35b3e73c5a9efa12f9bb0dad1721fce128cd1e3bcbc87027ee4ea685a12a70d5
| * | | | | Fix a problem on this branch causing a file-handle to be leaked following an ↵dan2024-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OOM condition. FossilOrigin-Name: 5ca12dc964b2d8c3d11a2be5be7eac0dc994cec3a8b5fdfeac4ff8dde19a5a93
| * | | | | Fix a buffer overread in test code. Add test configurations for ↵dan2024-12-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ENABLE_SETLK=1 and FOR_WINRT=1 builds to release testing. FossilOrigin-Name: b558db5db7e7c9aced1d24d74dc5ee2fab7cd04ec6570247c9c45723eb6f8fc0
| * | | | | Ensure that all win32 API functions invocations in os_win.c are made via the ↵dan2024-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function table. Fix asan error in test code. FossilOrigin-Name: 2ffdc799c63ff8858f2aa9177ca9c74be2df5d7594cb10fb0a233537d83fd563
| * | | | | Ensure windows may block on a SHARED (but not EXCLUSIVE) DMS lock.dan2024-12-10
| | | | | | | | | | | | | | | | | | FossilOrigin-Name: 55e4e7bb0074859e8c3e736e7eceb69af8408ce75135f5baa09e98aaf4e2a321
| * | | | | Merge latest trunk changes into this branch.dan2024-12-10
| |\ \ \ \ \ | |/ / / / / |/| | | | | FossilOrigin-Name: d67a42d62555cf9294e11a04d3c7cfdf11ca7978d60fc085f5a73e36aff8313e
* | | | | | 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