aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Automatically disable directory fsync when compiling for AIX.drh2024-08-18
| | | FossilOrigin-Name: 8d170e07e20c21a5bb97fdc8c2d01d92178f5fe740e60d203e4621747cfce33e
* Adjust Makefile.in so that it outputs a slightly better error message on andrh2024-08-17
| | | | | attempt to build something that requires TCL libraries when HAVE_TCL is false. FossilOrigin-Name: a4043cbeb8a08fca2fdd2ea703e030d3a5574cc6002292ecc6f0e88c116472a3
* Adjust the "configure" script so that it just disables the ability todrh2024-08-17
| | | | | | run tests rather than erroring out if tclsh is unable to recommend a suitable tclConfig.sh. FossilOrigin-Name: 793ff83d09bea165c8cedc978afd3fcfb1a4cee894c5914aa1d92416afce963d
* Fix a typo in an "ifdef" that broke SQLITE_OMIT_ANALYZE builds.dan2024-08-17
| | | FossilOrigin-Name: c09da26cb6f772a18c595ff0eb55d8345a377c3ef5ed02a5e539ffdbe9d07f85
* If a subquery has an ORDER BY clause and that ordering is helpfile indrh2024-08-16
|\ | | | | | | | | | | | | satisfying the ORDER BY or GROUP BY of the outer query without doing an extra sort, then omit or reduce the sort in the outer query. Call this the "order-by-subquery optimization". FossilOrigin-Name: 7a0cdc7edb704a88a77b748cd28f6e00c49849cc2c1af838b95b34232ecc21f9
| * Fix handling of COLLATE. Add test cases for the same. Code cleanup fordrh2024-08-16
| | | | | | | | | | improved understandability and maintainability. FossilOrigin-Name: 41a41c173a9d15d94f23d73a5c04bfb1616cb9223bc81d41808f9b4d00817fbf
| * Bug fix in the subquery ORDER BY propagator.drh2024-08-16
| | | | | | FossilOrigin-Name: 5a9a3b8af7ac0aa1c04ad2d735e341c92d67952acb9a1d30217c0471e92cd468
| * Improvements to the subquery ORDER BY decision algorithm. Fewer false-negatives.drh2024-08-16
| | | | | | FossilOrigin-Name: b82421e3f5811946e9d60b845fc882b6ea5c53c648695654c6900754427bf9bf
| * If a subquery is materialized due to an ORDER BY and that ordering is usefuldrh2024-08-15
| | | | | | | | | | | | in helping to satisfy the ORDER BY or GROUP BY in the order query without doing an extra sort, then omit the extra sort. FossilOrigin-Name: 2fbb4dc2327ee435cb2b7a4adcddf5a9cee6dff7de96e2ecb761166427b5ddea
* | Ensure that memory allocations in ANALYZE are always 8-byte aligned in orderdrh2024-08-16
|/ | | | | to satisfy a new assert() added by [539e4f661767ef90]. FossilOrigin-Name: a1915cbdeccac2ed49fb8a9733abf2c6239396e3174fed2ff275f66b606c48b6
* Improved help message for --disable-tcl on the configure script.drh2024-08-15
| | | FossilOrigin-Name: 96e6cfb211f7f1aab50f997f4bc61dfb9701beb720c59bc413a4285c1ae5e20d
* Reinstate the --disable-tcl option on ./configure.drh2024-08-15
| | | | | [forum:/forumpost/845d4a57becc7f3c|Forum thread 845d4a57becc7f3c]. FossilOrigin-Name: de927016aadd7ee55d947134e3540907a3ea5ab4015034c5d088e3a84905d98a
* Doc typo correction reported in the forum.stephan2024-08-14
| | | FossilOrigin-Name: 48900a867cc4b6d733d2a3533a553af3dfadf96d3ef7ddf4c72bd432e7bf0f76
* Improved documentation for the sha3() SQL functions in the shathree.cdrh2024-08-14
| | | | | extension in ext/misc. FossilOrigin-Name: 0ce609103eb35cfa26d9b6fa1769679be7e2b9032c37cc8c00a194fe355b06a4
* Fix an assert() in fts5 that might fail with an expression like "... NOT ''".dan2024-08-14
| | | FossilOrigin-Name: 317c91edfc69d1d47e233bb6ac13934241742fda1ba03a88fd51bdf98fcbc463
* Add the sha3_agg() aggregate to the shathree extension.drh2024-08-13
| | | FossilOrigin-Name: c4d7f9996ce4f5f6d08d83fc3abdb81b6825cfb556318f90c6896736a1da5175
* Resolve parameters Bind $int_N and $test_T in fuzzcheck inputs.drh2024-08-12
| | | FossilOrigin-Name: 9c10664416274df6f8da53ddd86f6356c9704ad798fd4034d2784ae433c1c056
* Prevent the fts5 xPhraseNext() or xPhraseFirst() APIs from returning an ↵dan2024-08-10
| | | | | out-of-range column number, even if the database is corrupt. FossilOrigin-Name: d4014c87ba9b011a6a04c2bf85879b668dc762ebcbbfb50a2f8a417ce594ef88
* Revision to check-in [d9f726ade6b258f8] so that OOM and other unrelated failuresdrh2024-08-10
| | | | | are not overridden by a syntax error in the tokenizer spec. FossilOrigin-Name: 3778b2a9ca1cc12a88ef6c32a1ee7c58a0a829ed9715a3d32a225d377d7527ef
* Fix harmless compiler warning related to the TCL8-to-TCL9 transition. Thisdrh2024-08-10
| | | | | change in testing code only and is not relevante to the core SQLite. FossilOrigin-Name: c86ef65545485eae6aca23b4582e8115d4edfdd6084afa77858e11b21aa270f6
* Fix behavior change in the offset() SQL function introduced by drh2024-08-10
| | | | | check-in [f0b671183f44d0ae]. FossilOrigin-Name: c2ac17f183082d6388336338b8d5c0b334095e5f77a27bc08419431f37471d22
* Enhancements to covering-index prediction. In particular, avoid thedrh2024-08-10
|\ | | | | | | | | | | | | | | | | false-positive prediction described by [forum:/forumpost/e60e4c295d22f8ce|forum post e60e4c295d22f8ce]. Add early detection of over-prediction of covering-indexes so that sqlite3_prepare() will return an error rather than just generate bad bytecode. FossilOrigin-Name: f0b671183f44d0ae294956e7651a1653f47bd6219f9636872d15993f30f28dfb
| * Import the second ALTER TABLE fix from trunk.drh2024-08-09
| |\ | | | | | | FossilOrigin-Name: 1de3e5883613ff6093203720f3cdcf6b3a3e626c99735284fae95a438e1ce24f
| * \ Merge the error code fix from trunk.drh2024-08-09
| |\ \ | | | | | | | | FossilOrigin-Name: 81dfb8cd5d59ecf974018b03175ddabd11366d2aca0211dc982f7e14ff314d4d
| * | | Do not attempt to use a covering index based purely on columns-useddrh2024-08-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | when doing an UPDATE or DELETE of a WITHOUT ROWID table. Raise an SQLITE_INTERNAL error if there is ever a situation where a table reference cannot be converted into an index reference when the query planner thinks that a covering index is appropriate. FossilOrigin-Name: fae39ae9320c0f4fcc2e3b3baf0a4170ba2b9a04634a0a1fa41dd4918a74b106
* | | | Add an assert() to fix a harmless compiler warning in the recoverydrh2024-08-10
| | | | | | | | | | | | | | | | | | | | extension. FossilOrigin-Name: 2502339339f3c831966479a400c2b1a531fb4d990b1776b4dc4870cf734c3fcd
* | | | Fix a few minor TCL9 compatibilities issues.drh2024-08-09
| |_|/ |/| | | | | FossilOrigin-Name: 69eed19914ef52bc0101f4ae1c7b242df4ee28675b3581e1f4d60a35494f9f76
* | | Fix another instance where ALTER TABLE was returning SQLITE_INTERNAL insteaddrh2024-08-09
| |/ |/| | | | | | | of SQLITE_ERROR one malformed input. FossilOrigin-Name: b416756320dfb46ad72b843a7fbf18807d3fd1966251c320de626280b5238a5c
* | 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
* Bind the new debug parameters in fuzzinvariants.c.drh2024-08-09
| | | FossilOrigin-Name: 7e1dc263051cf50db04643d1a2aa9f91559b2b121859b750ce4446012d5f3c3e
* Remove unused static var cBadGroup from ext/consio/console_io.c to resolve a ↵stephan2024-08-09
| | | | | compiler warning reported in the fossil forum. This is a build fix, not a functional change. FossilOrigin-Name: fa047c3ea7a03d76afd6a11f58ef7b84c653f583ed795e0de5be2a6b986e558e
* Ensure sqlite3expert.c unregisters any SQL user-functions it registers with ↵dan2024-08-08
| | | | | the database handle before returning. FossilOrigin-Name: 123b154ce3b6fee1bbf483704812bd6f8538966f9687520b4470d700f0270719
* Add assert() statements and reorganize code slightly in fts3 and fts5 to ↵dan2024-08-08
| | | | | make it easier to follow. FossilOrigin-Name: 797b0a13fd7a42b0a48ecbf0cd1961aa932da3e9c9ccffd903a3a4d963d0cc54
* 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
* Move a misplaced va_end, as reported in [forum:702c79e9da|forum post ↵stephan2024-08-08
| | | | | 702c79e9da]. FossilOrigin-Name: daa25fb35fd7bdd482d51214439f38b0b9a7df93f689a2b3d30a113daa9f2a1a
* 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
* Fix a broken assert in fts5_expr.c.dan2024-08-07
| | | FossilOrigin-Name: 08cc5488404d068e59378b82988460793710df43ec21b4a83a794b497abd035f
* 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
* Remove unused test cases from FTS5, as they interfere with "grep".drh2024-08-06
| | | FossilOrigin-Name: 048a71bae48aacdfc91e59330db4d4b3d663f00665f51a7110ea82e0508758ec
* Improved robustness of parsing of tokenize= arguments in FTS5.drh2024-08-06
| | | | | [forum:/forumpost/171bcc2bcd|Forum post 171bcc2bcd]. FossilOrigin-Name: d9f726ade6b258f8723f90d0b04a4682e885e30939eb29773913e4dfc8e85503
* Improvements to ./configure that will hopefully break fewer builds.drh2024-08-06
| | | FossilOrigin-Name: 769e32a69b7b7c04225afa0371f139b2ed29aaee5a7a4159a30d600ed9f25c57
* 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
* Restore legacy "tcl_install" makefile target, as an interim measure untildrh2024-08-04
| | | | | I can figure out what is going on. FossilOrigin-Name: 931ad7d9e3aedb6d466fffc0af1f8d6b20d57a35dec644f28585f3e84f22d1ce
* 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