/ Timeline
Login

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

50 most recent check-ins that include changes to files matching 'src/*'

2019-12-05
17:31
Additional debugging information printed with the ".wheretrace 0x100" option. No changes to normally delivered code. Leaf check-in: fc72ec52c9 user: drh tags: trunk
14:31
Fix a problem in ALTER TABLE that could occur if an index, view or trigger in the schema features an expression of the form ((SELECT ...) IN ()) where the SELECT statement uses a CTE. check-in: 7e5ad8e0ab user: dan tags: trunk
2019-12-04
19:45
Window functions are never constant. check-in: 35f0b5a8c7 user: drh tags: trunk
15:08
Ensure that an ALWAYS() in the rename logic really is always true, even for faulty inputs. check-in: 54410f0e77 user: drh tags: trunk
14:26
Fix an assert() failure that could occur in ALTER TABLE code when the schema contains a view that uses a CTE. check-in: 75b04a4b0d user: dan tags: trunk
03:31
Fix an incorrect NEVER() macro. check-in: 96b6a76da0 user: drh tags: trunk
01:42
Fix a double-free that could occur when a component of a compound SELECT with an ORDER BY clause uses named window definitions. check-in: 92893b7980 user: dan tags: trunk
2019-12-03
03:34
Avoid a crash that could occur when a database containing a table with a temp trigger that has the same name as a temp table is detached. check-in: c4cb9708d4 user: dan tags: trunk
02:51
Avoid computing a zero offset of a null pointer, which though this is technically harmless, is upsetting to pedantic run-time checkers. check-in: 3ce804e99b user: drh tags: trunk
2019-11-30
19:29
Do not allow a term in the WHERE clause of the query to qualify a partial index on the right table of a LEFT JOIN. Ticket [7f39060a24b47353] check-in: 4066a34da7 user: drh tags: trunk
2019-11-27
20:40
More details on the comment justifying the aleged data race in the WAL-mode checkpoint logic. check-in: 0fab65c79f user: drh tags: trunk
12:03
Fix obsolete comment. No changes to code. Leaf check-in: 0ff59edbbb user: drh tags: reuse-shm
2019-11-26
14:24
Fix various documentation typos suggested by Mark Benningfield. No changes to code. check-in: 08f09dc4f9 user: drh tags: trunk
2019-11-25
23:55
Experimental file-controls for controlling the use of the -shm file. check-in: 12b8fa2336 user: drh tags: reuse-shm
2019-11-23
16:34
Abort the window function tree rewrite early following an OOM. check-in: d66f95a515 user: drh tags: trunk
15:10
Avoid evaluating PARTITION BY or ORDER BY expressions multiple times for window function queries that use multiple window functions with the same window-definition. check-in: 57070c68bb user: dan tags: trunk
2019-11-22
11:49
Fix a harmless compiler warning. check-in: 34343c4b06 user: drh tags: trunk
11:47
Fix an indentation error and improve the placement of an assert() based on a tweet from Yuri Kotov. check-in: e6314e386c user: drh tags: trunk
10:14
Fix a crash that could occur if a sub-select that uses both DISTINCT and window functions also used an ORDER BY that is the same as its select list. check-in: bcdd66c169 user: dan tags: trunk
00:42
Revise the SQLITE_OPEN_NOFOLLOW so that it actually uses O_NOFOLLOW in the open() system call. This backs out the SQLITE_ACCESS_SYMLINK value but adds the new SQLITE_OK_SYMLINK return code from the xFullPathname method of sqlite3_vfs when that routine resolves symbolic links. O_NOFOLLOW is always included in open() system calls for journal files. check-in: 6a64fb6a2d user: drh tags: trunk
2019-11-21
20:10
Fix an out-of-bounds array reference in the generated column logic. Problem discovered by valgrind. check-in: a0ab42f779 user: drh tags: trunk
19:37
Whenever a generated column is used, assume that all columns are used. check-in: 6601da5803 user: drh tags: trunk
18:28
Fix a problem that comes up when using generated columns that evaluate to a constant in an index and then making use of that index in a join. check-in: 8b12e95fec user: drh tags: trunk
17:14
Fix a recently introduced memory leak in the test code in test_vfs.c. check-in: 2d53a30cc2 user: dan tags: trunk
2019-11-20
16:10
Fix a use-after-free problem in the test suite. No changes to production code. check-in: 0d1055a5da user: dan tags: trunk
12:07
Changes to extensions and test logic so that the build works with gcc and with -std=iso9899:1999 check-in: 2575a68c39 user: drh tags: trunk
2019-11-19
21:22
Enhancements to DBSTAT: (1) Make name=? queries efficient. (2) Add the ability to aggregate results across each individual btree using the aggregate=TRUE constraint in the WHERE clause. check-in: a48f6e1759 user: drh tags: trunk
18:48
Get the aggregate=TRUE feature working on the DBSTAT virtual table. Closed-Leaf check-in: 16fef3db06 user: drh tags: dbstat-enhancements
14:01
Begin an enhancement effort for the built-in DBSTAT virtual table. check-in: 9b5722f0fe user: drh tags: dbstat-enhancements
00:13
Make the result of sqlite3_normalized_sql() survive its statement being reprepared. check-in: 4330f0795d user: mistachkin tags: trunk
2019-11-18
23:48
Add support for the SQLITE_ACCESS_SYMLINK flag in the Win32 VFS. check-in: 175c15008e user: mistachkin tags: trunk
22:34
Ensure all file names passed to the VFS layer are double-zero terminated. check-in: 251230cf43 user: mistachkin tags: trunk
18:43
In the SQLITE_OPEN_NOFOLLOW processing, distinguish between an I/O error on the xAccess() call and an actual symlink encounter. check-in: 2e98b42fcb user: drh tags: trunk
17:46
Add support for SQLITE_OPEN_NOFOLLOW. check-in: cb79c82849 user: drh tags: trunk
2019-11-17
11:47
Fix an assert that can fail if the schema is corrupt. check-in: ed57c48e4b user: drh tags: trunk
2019-11-16
18:36
Do not allow shadow tables to be dropped in defensive mode. Leaf check-in: 0a988ce340 user: drh tags: apple-osx
16:54
More restrictions on changes to shadow tables when in defensive mode. check-in: bae76a5c40 user: drh tags: trunk
14:15
Do not allow CREATE TABLE or CREATE VIEW of an object with a name that looks like a shadow table name. Closed-Leaf check-in: 6aef58b629 user: drh tags: defensive-improvements
13:51
Break out the test for writable shadow tables into a separate subroutine. check-in: 8ad34d36a1 user: drh tags: defensive-improvements
12:04
Do not allow shadow tables to be dropped in defensive mode. check-in: 70390bbca4 user: drh tags: trunk
11:33
Fix a potential NULL pointer dereference on a RENAME TABLE that references a VIEW with a logic error in a window function in the ORDER BY clause. check-in: 0adb273f7e user: drh tags: trunk
2019-11-15
02:52
Merge the version 3.30.1 changes into the apple-osx branch. check-in: 2c8af35206 user: drh tags: apple-osx
00:52
Fix table-valued functions so that they will work as the right table in a LEFT JOIN. Ticket [2ae0c599b735d59e] check-in: 2c35d3f67b user: drh tags: trunk
2019-11-14
23:08
Backport support for the sqlite3_hard_heap_limit64() interface and the hard_heap_limit pragma to the 3.30 branch. Leaf check-in: ba27012d43 user: drh tags: branch-3.30
18:07
Add support for the sqlite3_hard_heap_limit64() interface and the hard_heap_limit pragma. check-in: 6399c47ea8 user: drh tags: trunk
17:46
Fix a bug in the hard_heap_limit pragma so that it returns the new value of the hard_heap_limit, not the soft_heap_limit. Change SQLITE_MAX_MEMORY so that it works by setting the default hard_heap_limit value. Closed-Leaf check-in: 33fd0c3abc user: drh tags: hard-heap-limit
15:21
Merge recent enhancements from trunk. check-in: b8a631fd30 user: drh tags: hard-heap-limit
15:10
Minor documentation enhancements. No changes to code. check-in: 6153f3aada user: drh tags: hard-heap-limit
13:24
Ensure that the same subquery does not go through the window-function rewrite more than once, even when that subquery is part of a virtual table constraint that lacks the omit flag. check-in: d0bc7db6b0 user: drh tags: trunk
2019-11-13
16:50
Fix the sqlite3TreeView() output to consistently use a colon and not a comma after the table number in the AST dumps. check-in: fa2416f623 user: drh tags: trunk