Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
100 events by user drh occurring around 2020-02-07 01:12:53.
2020-03-02
| ||
01:51 | • Fixed ticket [da5a09be]: UAF in sqlite3BlobCompare plus 6 other changes (artifact: d1264e41 user: drh) | |
01:50 | Fix a faulty assert() statement in the stale-register detection logic. Ticket [da5a09be6dabbf42]. (check-in: 219c296c user: drh tags: trunk) | |
01:30 | • Ticket [e12a0ae5] Assertion `memIsValid(&aMempOp->p1)' failed status still Fixed with 3 other changes (artifact: 87fc6c95 user: drh) ... 1 similar event omitted. | |
01:16 | Ensure that the NULL-scan pass counter is initialized when a ORDER BY NULLS LAST is used on the right table of a LEFT JOIN. Ticket [e12a0ae526bb51c7]. (check-in: 704bb9a3 user: drh tags: trunk) | |
2020-02-29
| ||
15:53 | In the CLI, add the ".oom" command for debugging builds. (check-in: 9c3136a7 user: drh tags: trunk) | |
2020-02-28
| ||
16:04 | • Fixed ticket [e63b4d1a]: Query on rtree unexpectedly yields 0 rather than 0.0 plus 5 other changes (artifact: 7861527d user: drh) | |
16:04 | The RTREE extension behaves as if data columns have type REAL, so we should actually declare them as REAL so that automatic indexes handle them correctly. Ticket [e63b4d1a65546532] (check-in: 85a9b6a9 user: drh tags: trunk) | |
2020-02-27
| ||
16:21 | Fix harmless compiler warnings from MSVC. (check-in: 951b39ca user: drh tags: trunk) | |
13:54 | Extra zero terminators on the end of the blank filename returned by sqlite3PagerFilename() for an in-memory database. This helps the result work better with sqlite3_filename_journal() and similar functions. (check-in: 63e533d2 user: drh tags: trunk) | |
12:33 | Backport the change that allows the filename passed into the xFullPathname to be used as an argument to sqlite3_uri_parameter(). (check-in: 9c77bfe4 user: drh tags: branch-3.31) | |
11:32 | Ensure that the filename passed into the xFullPathname method of the VFS is acceptable as an argument to sqlite3_uri_parameter(). The interface spec does not guarantee this, but it has been so historically and some applications have come to depends on it. (check-in: bfb09371 user: drh tags: trunk) | |
2020-02-25
| ||
20:05 | Update the fuzzcheck test module so that it avoids inserting text values that contain embedded NULs in the XSQL table. Fix some legacy entries in the test/fuzzdata8.db that had embedded NULs. Add in new dbsqlfuzz cases that have accumulated over on the dbsqlfuzz project for a while. (check-in: 47d4240c user: drh tags: trunk) | |
2020-02-24
| ||
17:05 | If STAT4 determines that a WHERE clause term that is not used by an index has very high probability of being true, then do not use that term to reduce the estimated output row count. (check-in: 40739c79 user: drh tags: trunk) | |
16:46 | Rework this changes so that instead of setting the WhereTerm.truthProb when a term is seen to be of low selectivity, it merely sets a new flag (the TERM_HIGHTRUTH flag) which causes whereLoopOutputAdjust() to ignore that term. (Closed-Leaf check-in: 4558163b user: drh tags: stat4-truthprob) | |
13:35 | Disable the new analyzeG.test module if not building with STAT4. (check-in: 4a9d3005 user: drh tags: stat4-truthprob) | |
13:26 | Merge bugfix from trunk. (check-in: b542dee9 user: drh tags: stat4-truthprob) | |
2020-02-23
| ||
17:38 | • Fixed ticket [f50af3e8]: OOB memory access on a table rename plus 5 other changes (artifact: 929fcf1d user: drh) | |
17:34 | Fix a problem with ALTER TABLE for views that have a nested FROM clause. Ticket [f50af3e8a565776b]. (check-in: c431b3fd user: drh tags: trunk) | |
16:16 | • Ticket [f50af3e8] OOB memory access on a table rename status still Open with 6 other changes (artifact: 569133e7 user: drh) ... 1 similar event omitted. | |
2020-02-22
| ||
18:27 | Do not activate the truthProb adjustment mechanism if the truth probability is less than the heuristic value, as there could be correlations unknown to stat4. Also add additional tracing output to make truthProb adjustments more visible. (check-in: c535fea1 user: drh tags: stat4-truthprob) | |
16:58 | When stat4 information is available, try to use it to improve the truth probability of WHERE clause terms that do not participate in the index. (check-in: 1babd6ec user: drh tags: stat4-truthprob) | |
13:07 | • Fixed ticket [aa437869]: sqlite3.c:87338: int sqlite3VdbeExec(Vdbe *): Assertion `sqlite3BtreeCursorIsValid(pCrsr)' failed. plus 6 other changes (artifact: 9fee2067 user: drh) | |
13:01 | In the OP_Column opcode, if the cursor is marked NullRow (due to being the right table of a LEFT JOIN that does not match) and the cursor is the table cursor for an OR-optimization with a covering index, then do not substitute the covering index cursor, since the covering index cursor does not have the NullRow flag set. Ticket [aa4378693018aa99] (check-in: f02030b3 user: drh tags: trunk) | |
2020-02-21
| ||
11:52 | • Edit [a67cf5b7d37d5b14|a67cf5b7]: Edit check-in comment. (artifact: d222ca46 user: drh) | |
2020-02-20
| ||
14:08 | Early-out on the INTERSECT query processing following an out-of-memory error. This fixes a potential null pointer dereference found by sakura(@eternalsakura13) of Alpha Team, Qihoo 360. (check-in: a67cf5b7 user: drh tags: trunk) | |
2020-02-19
| ||
15:39 | Fix a potential NULL pointer dereference following OOM. Problem discovered by dbsqlfuzz. Test case in TH3. (check-in: 5aeb5a2d user: drh tags: trunk) | |
2020-02-18
| ||
23:58 | Remove a NEVER() macro and add a test case to cause its argument to be true. (check-in: ee034fe9 user: drh tags: trunk) | |
19:49 | Add the new sqlite3_create_filename() and sqlite3_free_filename() interfaces for use by Shims. Use these interfaces inside the multiplexor. (check-in: 9469f36a user: drh tags: trunk) | |
2020-02-17
| ||
23:08 | Convert invalid surrogates to 0xfffd when translating UTF. (check-in: 7fab1393 user: drh tags: trunk) | |
19:25 | A better (smaller and faster) solution to ticket [4374860b29383380]. (check-in: abc473fb user: drh tags: trunk) | |
00:12 | • Fixed ticket [4374860b]: Segmentation fault in isAuxiliaryVtabOperator plus 5 other changes (artifact: 971c60ab user: drh) | |
00:12 | Take care when checking the table of a TK_COLUMN expression node to see if the table is a virtual table to first ensure that the Expr.y.pTab pointer is not null due to generated column optimizations. Ticket [4374860b29383380]. (check-in: 9d0d4ab9 user: drh tags: trunk) | |
2020-02-16
| ||
17:40 | Avoid an infinite recursion on an illegal recursive definition of an fts5vocab table. (check-in: 109ee074 user: drh tags: trunk) | |
2020-02-13
| ||
22:12 | • Fixed ticket [1dcb4d44]: Incorrect query result when redundant terms appears in WHERE clause plus 5 other changes (artifact: 1a3d605b user: drh) | |
22:12 | Fix problems in the constant propagation optimization that were introduced by check-in [1c3e5c20a9e6f501]. Fix for ticket [1dcb4d44964846ad] (check-in: c9a8defc user: drh tags: trunk) | |
20:37 | • New ticket [1dcb4d44] Incorrect query result when redundant terms appears in WHERE clause. (artifact: 2274c85b user: drh) | |
14:51 | Disallow the skip-scan optimization in the absence of sqlite_stat1 data. (check-in: e0c6b8bd user: drh tags: trunk) | |
13:45 | Omit O_NOFOLLOW from the open() call when opening /dev/null, since /dev/null is a symlink on Solaris, we are told. (check-in: 0c683c43 user: drh tags: trunk) | |
11:47 | • Fixed ticket [41c1456a]: Assertion `pColl1 && (pParse->nErr || pColl2)' failed. plus 6 other changes (artifact: c72a159d user: drh) | |
11:46 | Fix an incorrect assert() statement that was added yesterday. Tickets [41c1456a6e61c0e7] and [fb8c538a8f57ae2a]. (check-in: abfb043e user: drh tags: trunk) | |
2020-02-12
| ||
20:50 | Increase the default upper bound on the number of parameters in a single SQL statement to 32766 (from 999). (check-in: 2def7569 user: drh tags: trunk) | |
13:02 | • Fixed ticket [fb8c538a]: Incorrect sorting when a column uses BINARY collation in the ORDER BY, but is constrained by an == with a different collation in the WHERE clause plus 3 other changes (artifact: 96f91c7d user: drh) ... 1 similar event omitted. | |
2020-02-10
| ||
19:37 | Fix a typo in the in-tree begin-concurrent documentation (check-in: b13dae1c user: drh tags: begin-concurrent) | |
19:24 | Mark the sha1() extension function as SQLITE_DETERMINISTIC. (check-in: 7d8dcfb9 user: drh tags: trunk) | |
13:29 | Fix the build for when SQLITE_VDBE_COVERAGE is used. (check-in: 08438164 user: drh tags: trunk) | |
2020-02-07
| ||
19:44 | During byte-code generation, strive to avoid jumps that merely jump to the following instruction. (check-in: bcf876e6 user: drh tags: trunk) | |
01:12 | Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: 5a877221 user: drh tags: trunk) | |
2020-02-06
| ||
20:46 | There is no need to keep track of the number of changed rows or of the last-insert-rowid while running VACUUM. (check-in: a8a7c05b user: drh tags: trunk) | |
15:38 | Unroll the comparison loop inside keywordCode() for to avoid unnecessary comparisions and thus help that routine run faster. (check-in: cec5f920 user: drh tags: trunk) | |
13:57 | Separate OP_IdxInsert and OP_SorterInsert into completely separate opcodes, helping each one to run a little faster. (check-in: 447d71f0 user: drh tags: trunk) | |
13:09 | Remove dead code from the sqlite3_filename_database() function. (check-in: 1b618555 user: drh tags: trunk) | |
2020-02-05
| ||
18:28 | Small size reduction and performance improvement in the sqlite3VdbeMemFromBtree() interface used to pull content out of the b-tree and into an sqlite3_value object. (check-in: ae6dd8d3 user: drh tags: trunk) | |
2020-02-04
| ||
03:01 | • Fixed ticket [f07d71bb]: Assertion `pOp->p4type==P4_FUNCCTX' failed. plus 6 other changes (artifact: ed88e659 user: drh) | |
01:50 | • Fixed ticket [86ba67af]: Incorrect affinity for CHECK constraints plus 5 other changes (artifact: 36a81307 user: drh) | |
01:49 | • Fixed ticket [9d366675]: int sqlite3VdbeExec(Vdbe *): Assertion `memIsValid(pCtx->argvi)' failed. plus 5 other changes (artifact: bfde5dc2 user: drh) | |
01:41 | Extend the OP_Copy-coalesce optimization fix of check-in [b36126c1889e323c] so that it is also correctly disabled by the CASE operator. Ticket [9d3666754ac37d5a]. (check-in: 29a969d6 user: drh tags: trunk) | |
00:55 | Fix a problem with the byte-code decompiler that was inserted by the enhancements at [4248980a356f659b] (check-in: af63e95d user: drh tags: trunk) | |
2020-02-03
| ||
19:56 | Cosmetic change to the xfer-optimization to put the OP_RowData opcode closer to the corresponding OP_Insert opcode. This makes it slightly easier to read and understand the code. (check-in: 0ea2dbfc user: drh tags: trunk) | |
16:07 | • Ticket [86ba67af] Incorrect affinity for CHECK constraints status still Open with 6 other changes (artifact: 625d7cb6 user: drh) | |
12:25 | Increase the version number to 3.32.0. (check-in: 8130bbb4 user: drh tags: trunk) | |
2020-02-01
| ||
21:03 | On an INSERT or UPDATE, perform affinity conversions on new data prior to running CHECK constraints. Ticket [86ba67afafded936]. (check-in: 1d4f8620 user: drh tags: trunk) | |
17:38 | Fix the comment display for the OP_Function opcode. And at the same time, improve the comment generating logic to make use of the newer sqlite3_str_appendf() interface. (check-in: 4248980a user: drh tags: trunk) | |
14:30 | • New ticket [86ba67af] Incorrect affinity for CHECK constraints. (artifact: 605ae305 user: drh) | |
14:29 | Fix a problem in sqlite3CodecQueryParameters() that was introduced by the query parameter encoding changes for the 3.31.1 release. (check-in: 1240ee4f user: drh tags: apple-osx) | |
14:20 | Merge the sqlite3CodecQueryParameters() fix into trunk. (check-in: a812f533 user: drh tags: trunk) | |
13:30 | Fix a problem in sqlite3CodecQueryParameters() that was introduced by the query parameter encoding changes for the 3.31.1 release. (check-in: cc65ca54 user: drh tags: branch-3.31) | |
2020-01-31
| ||
14:52 | Fix a minor typo in a comment in the btreeinfo extension. (check-in: b5a66d10 user: drh tags: trunk) | |
2020-01-29
| ||
23:19 | • Closed ticket [1dc432db]: FTS4 integrity-check results in "database disk image is malformed" for UTF-16 encoding plus 4 other changes (artifact: 10166d7b user: drh) | |
13:50 | Remove a NEVER() that is in fact reachable. Test cases in dbsqlfuzz and TH3. (check-in: ffd8bb93 user: drh tags: trunk) | |
13:10 | Add new memory barriers during initialization. (check-in: a9b2adc5 user: drh tags: trunk) | |
12:37 | Modify a couple of FTS test cases so that they work on big-endian platforms. (check-in: b20503aa user: drh tags: trunk) | |
2020-01-28
| ||
20:27 | Faster decoding of 32-bit variable-length integers in cases were we do not need to know the number of bytes in the encoding. (check-in: 59a31b16 user: drh tags: trunk) | |
20:09 | Small performance improvement to the key-comparision routine for strings. (check-in: 41454499 user: drh tags: trunk) | |
18:09 | Reinstate the optimization of converting "a IN (C)" into "a=C" but only if C is a constant. If the RHS is a table column, the complications of managing affinity and collations become too involved to mess with. (check-in: 8ac26a23 user: drh tags: trunk) | |
15:02 | Minor change for compatibility with the s390 architecture. (check-in: 04885763 user: drh tags: trunk) | |
2020-01-27
| ||
19:55 | Version 3.31.1 (check-in: 3bfa9cc9 user: drh tags: trunk, release, version-3.31.1) | |
17:09 | Update the version number to 3.31.1. (check-in: 6fb9a8fb user: drh tags: trunk) | |
14:53 | • Edit [34ab760689fd493e|34ab7606]: Edit check-in comment. (artifact: 6f0275e3 user: drh) | |
14:40 | Revise the layout of filenames in the Pager object so that it is unchanged from prior versions. It turns out that some important 3rd-party software does questionable pointer manipulations on those filenames that depend on that legacy layout. Technically, this is a misuse of SQLite by the 3rd-party software, but we want to avoid unnecessary breakage. (check-in: 34ab7606 user: drh tags: trunk) | |
2020-01-23
| ||
15:00 | Fix typos in the sqlite3ext.h header file that prevent some newer APIs from being accessed from loadable extensions. (check-in: 14331989 user: drh tags: trunk) | |
2020-01-22
| ||
23:13 | • Fixed ticket [b985f0bd]: Assertion `0' failed in sqlite3IsLikeFunction plus 6 other changes (artifact: 076ee1f8 user: drh) | |
23:08 | Fix a NEVER() macro that can be true if compiled with SQLITE_ENABLE_UNKNOWN_SQL_FUNCTION. Ticket [b985f0bd1636d9bc] (check-in: 9f0f5d59 user: drh tags: trunk) | |
21:18 | Merge version 3.31.0 (check-in: 9c3f4638 user: drh tags: begin-concurrent-pnu-wal2) | |
21:12 | Merge version 3.31.0 (check-in: 3bb267de user: drh tags: wal2) | |
21:06 | Merge version 3.31.0 (check-in: e65e6c01 user: drh tags: begin-concurrent-pnu) | |
20:56 | Merge version 3.31.0 (check-in: bbbc2881 user: drh tags: begin-concurrent) | |
20:36 | Merge version 3.31.0 (check-in: 0eae87ad user: drh tags: apple-osx) | |
20:02 | Merge in version 3.31.0 (check-in: f418afa1 user: drh tags: reuse-schema) | |
18:38 | Version 3.31.0 (check-in: f6affdd4 user: drh tags: trunk, release, version-3.31.0) | |
2020-01-21
| ||
12:29 | Fix the series.c and spellfix.c extensions to use SQLITE_VTAB_INNOCUOUS correctly. Fix the documentation on sqlite3_vtab_config() to take into account SQLITE_VTAB_INNOCUOUS and SQLITE_VTAB_DIRECTONLY. (check-in: 9265cb7f user: drh tags: trunk) | |
2020-01-20
| ||
15:32 | Merge recent fixes from trunk. (check-in: 9c920bba user: drh tags: reuse-schema) | |
14:42 | In the fuzzcheck test program, reduce the default expression depth limit from 1000 to 500 to avoid stack-overflow problems when running stress tests using clang ASAN. (check-in: 63d886f4 user: drh tags: trunk) | |
2020-01-19
| ||
20:37 | Enhancement to the CLI to allow the ".parameter init" command to work even if defensive mode is turned on. (check-in: 4d462550 user: drh tags: trunk) | |
2020-01-18
| ||
23:52 | Documentation improvements. (check-in: 535afe15 user: drh tags: trunk) | |
22:20 | In the TCL interface, add the ability to change the SQLITE_DBCONFIG_TRUSTED_SCHEMA setting using the "db config" method. (check-in: 1accfa8c user: drh tags: trunk) | |
21:35 | • Closed ticket [830277d9]: Non-deterministic date/time functions allowed in CHECK constraints plus 5 other changes (artifact: dfd3e472 user: drh) | |
21:34 | Allow non-deterministic function in CHECK constraints. It turns out that PostgreSQL, MySQL, and SQLServer all allow this. We should not be the the exception. Ticket [830277d9db6c3ba1] (check-in: 8c8ce526 user: drh tags: trunk) | |