aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | Fix the internal routine sqlite3ResolveExprListNames() so that it returnsdrh2024-08-09
| |/ | | | | | | | | | | | | SQLITE_OK or SQLITE_ERROR instead of WRC_Continue or WRC_Abort. Without this fix, some times of obscure syntax errors end up returning SQLITE_INTERNAL rather than SQLITE_ERROR. FossilOrigin-Name: 9052187efd1f78abd9b285ac94269a3ba4d65b6aa74c9fa34002ee0628c83919
| * Do not let the number of terms on a VALUES clause be limited bydrh2024-08-08
| | | | | | | | | | | | | | SQLITE_LIMIT_COMPOUND_SELECT, even if the VALUES clause contains elements that appear to be variables due to the use of double-quoted string literals. [https://issues.chromium.org/issues/358174302|Chromium issue 358174302]. FossilOrigin-Name: 670beb133eb203065a75022f0c6db7c605a4e0e22c8ef6d6b4724be2663ff3dc
| * Back out the --memory option to ".parameter init" in the CLI, as thedrh2024-08-08
| | | | | | | | | | | | | | capability is no longer needed for testing due to the new "$int_N" and "$text_T" automatic bindings, and the "init --memory" is hence just added complication. FossilOrigin-Name: 3b1b0c141993eb0f8749f54ea40d6014f9bdccbe0fdb3ccccad971a0baea8d3c
| * In the CLI, recognize magic parameter names "$int_NNN" and "$text_TTT" anddrh2024-08-08
| | | | | | | | | | | | bind them with integer value NNN and text value TTT respectively. Intended for testing and debugging use only. FossilOrigin-Name: a929cdb00ff74d77cdf55087d32abf53578f7127b36276f89b64ccbef1d4a9a4
| * Add the --memory option to the ".parameter init" CLI command. When present,drh2024-08-08
| | | | | | | | | | | | | | | | the --memory option causes the sqlite_parameters table to be created in a completely independent :memory: database. This can be done to avoid parameter binding queries from being affected by debug settings such as ".wheretrace", ".treetrace", "PRAGMA vdbe_addoptrace=on", and similar. FossilOrigin-Name: 4e69dce2093b75b7db4fbdca4953b664b907be15d991ed352ea1d87c64fbf9d2
| * Add a new assert() to help static analyzers understand that a pointer isdrh2024-08-07
| | | | | | | | | | never NULL. FossilOrigin-Name: 433f2b942ee6f79d50ebe9b08fa3ea8162db6a10ce9d80e2bc193124baa1b083
| * Fix a harmless compiler warning in an assert().drh2024-08-07
| | | | | | FossilOrigin-Name: 5e4c9a74b2efa74ace67f644fb6bb37e07f5982f8faaca9463e3daa50b0469d7
| * Change the AggInfoColumnReg() and AggInfoFuncReg() macros fordrh2024-08-06
| | | | | | | | | | | | compilers that cannot parse empty elements of a comma expression. [forum:/forumpost/8fd21998dc|Forum post 8fd21998dc]. FossilOrigin-Name: 533a6251f188805363f0e39613ea03b1bfd758eaea00e0855803238585bdfec7
| * Fix to the previous checkin: The colUsed parameter should have high-order bitdrh2024-08-03
| | | | | | | | | | | | | | set if any of the 64-th or greater columns of the virtual table is used. The lower 63 bits of colUsed always show the usage of the first 63 columns of the virtual table. FossilOrigin-Name: 90ac8457750ace1d76d7bc957af7877e86e6301bb07361e19beaf5c7b3b6085a
| * Ensure that the sqlite3_index_info.colUsed mask always includes the PK ↵drh2024-08-03
| |\ | | | | | | | | | | | | fields of WITHOUT ROWID virtual tables. FossilOrigin-Name: ff4ac279b02190cc2107b0b110806dd7abcea47a6589d827b5ee39d4b80fb719
| | * Ensure the sqlite3_index_info.colUsed mask always includes the PK fields of ↵dan2024-08-03
| | | | | | | | | | | | | | | WITHOUT ROWID vtabs in cases where they may be used. FossilOrigin-Name: c327c0c02cfefdba373cfb15933a9cdfddb578b6582f2ce7c08929203743ffe9
| * | Fix a typo in [c327c0c0] preventing the shell tool from running ".dump" ↵dan2024-08-03
| |/ | | | | | | | | scripts that feature virtual tables. FossilOrigin-Name: 10e97abb878debb67410902ea1af4df75a9ced1e38fec710b1796c5143aff48e
| * Make sure the input buffer is big enough for an memcpy() when doing thedrh2024-08-02
| | | | | | | | | | restore autodetection in the shell. FossilOrigin-Name: 1637d29d518b3b4534a1b4c0dc0eddcb770f6f71763e4177812a3e79b97d2365
| * Simplification the ./configure script. Carry Makefile CFLAGS and OPTS throughdrh2024-08-01
| | | | | | | | | | | | into builttclext.tcl. Fix a bug in tclsqlite.c introduced by the previous check-in. FossilOrigin-Name: 72a80aa0abb121a23f8cc1eb1af04ba06c733a7a40c06f1fe9e62f2a0a26ca6e
| * Add the tclextension-list makefile target. The the makefile running on Mac.drh2024-08-01
| | | | | | FossilOrigin-Name: 2f667cc8e54167342e17e63e1a017388365ebf4cd379f9c16c12e4603b34a326
| * Make the #include section of tclsqlite.c the same as tclsqlite.h.drh2024-07-31
| | | | | | FossilOrigin-Name: 2afadbeb124d6d7bb81d473379269014ebd8601f98f231e2218f54350a2e5fd3
| * Use `<tcl.h>` instead of `"tcl.h"` to include the TCL interface.drh2024-07-31
| | | | | | FossilOrigin-Name: 4e32d4aed7c487ee9ed39a7e4486c2989a01781a3edbe9cdce52c6ed357f6366
| * More tweaks to testfixture-implemented TCL commands to make them safe for Tcl9.drh2024-07-31
| | | | | | FossilOrigin-Name: 67897ca97d8c98e119a498a3adb39548a579e12ee477e9dd74e9564a6f5e4c2b
| * Fixes to testfixture routines needed to test snapshots.drh2024-07-31
| | | | | | FossilOrigin-Name: 66f61c3b35383b2575774d309043a722cc87a53d03518d339d6dbdcf342adc93
| * Remove obsolete testfixture TCL commands formerly required by Windowsdrh2024-07-31
| | | | | | | | | | but now handled by Tcl itself. Update tests case accordingly. FossilOrigin-Name: 4f065fb638b24b33283518af8ad55f28a49cfac4086fa5e4568e2f3a6814962d
| * Minor adjustments to get Tcl9-based testing working on Macs.drh2024-07-31
| | | | | | FossilOrigin-Name: 066c8672ee85a6ce972de38fcd3793fc2c1ef4f21c3de2379746d0ff18df8dc0
| * Fixes to tclsqlite.c to facilitate TEA installs.drh2024-07-31
| | | | | | FossilOrigin-Name: 7157c3c910565c9385a028793a0c0106c5064ab6a8a6efbe29dd1f1cdb2bd48d
| * Implement a new comparison routine to compare text renderings ofdrh2024-07-31
| | | | | | | | | | | | floating point values. This gets the number of failures down to just 5. But the routine needs work, and probably refactoring. FossilOrigin-Name: 71f2ee5db01150707401804b136641170e7ed44760fccec20de19184e4d0a840
| * More adjustments to the incrblob channel: Apparently you need to waitdrh2024-07-30
| | | | | | | | | | | | until the close2Proc is called with a flag of 0 before actually shutting down the channel. FossilOrigin-Name: fa549a5507b5f805b469b4360c11155aa9d22043f01f6d9428bf44d0f2351eb0
| * Tcl_ChannelType implementations for Tcl9 apparently require thatdrh2024-07-30
| | | | | | | | | | | | | | wideSeekProc be implemented. Also adjust minor test script issues for fts5 tests so that they can be run sequentially and so that they do not depend on the specific floating point output formats generated by Tcl. FossilOrigin-Name: 19fda979c5dc1a385ed3f8ab8df34388c1acfc7ff951fe1b183a79186bd20cdb
| * Fix the incrblob channel so that partial close works with Tcl9.drh2024-07-30
| | | | | | FossilOrigin-Name: d54ec2de78c2aed12be643e59a30b6827fe4728a0ab6504dd64ee9116e5f885a
| * First attempt at getting the build to work with Tcl 9.0.drh2024-07-30
| | | | | | FossilOrigin-Name: 6e5bb48a74d63fb8c30528f0005d1763cd2dbb882abf86baf1565721e6bfcf84
| * Fix documentation typo. drh2024-07-27
| | | | | | | | | | [forum:/forumpost/993cb82402|Forum post 993cb82402] FossilOrigin-Name: 86de4e755e37dc1cbcbd59018927aa87ff49fc15f706a36187631d8f14075c12
| * Add the percentile extension to the CLI by default.drh2024-07-24
| | | | | | FossilOrigin-Name: bcc31846964102385d5a21eb5e85d7db153b155e76b4e2847c9453d3d0e1af04
| * Fixes to TreeView debugging output for VALUES clauses.drh2024-07-21
| | | | | | FossilOrigin-Name: b6aed8bcb06edc7f0221fd707d5adc227856fe62dbcaae5ffe1fb4faa5c542e1
| * Improved debugging output when using PRAGMA vdbe_addoptrace:drh2024-07-21
| | | | | | | | | | Show the range of opcodes being checked for Column-to-Copy conversion. FossilOrigin-Name: 2c122026db979a099a3d1a14ae1e01a0a64a559905ea414b2d80ed7dc3e04846
| * Fix an oversized allocation in sqlite3ExprCodeIN().dan2024-07-20
| | | | | | FossilOrigin-Name: d7be326a80e7b3aa8fd6e5e059c04e6ad3feaffcb20b1e3c251d7195ddc1be8b
| * Add extra assert() statements to the fixes on this branch.dan2024-07-17
| | | | | | FossilOrigin-Name: 81b6360050eea95e4367de1b41b5864a640b4d1c5c8fc3bea3b96ed770cb0325
| * Fixes for platforms with 32-bit pointers that require 64-bit values to be ↵dan2024-07-13
| | | | | | | | | | aligned. FossilOrigin-Name: 2212d7488ed4ec2839ffa45cb9567056b36519434834634e4ecc441c330694d7
| * Fix a use-after-free that could occur following an OOM introduced by [d8cedbe0].dan2024-07-08
| | | | | | FossilOrigin-Name: 4fabfacfcf38e129949d3e4e2c3ffde3da3cd40d9d12c97ca29bc7c3604db6ed
| * Use a mini Bloom filter to help reduce the number of pointless searches fordrh2024-07-05
| | | | | | | | | | | | prior SubrtnSig objects when generating code for IN operators with subqueries as their right operand. FossilOrigin-Name: d8cedbe055b40a0ea4e5d47845b535162e9fcb0d0f88c03211797ab64d2d56fb
| * Small performance optimizations.drh2024-07-05
| | | | | | FossilOrigin-Name: 99fd34b58a9b09af20f1f1a3c37137ae55159310c8af97806550eeee6adc4fc5
| * Disable the reuse of IN-clause subqueries if the subquery is an explicitdrh2024-07-04
| | | | | | | | | | | | | | | | "SELECT ALL". The ALL keyword is almost never used in actual practice (most developers don't even know it can be used) so this should not interfere with the optimization, but it does give us a convenient way to turn it off for testing purposes. FossilOrigin-Name: a81299be2ce203dcc28e7d0ba24791cbfba80e1ee3e1564469a226cac8adb17d
| * Update EXPLAIN output to include P4_SUBRTNSIG.dan2024-07-04
| | | | | | FossilOrigin-Name: 61e56923c80d72d6467ec703b4946b251abf591649fa9e8e579667d7cbd25682
| * Be more aggressive about reusing subqueries that appear on the RHS of INdrh2024-07-04
| | | | | | | | | | operators that have been replicated due to the predicate push-down optimization. FossilOrigin-Name: 2accf32b6e45a396503c29eecc14a103bcc7b4c313cde921b26b489704060177
| * Add comment using the name "predicate push-down optimization" to what we havedrh2024-07-04
| | | | | | | | | | also called "WHERE-clause push down". No changes to code. FossilOrigin-Name: be77fe701c7b7d3407800e1ed6a4c8be14035831790419cc99362bff41c65b60
| * Show the creation of IN-operator Bloom filters in the EXPLAIN QUERY PLAN output.drh2024-07-03
| | | | | | FossilOrigin-Name: c10a1b99d47a4c93bdb16e646f6a21add570d6dbb34fd91a32f8abacdb28712b
| * Add a new sqlite3FaultSim() call to OP_NotFound to use for testing purposes.drh2024-07-03
| | | | | | FossilOrigin-Name: 84fd275bfd8afada50d3a5ac491d2b866671f8f0d2496bd240cf4bfdd74e7399
| * Use a Bloom filter to improve performance of IN operators when the RHS ofdrh2024-07-03
| | | | | | | | | | the IN operator is a subquery. FossilOrigin-Name: 1933496539c19cbf429a39d6b0b1c6b1b2af50733a3c4aea4920990ced652f6a
| * Reword the deliberate_fall_through macro along the lines suggested bydrh2024-07-02
| | | | | | | | | | | | [forum:/forumpost/7ec11023dd|forum post 7ec11023dd] so that it works better with LLVM, while preserving compatibility with MSVC and older GCCs. FossilOrigin-Name: fc248a4a0a232a95a79e24e57faedb5d824c3bf0aa62054b72339257dc9c18b3
| * In the CLI, if the XDG_CONFIG_HOME environment variable is not set, then alsodrh2024-07-02
| | | | | | | | | | | | search in ~/.config/sqlite3/sqliterc for the initialization file. See [forum:/forumpost/5cc6d059e9e092ed|forum thread 5cc6d059e9e092ed]. FossilOrigin-Name: 33841c9c3cb57beeb3884d4b0715d26199926b7d3e4d3dd1ab6f5603b5a62591
| * Add a NEVER() around a branch in sqlite3ExprAffinity() that is designed todrh2024-06-29
| | | | | | | | | | | | prevent an infinite loop, but which can now never be reached due to recent changes. FossilOrigin-Name: da0b794852f8ccba5bd30395892044ec71b148075608406867785395e1f50b31
| * Additional steps to make sure calls to sqlite3ExprToRegister() are sane.drh2024-06-28
| | | | | | FossilOrigin-Name: 1c42d7176b228791f99bc9971d92a9ab67b1e2956ca4f8d934bd1a3e596d6c80
| * Do not convert an expression node that is already TK_REGISTER into adrh2024-06-28
| | | | | | | | | | | | new TK_REGISTER. This is a follow-up to [663f5dd32d9db832] that fixes a bug discovered by dbsqlfuzz. FossilOrigin-Name: fcb669cfaa8a59ca710504d5aaa1936f65a6da8ff13473ad84458f97a6fd1f49
| * Enhance the output of ".scanstats vm" to include the absolute number of ↵dan2024-06-24
| | | | | | | | | | ticks for each VM instruction, instead of just the percentage of the total. FossilOrigin-Name: 1535828335d2b0eccebae952ed2bc70cc0cd893bd4b079d26b80deff9b5f752b