/ Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

200 most recent check-ins using file src/notify.c version 9711a75750

2024-04-02
18:48
Fix typos in comments. Provided ".wheretrace" debugging output for the interstage heuristic module. Do omit automatic index loops in the interstage heuristic. Leaf check-in: 357d9513d2 user: drh tags: branch-3.28
18:31
Fix table-valued functions so that they will work as the right table in a LEFT JOIN. Ticket [2ae0c599b735d59e] check-in: 1f97086d62 user: drh tags: branch-3.28
11:54
Add a heuristic in between the two solver() passes of the query planner that tries to prevent a very slow query plan in cases where the output row count estimate is imprecise. check-in: 74b247d958 user: drh tags: branch-3.28
2023-11-29
16:26
Fix a duplicate assert() caused by the second cherrypick in the previous check-in. check-in: f10d4fc4a8 user: drh tags: branch-3.28
16:07
Remove Window objects from the corresponding Select.pWin list when they are deleted, as they are, for example, when the ORDER BY clause is optimized out. check-in: f9c6e6a710 user: drh tags: branch-3.28
2023-10-19
21:05
Ensure that when an ephemeral cursor is reopened with a second invocation of to OP_OpenEphemeral, the sequence counter is reset and the cache marked as stale. Fix for [9cdc5c46]. check-in: d4bfa8d21a user: drh tags: branch-3.28
2023-09-15
20:04
Drop support for the view-scan optimization as it was causing multiple performance regressions. In its place, reduce the estimated row count for DISTINCT subsqueries by a factor of 8. check-in: 796a65fa61 user: drh tags: branch-3.28
2023-02-26
11:52
In the [/info/7c2d3406000dc8ac|omit-unused-subquery-columns optimization], be sure to remove the EP_Skip and EP_Unlikely flags from the result set expressions that get nulled-out. dbsqlfuzz bf1d3ed6e0e0dd8766027797d43db40c776d2b15. Also fix an incorrect ".selecttrace" code block. check-in: 83a7f13edb user: drh tags: branch-3.28
2023-02-16
21:01
Fix an #ifdef that uses a different macro name from the main branch. check-in: ad6ac5d3e8 user: drh tags: branch-3.28
19:04
Back-port omit-unused-subquery-column enhancements into the 3.28 branch. check-in: 57a4e91f43 user: drh tags: branch-3.28
14:29
Do not compute result columns of subqueries that are never used. Make those columns NULL instead. This optimization potentially resolves the enhancement request described by [baa5bb76c35a124c|ticket baa5bb76c35a124c]. check-in: 0163b697dd user: drh tags: branch-3.28
01:29
Do not compute unused result columns of subqueries. This optimization will potentially resolve the performance optimization request of [baa5bb76c35a124c|ticket baa5bb76c35a124c]. Closed-Leaf check-in: 0c21b6a5f8 user: drh tags: branch-3.26
01:21
Update test cases so that they work with TCL 8.7 and later. check-in: e9b762de0e user: drh tags: branch-3.26
2023-02-15
13:00
Update the configure script so that it contains the correct version number. check-in: a7cbf30808 user: drh tags: branch-3.26
2022-10-24
13:50
Improve the ability of the query planner to recognize covering indexes even on tables with more than 63 columns and where the index is over columns beyond the 63rd column. check-in: 3d1992de47 user: drh tags: branch-3.28
2022-10-19
11:22
If a query uses an index where one or more of the columns of the index is an expression and if the corresponding expression is used elsewhere in the query, then strive to read the value of the expression out of the index, rather than recomputing it. This is the "Indexed Expression Optimizations". check-in: 3da1032878 user: drh tags: branch-3.28
2022-09-27
17:00
Fix a potential division by zero error in this version of RBU that might occur if an external client checkpoints a wal file created by a suspended RBU process. Leaf check-in: 73edd93adf user: dan tags: branch-3.14
2022-09-01
10:41
In the query planner, add a heuristic that will reduce the cost of a full table scan for a materialized view or subquery if the full scan is the outer-most loop. This is shown to speed up some queries. check-in: e3754cc188 user: drh tags: branch-3.28
2022-08-10
17:03
Merge the branch-3.28a fixes into branch-3.28. check-in: ba6bf33147 user: drh tags: branch-3.28
2022-08-09
20:22
Fix a rounding error caused by scalar->logarithm->scalar conversion when using stat4 data to estimate some range scans. check-in: 68d86f2b20 user: drh tags: branch-3.28
2021-08-11
18:56
Fix an RBU problem with restarting an update after the *-oal file is already larger than 4GiB. Leaf check-in: 56869f54f3 user: dan tags: rbu-replace-hack
18:44
If the special "sqlite_rbu_replace_hack" table is present in an RBU database, use REPLACE instead of INSERT when writing index entries to imposter tables. check-in: 4b73e151cd user: dan tags: rbu-replace-hack
2021-07-13
15:30
Remove two incorrect assert() statements from the logic used to derive column names and types from subqueries. This allows the SQL associated with CVE-2020-13871 (ticket [c8d3b9f0a750a529]) to be tested. Closed-Leaf check-in: d2e6722037 user: dan tags: branch-3.28a
2021-07-12
15:00
Fix a defect in the query-flattener optimization identified by ticket [8f157e8010b22af0]. This fix is associated with CVE-2020-15358. Leaf check-in: bcd014c473 user: dan tags: branch-3.32a
14:38
Fix a defect in the query-flattener optimization identified by ticket [8f157e8010b22af0]. This fix is associated with CVE-2020-15358. check-in: 9e001b635f user: dan tags: branch-3.28a
2021-02-11
16:19
In RBU, avoid passing VFS xShmLock calls through to the underlying VFS in cases where xShmMap calls may not be. This fixes a bad interaction with ZipVFS. Leaf check-in: 0c3838d951 user: dan tags: reuse-schema-3.31
2020-10-22
18:58
Minor tweaks to query planning weights so that when STAT4 is enabled and functioning, a full table scan is more likely to be selected if that seems like the fastest solution. Only do this when STAT4 info is available because an error has a large potential downside. check-in: 263293f1e6 user: drh tags: branch-3.28
2020-10-02
13:57
Import further corner-case fixes for the in-scan-vs-index or OP_SeekScan optimization from trunk. check-in: c144d6404f user: drh tags: branch-3.28
12:11
For the OP_SeekScan optimization, the OP_IdxGT does not necessarily come right after the OP_SeekGE. So use the P2 operand of OP_SeekScan to point to the first instruction after OP_IdxGT. Problem found by dbsqlfuzz. check-in: ec37744c6e user: drh tags: branch-3.28
02:07
Disable the OP_SeekScan opcode of the in-scan-vs-index optimization when in PRAGMA reverse_unordered_selects mode, as the OP_SeekScan only works with forwards scans. Thanks to OSSFuzz for pointing out the problem to us. check-in: 9a1cdf7e9c user: drh tags: branch-3.28
2020-09-30
18:22
Improved query optimization for multi-column indexes where the second or later columns are constrained by an IN operator and the earlier index columns limit the search to a small number of rows. Use the new OP_SeekScan opcode which does scanning of the relevant range of the index but gives up and falls back to doing a seek if the number of rows scanned grows to large, in order to guard against pathological cases where the estimated number of rows to be scanned is far too small. check-in: f07ac3fb38 user: drh tags: branch-3.28
2020-09-01
02:02
Improvements to the IN-early-out optimization so that it works more efficiently when there are two or more indexed IN clauses on a single table. check-in: 49b7631e86 user: drh tags: branch-3.28
2020-08-31
19:19
An attempt to improve the performance of the IN-early-out optimization (see check-in [09fffbdf9f2f6ce3]) by avoiding unnecessary calls to the b-tree search algorithm in OP_IfNoHope when the index key is at hand and the same answer can be obtained by doing a quick key comparison. <b>Update:</b> Experiment did not work out. Closed-Leaf check-in: 8301da31d0 user: drh tags: branch-3.28-in-early-out-fail
2020-08-17
21:03
When doing an UPDATE or DELETE using a multi-column index where only a few of the earlier columns of the index are useful for the index lookup, postpone doing the main table seek until after all WHERE clause constraints have been evaluated, in case those constraints can be covered by unused later terms of the index, thus avoiding unnecessary main table seeks. check-in: 0ecda43371 user: dan tags: branch-3.28
2020-07-17
11:07
Bring this branch up to date with begin-concurrent-pnu. check-in: 12a909fb3d user: dan tags: begin-concurrent-report
2020-07-16
20:57
Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. check-in: 2160ede1d1 user: dan tags: begin-concurrent-pnu-wal2
20:39
Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. check-in: e9393a18cb user: dan tags: begin-concurrent-pnu
20:24
Allow BEGIN CONCURRENT transactions to contain schema modifications. However, this causes them to conflict with all other transactions. check-in: 9a4a02304e user: dan tags: begin-concurrent
2020-06-18
14:30
Merge the 3.32.3 release into the reuse-schema branch. Leaf check-in: c2d3676339 user: drh tags: reuse-schema-3.32
14:00
Version 3.32.3 Leaf check-in: 7ebdfa80be user: drh tags: release, branch-3.32, version-3.32.3
13:16
Fix an assert() that could fail when operating on a database with a corrupt schema. check-in: b69b9c0628 user: drh tags: branch-3.32
2020-06-17
20:29
Fix an assert() that could fail when operating on a database with a corrupt schema. check-in: 4a340c9bc7 user: dan tags: trunk
17:27
Fix an assert() in fts3 that could fail when processing a corrupt record. check-in: ea71fb7fab user: drh tags: branch-3.32
14:54
Fix an assert() in fts3 that could fail when processing a corrupt record. check-in: 4adc0a1b0d user: dan tags: trunk
14:14
Fix a problem with retrying constraint failures within sqlite3changeset_apply() calls with the SQLITE_CHANGESET_INVERT flag is set. check-in: d73e857b83 user: dan tags: trunk
12:37
Merge miscellaneous fixes from trunk into the 3.32 branch. check-in: d55b8e7993 user: drh tags: branch-3.32
2020-06-16
19:51
Add new file doc/wal-lock.md, containing notes on wal-mode blocking locks. check-in: c6b1d3a385 user: dan tags: trunk
17:34
In the CLI, only interrupt tabular outputs at the end of a line. And print "Interrupt" on a line after stopping the output. check-in: f3bd689336 user: drh tags: trunk
15:19
Merge 3.32.2 changes into the reuse-schema branch. check-in: dc081336f0 user: drh tags: reuse-schema-3.32
14:12
Add a test case covering the previous check-in to the test/fuzzdata8.db file. check-in: 95379da0e1 user: drh tags: trunk
14:06
Fix an assert() in fts3 that can fail when processing a corrupt record. check-in: a58a6d6fb2 user: dan tags: trunk
2020-06-15
20:27
Provide "sqlite_schema" as an alternative name to the table that holds the database schema. check-in: 61782a7ae3 user: drh tags: trunk
20:05
Fix the CLI so that interrupts work in columnar output mode. check-in: 9472f1fe58 user: drh tags: trunk
14:38
Fix the --enable-update-limit option to ./configure. check-in: d31fd57ea5 user: drh tags: trunk
13:51
Fix a defect in the query-flattener optimization identified by ticket [8f157e8010b22af0]. check-in: 10fa79d00f user: drh tags: trunk
2020-06-14
13:40
Check-in [1d4f86201dab9a22] changed a testcase() to an assert() because we didn't know how to reach that condition any more. But YongHeng's fuzzer found a way. So now we change it back. Ticket [9fb26d37cefaba40]. check-in: 90b1169d1b user: drh tags: trunk
2020-06-13
21:24
Avoid deleting expression nodes in the flattener code, as they may be referenced by AggInfo objects further up the stack. Ticket [e367f31901ea8700] check-in: cc1fffdedd user: dan tags: trunk
03:18
Identifiers "TRUE" and "FALSE" cannot take on their boolean constant values if they are operands of the "." operator. check-in: ad738286e2 user: drh tags: trunk
2020-06-12
15:45
New test case added to test/fuzzdata8.db. check-in: 14a5cbddc8 user: drh tags: trunk
15:17
Fix a buffer overread in fts3 that could occur when decoding a corrupted record. check-in: 9a4a40c45f user: dan tags: trunk
00:31
Remove a NEVER() that turns out to be reachable. check-in: 44e573ecd5 user: drh tags: trunk
2020-06-11
16:04
Add a new assert() to the SELECT processing. check-in: 98cea4a32b user: drh tags: trunk
15:53
Avoid rewriting compound SELECT statements that use a different collation sequence for ORDER BY and record processing a second time if they contain window functions. Fix for [b706351c]. check-in: 32a88bdd4b user: dan tags: trunk
00:57
Provide the ability to use the SELECTTRACE() debugging macro outside of the select.c source file. Use this to add a new SELECTTRACE() entry in window.c for improved tracing of window-function parse-tree rewriting. check-in: 30c6d895b5 user: drh tags: trunk
2020-06-10
14:30
Make sure the bbox object is fully initialized in geopoly, even if reading a corrupted database. check-in: fd5abb1a7b user: drh tags: trunk
11:18
Ensure that aggregate functions that (a) are part of SELECT statements with no FROM clause and (b) have one or more scalar sub-selects as arguments are assigned to the correct aggregate context. Fix for ticket [7c6d876f84e6e7e2] check-in: dafd2466a1 user: dan tags: branch-3.32
11:01
Ensure that the "push-down" optimization does not push constraints down into compound queries if any of the component queries uses window functions. check-in: d31850fe50 user: dan tags: branch-3.32
11:01
Disable AggInfo consistency checks when unwinding after an OOM. check-in: 7e2833fb2b user: dan tags: branch-3.32
10:58
Ensure that the "push-down" optimization does not push constraints down into compound queries if any of the component queries uses window functions. check-in: 094dcfe779 user: dan tags: trunk
03:07
Disable AggInfo consistency checks when unwinding after an OOM. check-in: 65179814aa user: drh tags: trunk
2020-06-09
23:50
Ensure that aggregate functions that (a) are part of SELECT statements with no FROM clause and (b) have one or more scalar sub-selects as arguments are assigned to the correct aggregate context. Fix for ticket [7c6d876f84e6e7e2] check-in: c29a9e484e user: drh tags: trunk
22:11
Mark an always-true conditional with ALWAYS(). Closed-Leaf check-in: 35a2368417 user: drh tags: agg-context-fix
17:45
Ensure that aggregate functions that (a) are part of SELECT statements with no FROM clause and (b) have one or more scalar sub-selects as arguments are assigned to the correct aggregate context. check-in: 16a41fa8c4 user: dan tags: agg-context-fix
14:56
Crazy experimental change to refcount the AggInfo objects. Leaf check-in: 9a4cc1dbf2 user: drh tags: refcount-agginfo
13:53
Modify a test file to avoid causing Tcl to allocate too much memory. check-in: 232431f32e user: dan tags: trunk
13:38
Give the expression pointer fields of AggInfo distinctive names in order to simplify tracking of all their uses. check-in: a53bdd311c user: drh tags: trunk
13:17
Persist AggInfo expressions before deleting them when omitting the LIMIT clause in a subquery. One possible fix for ticket [7c6d876f84e6e7e2]. Leaf check-in: 04867cba97 user: drh tags: tkt-7c6d876f84e6e7e2
11:59
Improved tree-view debugging output for aggregate functions. check-in: b5711b4eea user: drh tags: trunk
2020-06-08
14:43
Fix a case where a corrupted fts3 record could cause an assert() failure, or spurious SQLITE_NOMEM error in builds with assert() disabled. check-in: d48af4d2cf user: dan tags: trunk
12:51
Increase the version number to 3.32.3. check-in: a376ec6942 user: drh tags: branch-3.32
12:49
When an Expr object is changed and that Expr is referenced by an AggInfo, then also update the AggInfo. Also, persist all AggInfo objects until the Parse object is destroyed. This is a new fix for ticket [c8d3b9f0a750a529]. check-in: 44a58d6cb1 user: drh tags: branch-3.32
11:34
When an Expr object is changed and that Expr is referenced by an AggInfo, then also update the AggInfo. Also, persist all AggInfo objects until the Parse object is destroyed. This is a new fix for ticket [c8d3b9f0a750a529] that avoids the follow-on problems identified by tickets [0899cf62f597d7e7], [1f6f353b684fc708], [e5504e987e419fb0], and [f7d890858f361402]. check-in: 6e6b3729e0 user: drh tags: trunk
2020-06-07
22:44
Fix minor OOM problems. Closed-Leaf check-in: 8b23d80271 user: drh tags: persist-agginfo
20:18
AggInfo objects might be referenced even after the sqlite3Select() function that created them has exited. So AggInfo cannot be a stack variable. And it must not be freed until the Parse object is destroyed. check-in: 3c840b4df3 user: drh tags: persist-agginfo
17:33
Alternative fix to ticket [c8d3b9f0a750a529]: Prior to deleting or modifying an Expr not that is referenced by an AggInfo, modify the AggInfo to get its own copy of the original Expr. check-in: 7682d8a768 user: drh tags: persist-agginfo
14:42
New debugging output. Leaf check-in: c0d9dfe507 user: drh tags: early-winfunc-rewrite-dev
12:26
Improvements to the treeview debugging display. check-in: a7c5c73992 user: drh tags: early-winfunc-rewrite-dev
00:51
Extra steps to ensure that queries that involve both window functions and aggregate functions are processed correctly by sqlite3WindowRewrite(). Fix for ticket [e5504e987e419fb0]. Leaf check-in: 765bbcce1d user: drh tags: branch-3.32-early-winfunc-rewrite
00:43
Extra steps to ensure that queries that involve both window functions and aggregate functions are processed correctly by sqlite3WindowRewrite(). Fix for ticket [e5504e987e419fb0]. check-in: a6c2147cc6 user: drh tags: early-winfunc-rewrite-dev
2020-06-06
20:48
Merge multiple changes from trunk to address concerns with window-function parse-tree rewriting. check-in: 05418b2a4a user: drh tags: branch-3.32-early-winfunc-rewrite
19:54
Fix a possible ASAN violation inside of debug-only code following an OOM. check-in: 0e021887a1 user: drh tags: early-winfunc-rewrite-dev
19:35
When determining if the subquery inserted by the window-function rewriter is an aggregate query, aggregate functions that are in parameters to another window function do not count. Fix for ticket [1f6f353b684fc708] check-in: 8583c3483c user: drh tags: early-winfunc-rewrite-dev
18:45
Clearly distinguish between window functions and scalar functions in the debugging TreeView output. check-in: 15babdcb91 user: drh tags: early-winfunc-rewrite-dev
18:34
In the query flattener, defer deleting content until after associated Parse object is destroyed, in case some of the deleted expressions have been collected for use by sAggInfo. check-in: 03b32be44d user: drh tags: early-winfunc-rewrite-dev
14:58
Remove an incorrect assert() added earlier today. check-in: 3926ff1725 user: drh tags: early-winfunc-rewrite-dev
14:44
When rewriting the parse-tree for window functions, ensure that the inserted subqueries have an accurate SF_Aggregate bit set. This change also coincidentally fixes ticket [0899cf62f597d7e7], even thought that was not the issue we were working on at the time. check-in: 2cddb24e91 user: drh tags: early-winfunc-rewrite-dev
14:29
Fix an assert() failure that could occur if an ORDER BY expression attached to a compound query contains a subquery that (a) is itself a compound query, (b) uses window functions and (c) has an ORDER BY clause that includes another sub-query. check-in: c96914ea02 user: dan tags: early-winfunc-rewrite-dev
13:29
Avoid no-op calls to sqlite3SelectPrep() when processing sqlite3Select() for subqueries. This simplifies the ".selecttrace" debugging output. check-in: 3de19ee22a user: drh tags: early-winfunc-rewrite-dev
2020-06-05
21:36
Improved tracing of window function parse tree rewrites. check-in: 7e8060cf96 user: drh tags: early-winfunc-rewrite-dev
18:17
Assign a fake name to the ephemeral subquery tables that are created when making parse-tree changes for window functions. check-in: c4072267dc user: drh tags: early-winfunc-rewrite-dev
15:56
Do parse-tree transformations required for window functions prior to running aggregate function analysis. Fix for ticket [c8d3b9f0a750a529]. check-in: 79eff1d038 user: drh tags: branch-3.32-early-winfunc-rewrite
15:40
New test case for fuzzdata8.db. check-in: 2870d11720 user: drh tags: early-winfunc-rewrite-dev
15:26
Do parse-tree transformations required for window functions prior to running aggregate function analysis. Fix for ticket [c8d3b9f0a750a529]. check-in: 0b42a2277e user: drh tags: early-winfunc-rewrite-dev
14:53
Ensure that the "push-down" optimization does not push constraints down into compound queries if any of the component queries uses window functions. Closed-Leaf check-in: 2011e83213 user: dan tags: early-winfunc-rewrite
14:25
ALWAYS() and NEVER() macros added due to unreachable branches arising from the previous check-in. check-in: 13ffedab9b user: drh tags: early-winfunc-rewrite
14:10
Move the parse tree rewrite for window functions earlier in the process, before sqlite3ExprAnalyzeAggregates() has run. Add new assert()s to verify that aggregate analysis always remains valid until the end of SELECT processing. check-in: fe702aa08c user: drh tags: early-winfunc-rewrite
04:01
In the debugging treeview output, change the name of "SELECT-expr" expression nodes to be "subquery-expr", so as to not confuse them with actual SELECT nodes. check-in: c1c8937a30 user: drh tags: trunk
00:54
Always use ?...? to indicate optional arguments in the output of ".help" in the CLI. Change ".mode column" so that it automatically activates ".headers on" if headers have not been previously turned on or off. check-in: 2827c0a186 user: drh tags: trunk
2020-06-04
18:05
Add support for "box" mode in the CLI: Like "table" except that it uses unicode box-drawing characters instead of ascii-art. check-in: 6da784c9e1 user: drh tags: trunk
16:54
Improved display of ".mode table" output for empty result sets. check-in: 7efabd683b user: drh tags: trunk
16:34
Use __has_extension(c_atomic) instead of __has_feature(c_atomic) to detect support for atomic load and store operations with clang. check-in: 362255791f user: dan tags: trunk
16:07
Use AtomicStore() to set values in the wal-index hash table. check-in: 1ab30c75f2 user: dan tags: trunk
12:58
Version 3.32.2 check-in: ec02243ea6 user: drh tags: release, version-3.32.2, branch-3.32
02:50
Work around a bug in clang-11.0.0. See [https://sqlite.org/forum/forumpost/296b7c1e02|forum post 3c2bf8042ec46195] for further info. check-in: 3c2bf8042e user: drh tags: trunk
2020-06-03
22:57
Fix for ticket [810dc8038872e212]. check-in: 9cfefef591 user: drh tags: branch-3.32
22:47
Version number to 3.32.2 check-in: 4454b27fc5 user: drh tags: branch-3.32
19:28
Fix for ticket [810dc8038872e212]. Thank to user "Maxulite" for tracking down the problem! check-in: 89af93d77f user: drh tags: trunk
15:59
Simplification to the interrupt handling logic in sqlite3VdbeExec() saves a few bytes of code space. check-in: 43e0e59bd4 user: drh tags: trunk
03:00
Improve the query planner so that it is better able to find full index scan plan when there is an INDEXED BY clause. check-in: d901837fea user: drh tags: trunk
2020-05-30
15:34
Draw the dashes below the headers in "explain" mode in the CLI. check-in: c6b7833ac7 user: drh tags: trunk
00:30
Improved VDBE comments on the ANALYZE code generator. This change also fixes a harmless use of an uninitialized integer variable as an input to the %d format on a VDBE comment. check-in: 1cb248a3fc user: drh tags: trunk
2020-05-29
21:06
Enhancements to the incremental build support for MSVC. check-in: 2e25d915bc user: mistachkin tags: trunk
20:16
Remove a stray "&amp;" character in the CLI, detected by a clang warning. check-in: 5865d2f2d0 user: drh tags: trunk
19:45
Add the "shelltest" target to the MSVC makefile as well. check-in: 9924c0456b user: drh tags: trunk
19:39
Fix the ".import" command of the CLI to clean up better after errors. Add the new "shelltest" makefile target on unix platforms. check-in: 50d4ddf133 user: drh tags: trunk
19:17
Improvements to help text for the CLI. check-in: 6a01e4c444 user: drh tags: trunk
19:03
Fix a memory leak in the CLI when an unknown or unrecognized argument is given to the ".dump" command. check-in: 71bfbbcc1a user: drh tags: trunk
16:15
Improvements to columnar output in the CLI. Columns automatically expand to contain the largest row. check-in: 4e1db8e9a9 user: drh tags: trunk
14:38
Space to hold the ".width" of columns in the CLI is now obtained from malloc() and hence is not limited in the number of columns supported. check-in: 445ed5dab2 user: drh tags: trunk
12:31
Incremental improvements to tabular output modes in the CLI. The "markdown" and "table" modes no have headers turned on by default. check-in: af28bff91a user: drh tags: trunk
11:07
Expand upon a comment in os_unix.c. No changes to code. check-in: 77933dc4db user: dan tags: trunk
00:21
In the json output mode of the CLI, do correct quoting of escape characters. Also, show BLOBs as JSON strings, possibly with embedded \u0000 bytes. check-in: 0278147a7d user: drh tags: trunk
2020-05-28
23:49
Progress toward adding new output modes to the CLI: json, table, and markdown. check-in: 14f55fafec user: drh tags: trunk
20:37
Enhance the ".quote" mode in the shell so that it honors .separator. check-in: b5e33ed537 user: drh tags: trunk
00:45
When the sqlite_stat1 data is missing for some indexes of a table but is present for the table itself or for other indexes in the same table, then do not let the estimated number of rows in that table get too small, as doing so can deceive the query planner into ignoring a perfectly good index. check-in: 98d4262018 user: drh tags: trunk
2020-05-27
12:44
Small performance improvement and size reduction in the expression code generator. check-in: eeb53e2195 user: drh tags: trunk
00:02
Change a datatype from i16 to int to appease Converity and help eliminate a false-positive. check-in: 5b560ec490 user: drh tags: trunk
2020-05-26
20:33
Fix the cksumvfs extension so that it will not register itself more than once. check-in: d5cdd57150 user: drh tags: trunk
20:31
Performance optimization in the transfer of error messages from statements to connections. check-in: 0e898f4fed user: drh tags: trunk
11:23
Increase the version number to 3.33.0 to begin the next release cycle. check-in: 790badb390 user: drh tags: trunk
11:10
Changes to sqlite3SelectNew() to work around a false-positive warning from GCC-10. The code is very slightly larger and slower as a result. check-in: 04e1edd8e5 user: drh tags: trunk
10:54
Innocuous changes to help Coverity avoid false-positives. check-in: 4ec8a5a203 user: drh tags: trunk
2020-05-25
18:18
Merge version 3.32.1 into the begin-concurrent-pnu-wal2 branch. check-in: 0f9464c509 user: drh tags: begin-concurrent-pnu-wal2
18:09
Merge version 3.32.1 into the wal2 branch. check-in: 5c18375725 user: drh tags: wal2
18:03
Merge versoin 3.32.1 into the begin-concurrent-pnu branch. check-in: e8d79d2bae user: drh tags: begin-concurrent-pnu
17:27
Merge version 3.32.1 into the begin-concurrent branch. check-in: 5e08e36067 user: drh tags: begin-concurrent
16:34
Update the reuse-schema branch to version 3.32.1 check-in: ecf8dece03 user: drh tags: reuse-schema
16:19
Version 3.32.1 check-in: 0c1fcf4711 user: drh tags: trunk, release, version-3.32.1
15:41
Extra assert() statements in the printf() logic. check-in: b1b182be2a user: drh tags: trunk
15:19
Defensive code that tries to prevent a recurrence of problems like the one described in ticket [7a5279a25c57adf1] check-in: 572105de1d user: drh tags: trunk
12:49
Fix minor compile issues with optional extensions. check-in: 3261ee9ec2 user: drh tags: trunk
12:02
Make sure variable declarations are at start of scope even when SQLITE_ENABLE_SNAPSHOT is used. check-in: a77ceaf6ba user: drh tags: trunk
01:31
Attempt to work around a false-positive warning in the CGo compiler. Closed-Leaf check-in: d4bf60f464 user: drh tags: cgo-warning-workaround
2020-05-24
12:36
Version number to 3.32.1. check-in: 56e5063c32 user: drh tags: trunk
03:38
When rewriting a query for window functions, if the rewrite changes the depth of TK_AGG_FUNCTION nodes, be sure to adjust the Expr.op2 field appropriately. Fix for ticket [7a5279a25c57adf1] check-in: ad7bb70af9 user: drh tags: trunk
03:01
Move some utility Walker callbacks into the walker.c source file, as they seem to belong there better. check-in: dac438236f user: drh tags: trunk
02:05
Improvements to parse-tree tracing logic. No changes in deliverable code. check-in: f7e5a68a7e user: drh tags: trunk
00:30
Minor fix to a comment. No code changes. check-in: efdbb2b499 user: drh tags: trunk
2020-05-23
19:58
Limit the "precision" of floating-point to text conversions in the printf() function to 100,000,000. Fix for ticket [23439ea582241138]. check-in: d08d340587 user: drh tags: trunk
17:56
Improved bytecode comment. check-in: 9224f1543b user: drh tags: trunk
2020-05-22
18:41
Merge version 3.32.0 into the reuse-schema branch. check-in: 31706878c3 user: drh tags: reuse-schema
18:35
Merge version 3.32.0 into the begin-concurrent-pnu-wal2 branch. check-in: 3cb296065a user: drh tags: begin-concurrent-pnu-wal2
18:28
Merge version 3.32.0 into the wal2 branch. check-in: 1cb46a7431 user: drh tags: wal2
18:17
Merge the 3.32.0 release into the begin-concurrent-pnu branch. check-in: 79663e6612 user: drh tags: begin-concurrent-pnu
18:09
Merge the 3.32.0 release into the begin-concurrent branch. check-in: 79ad4ea2c8 user: drh tags: begin-concurrent
17:46
Version 3.32.0 check-in: 5998789c9c user: drh tags: trunk, release, version-3.32.0
2020-05-21
20:38
Change a NEVER macro into a NO_TEST comment, as the conditional is reachable, but only when compiling for Windows 32-bit. check-in: ce36b6d133 user: drh tags: trunk
19:13
Avoid another potential OOB read in sqlite3expert.c. check-in: 0ccea80092 user: dan tags: trunk
2020-05-20
15:02
Back out the change from [7fab1393c2b22b1f] that tries to convert invalid surrogate characters in UTF16 into the replacement character 0xfffd, as we find that this breaks some software. check-in: 4218c7b71f user: drh tags: trunk
2020-05-19
15:51
Add compiler hints to disable TSAN for the routines that access the -shm file header in WAL mode using a double-read with memory barrier. check-in: 3117c1b5a9 user: drh tags: trunk
15:40
In os_win.c, avoid calling sqlite3_uri_boolean() on anything other than a main-db filename. check-in: cb0a18e64f user: dan tags: trunk
12:29
User-suggested improvement to the README.txt for the ICU extension. check-in: 1d1293c25a user: drh tags: trunk
12:27
In wal.c, improved comments on concurrency issues. More use of AtomicLoad() and AtomicStore(). check-in: 4bf566feca user: drh tags: trunk
2020-05-18
19:55
Merge latest trunk changes into this branch. check-in: 5dc355ccf6 user: dan tags: begin-concurrent-pnu-wal2
19:11
Bring the reuse-schema branch up to date with the latest trunk changes. check-in: d8ea0cb69d user: drh tags: reuse-schema
18:02
Add vdbevtab.lo to build of libsqlite3.lib in Makefile.msc. check-in: f64d054b79 user: dan tags: trunk
17:18
Merge latest trunk changes into this branch. check-in: 16b1eca922 user: dan tags: wal2
16:19
Merge recent changes from trunk. check-in: c69f030b1e user: drh tags: begin-concurrent-pnu
15:41
Merge latest trunk changes into this branch. check-in: 9e4a7b3ed8 user: dan tags: begin-concurrent
2020-05-17
13:47
Avoid harmless UB in memcpy() in the JSON extension. check-in: 69e149f768 user: drh tags: trunk
00:26
Use the sqlite3Realloc() interface internally, rather than the public sqlite3_realloc64() equivalent, to avoid unnecessary calls to sqlite3_initialize(). check-in: 1313557b51 user: drh tags: trunk
2020-05-16
21:01
Performance optimization for the sqlite3FindTable() subroutine. check-in: 55910b9a72 user: drh tags: trunk
19:00
Merge trunk enhancements in the reuse-schema branch. (Actual date of this check-in is 2020-05-18.) check-in: 5af4abe98c user: drh tags: reuse-schema
18:01
The OP_RealAffinity opcode is not necessary after reading values from a virtual table (such as rtree). It is harmless, but it does use CPU cycles. Might as well leave it off. check-in: dc18d89354 user: drh tags: trunk
17:26
Fix a use-after-free bug in the fts3 snippet() function. check-in: 0d69f76f08 user: dan tags: trunk
16:23
Extra memory barrier during initialization. check-in: 043a7e142d user: drh tags: trunk
15:18
Add sqlite3BeginBenignMalloc() and EndBenignMalloc() calls to debugging function sqlite3VdbePrintOp(). check-in: 6f857d0e9e user: dan tags: trunk
2020-05-15
18:48
Update code in sqlite3expert.c to account for the fact that "-- TRIGGER xyz" VM comments are now omitted for some builds. check-in: 7cf93dc55c user: dan tags: trunk
16:19
Fix another build problem for SQLITE_OMIT_VIRTUALTABLE builds. check-in: 5e1eb0fa3a user: dan tags: trunk
16:05
Fix a documentation typo. No changes to code. check-in: 758353c726 user: drh tags: trunk
15:03
Adjust some requirement marks. No changes to code. check-in: 7285ae2ce8 user: drh tags: trunk
13:52
Update test file e_fkey.test to account for the fact that new columns with REFERENCE clauses and non-NULL default values may now be added using ALTER TABLE if the table is empty. check-in: 4087fce972 user: dan tags: trunk
11:36
Fix SQLITE_OMIT_VIRTUALTABLE testfixture builds. check-in: 3d9780c5f6 user: dan tags: trunk
11:26
Test script changes to account for the fact that the "p5" column in the EXPLAIN output is now an integer, not a text values containing a 2-digit hex value. check-in: 102126d808 user: dan tags: trunk
01:18
Enhancements to long-path support in the Win32 VFS. check-in: 0119d96dec user: mistachkin tags: trunk
01:13
Move some new test cases from fts3snippet.test into fts3snippet2.test. check-in: fa20399994 user: drh tags: trunk
01:02
Add the SQLITE_ENABLE_FTS3_PARENTHESIS option to fuzzcheck. Add a new test case that uses that option. check-in: c49a33db95 user: drh tags: trunk
2020-05-14
23:59
Fix a null pointer deference that can occur on a strange matchinfo() query. check-in: a4dd148928 user: drh tags: trunk
21:16
Do not allow a virtual table to be renamed into the name of one of its shadows. check-in: eca0ba2cf4 user: drh tags: trunk
2020-05-13
18:03
Implement the IIF(x,y,z) SQL function that is short-hand for "CASE WHEN x THEN y ELSE z END". For compatibility with SQL Server. check-in: fce173cd21 user: drh tags: trunk