/ Timeline
Login

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

100 descendants and 100 ancestors of [11d472c1]

2019-11-16
21:40
Improved detection of corrupt shadow tables in FTS3. Enable the debugging special-inserts for FTS3 for both SQLITE_DEBUG and SQLITE_TEST. check-in: 04b2873b user: drh tags: trunk
16:54
More restrictions on changes to shadow tables when in defensive mode. check-in: bae76a5c 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: 6aef58b6 user: drh tags: defensive-improvements
13:51
Break out the test for writable shadow tables into a separate subroutine. check-in: 8ad34d36 user: drh tags: defensive-improvements
12:04
Do not allow shadow tables to be dropped in defensive mode. check-in: 70390bbc 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: 0adb273f user: drh tags: trunk
2019-11-15
21:16
Modify three test cases so that they work even with unusual versions of the library printf(). check-in: 8f4a3750 user: drh tags: trunk
00:52
Fix table-valued functions so that they will work as the right table in a LEFT JOIN. Ticket [2ae0c599b735d59e] check-in: 2c35d3f6 user: drh tags: trunk
2019-11-14
18:07
Add support for the sqlite3_hard_heap_limit64() interface and the hard_heap_limit pragma. check-in: 6399c47e 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: 33fd0c3a user: drh tags: hard-heap-limit
15:21
Merge recent enhancements from trunk. check-in: b8a631fd user: drh tags: hard-heap-limit
13:57
New test cases added to fuzzdata8.db. check-in: 5baffcda user: drh tags: trunk
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: d0bc7db6 user: drh tags: trunk
2019-11-13
18:50
Add header guard to the expert extension. check-in: 7e315185 user: mistachkin tags: trunk
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: fa2416f6 user: drh tags: trunk
2019-11-12
16:21
For for the previous check-in: Always enable the nUri variable, even when debugging is turned off. check-in: f84a1539 user: drh tags: trunk
14:43
Ensure that the main filename and the journal filenames in the pager object are all correctly double-zero terminated. check-in: df51ae19 user: drh tags: trunk
03:45
Remove a harmless unused variable. check-in: 28091a48 user: drh tags: trunk
2019-11-11
15:13
Remove an asm() block from build tool mksourceid.c, as it causes build failures on some systems and performance is not important at build-time. check-in: 8e100e6c user: dan tags: trunk
2019-11-10
11:09
Proper surrogate pair decoding added to JSON functions. See the mailing list bug report and https://bugs.python.org/issue38749. More test cases needed here, but it seems to work so far. check-in: 51027f08 user: drh tags: trunk
10:08
Remove an incorrect ALWAYS() macro. check-in: f7a74f89 user: drh tags: trunk
2019-11-09
15:31
Change the COLFLAG_NOTAVAIL bitmask so that it fits in the single-byte Walker.eCode field. check-in: 53847f5c user: drh tags: trunk
14:44
New dbsqlfuzz test cases added. check-in: 18c3a17d user: drh tags: trunk
14:38
Make sure the WITH stack in the Parse object is disabled following an error. check-in: de6e6d68 user: drh tags: trunk
2019-11-08
20:13
When a virtual table reports orderByConsumed, that tells us nothing about whether or not the SQLITE_DISTINCTBY constraint is met. Fix for ticket [7e59041f9c4e5102]. Test cases in TH3. check-in: b59f94e4 user: drh tags: trunk
2019-11-07
19:59
Experimental branch to provide SQLITE_LIMIT_HEAP_K to limit the amount of allocated memory used by each database connection, individually. Leaf check-in: 4ab9dbb9 user: drh tags: limit_heap_k
14:51
Fix the xferCompatibleIndex() function so that it recognizes that a PRIMARY KEY index for a WITHOUT ROWID table is different from a UNIQUE constraint index on the primary key. Ticket [302027baf1374498] check-in: 34f64f11 user: drh tags: trunk
02:32
Restore generated column loop detection logic that was incorrectly removed from the previous check-in [9e07b48934e9a972]. This fixes ticket [299b50ba812d8e54] check-in: 104a2beb user: drh tags: trunk
2019-11-06
22:19
Change the way generated columns are computed so that no column is computed inside branch code that might not be taken. Ticket [4fc08501f4e56692] check-in: 9e07b489 user: drh tags: trunk
19:25
Minor simplification to the changes from check-in [36c11ad51f]. check-in: 7bc8205d user: mistachkin tags: trunk
17:31
Fix the OP_DeferredSeek index-to-table column map in P4 so that it works with generated columns. Ticket [ce22a07731530118] check-in: 36c11ad5 user: drh tags: trunk
14:49
Fix the handling of NOT NULL constraint violations for generated columns in a REPLACE statement. Ticket [2399f5986134f79c] check-in: 77b1c90a user: drh tags: trunk
2019-11-04
12:49
Changes an unreachable testcase() into an assert(). check-in: 5710845b user: drh tags: trunk
02:05
Fix a false-postive in the sqlite3ExprImpliesNonNullRow() decision routine, that resulted in an incorrect LEFT JOIN strength reduction when the WHERE clause contained a row-value comparison. Ticket [02aa2bd02f97d0f2] check-in: ea20068e user: drh tags: trunk
2019-11-03
00:07
The optimization of check-in [9b2879629c34fc0a] is incorrectly reasoned. The WHERE clause of the partial index might not be true if the table of the partial index is the right table of a left join. So disable the optimization in that case. Ticket [623eff57e76d45f6] check-in: 3be19e11 user: drh tags: trunk
2019-11-02
17:59
Fix a problem in VIEW creation that was introduced by the generated columns feature. check-in: 9c795c4d user: drh tags: trunk
13:45
"STORED" is not actually a keyword. The parser looks for STORED as an ordinary identifier. check-in: 167cd574 user: drh tags: trunk
13:32
In sqlite3GenerateIndexKey(), do not attempt to reuse column values from the previous index if the current index is a partial index as the partial index test may have changed those values. Ticket [a9efb42811fa41ee] check-in: 17e9f658 user: drh tags: trunk
00:00
Restore the on-line ".help" for the ".explain" command in the CLI. check-in: 28b8f103 user: drh tags: trunk
2019-11-01
18:52
Fix a harmless compiler warning. check-in: f0ebea35 user: drh tags: trunk
17:31
The SET DEFAULT and SET NULL conflict resolution actions for foreign key constraints should cause an error when they appear on a generated column. check-in: b47513d2 user: drh tags: trunk
16:37
Fix a potential use-after-free bug that follows an OOM error in code added two days ago by check-in [84e02d773d60cffe]. Problem discovered by OSSFuzz. check-in: 0a2eb949 user: drh tags: trunk
16:08
Add another missing column number translation to the foreign key logic. check-in: 32df5edc user: drh tags: trunk
15:19
Omit the optimization that reduces the column-count on rowid-table cursors when the table has generated columns, because we do not know what columns the generator expressions might try to access. check-in: e6c96ed9 user: drh tags: trunk
13:37
Fix an fts3 assert() that could fail when operating on a database containing corrupt records. check-in: 7c52f547 user: dan tags: trunk
12:14
Add missing column translations to foreign key logic. Ticket [c28a01da72f8957c] check-in: bc6a43e7 user: drh tags: trunk
10:49
Fix a potential array bounds overflow in the mkkeywordhash.c code generator. Also add marks to omit keywords specific to generated columns when building with -DSQLITE_OMIT_GENERATED_COLUMNS. check-in: cc6a4081 user: drh tags: trunk
02:30
Slightly faster keyword hash table. check-in: f12e743e user: drh tags: trunk
2019-10-31
20:54
Correctly generate pre-UPDATE content for virtual columns that are used by foreign key constraints. Ticket [b9befa4b83a660cc] check-in: 40d3282e user: drh tags: trunk
17:13
Add a few simple TCL test cases for generated columns. (Full test coverage of the generated column logic is provided separately by TH3.) check-in: acedb5c7 user: drh tags: trunk
13:16
Ignore differences in Expr.op2 in sqlite3ExprCompare() in cases where it does matter. Ticket [1d2a8efc6c3a595a]. check-in: 32982067 user: drh tags: trunk
12:30
Enhance the TreeView logic to show information about Expr.op2 for FUNCTION and COLUMN nodes. check-in: aceeaf9e user: drh tags: trunk
2019-10-30
18:50
Always disallow the use of non-deterministic functions in CHECK constraints, even date/time functions that use the 'now' or similar keywords. Provide improved error messages when this requirement is not met. Ticket [830277d9db6c3ba1] check-in: 2978b65e user: drh tags: trunk
16:29
Simplify the bytecode generation for SQL function calls such that the OP_Function or OP_PureFunc opcodes are coded directly, rather than using the intermediate OP_Function0 or OP_PureFunc0 - opcodes that are now removed. check-in: 84e02d77 user: drh tags: trunk
13:00
New tokens ALWAYS, GENERATED, and STORED used by generated columns should all be fallback tokens. check-in: 13fe6978 user: drh tags: trunk
2019-10-29
16:18
Remove the legacy_file_format PRAGMA. In its place, provide the SQLITE_DBCONFIG_LEGACY_FILE_FORMAT option to sqlite3_db_config(). Fix for ticket [6484e6ce678fffab] check-in: 4d424f30 user: drh tags: trunk
03:39
Tighten the generated column requirement such that every table must have at least one non-generated column. Ticket [166347c6fc994155]. check-in: 4fba090e user: drh tags: trunk
03:30
Add a missing translation from table column numbers to storage table numbers while processing constraints on an UPDATE statement. Ticket [9621dd78a024d07a] check-in: 361ea81a user: drh tags: trunk
01:26
Disallow tables that have only virtual columns. check-in: 59197321 user: drh tags: trunk
2019-10-28
13:54
Fix a problem in fts3 causing it to report corruption if a doclist contains consectutive rowid entries that differ by more than 2^63. check-in: 0b0a3048 user: dan tags: trunk
13:07
Remove a NEVER() comparison from sqlite3ExprCompare(). check-in: f4285297 user: drh tags: trunk
04:20
ALWAYS macro added for coverage. check-in: a1e1ba91 user: drh tags: trunk
2019-10-27
22:22
Improved detection of attempts to use a generated column as part of the primary key. Ticket [91e86951016a6802] check-in: 6d1bbba9 user: drh tags: trunk
2019-10-26
23:51
Remove code from the constraint checker that generates virtual column values with the incorrect time. Turns out the the regular code for all other columns works correctly and so the incorrect special-case code is not actually needed. Fix for ticket [3ea175512444b0d1]. check-in: 5b4c0f2d user: drh tags: trunk
18:56
Remove redundant code resulting from a merge error on the previous check-in. check-in: 713fe86b user: drh tags: trunk
18:47
Add support for generated columns. check-in: b855acf1 user: drh tags: trunk
2019-10-24
23:43
Merge fixes from trunk. Closed-Leaf check-in: 4ec57d88 user: drh tags: generated-columns
21:02
The previous fix was incomplete. It is also necessary to disable the Expr.y.pTab field when making the translation. check-in: b99d5701 user: drh tags: generated-columns
20:29
Fix handling of covering indexes that use virtual columns. check-in: e0f7e321 user: drh tags: generated-columns
01:04
Do not allow ALTER TABLE ADD COLUMN for a STORED column. check-in: 42fc08bc user: drh tags: generated-columns
2019-10-23
15:47
Minor adjustments for clarity and test coverage. check-in: 30065716 user: drh tags: generated-columns
03:53
Fix incorrect arguments to testcase() macros. check-in: 812467fb user: drh tags: generated-columns
00:31
Fix the foreign key logic to be compatible with generated columns. check-in: 3de57145 user: drh tags: generated-columns
2019-10-22
21:01
Take the declared column time into account when computing the values for generated columns, and apply appropriate affinity. check-in: 9e04ba22 user: drh tags: generated-columns
20:16
Merge the row-value fix from trunk. check-in: 1fbd7438 user: drh tags: generated-columns
15:45
Do not allow generated columns in the PRIMARY KEY. check-in: 1a54743a user: drh tags: generated-columns
13:59
In UPDATE processing, include generated columns in the set of columns being updated if and only if their generator expressions reference some other column that is being updated. check-in: d38176e9 user: drh tags: generated-columns
13:01
New testcase() macros. Fix a problem with INSERT when the IPK is to the right of generated columns. check-in: 412799fc user: drh tags: generated-columns
12:02
Merge changes on trunk into the generated-columns branch. check-in: ba123b8c user: drh tags: generated-columns
2019-10-21
01:04
Changes to the INSERT logic to make it simpler and faster and so that it works with generated columns and BEFORE triggers. check-in: bc368cb0 user: drh tags: generated-columns
2019-10-19
18:47
Work toward getting generated columns to work with triggers. Still more work to do in this area. check-in: 932a3727 user: drh tags: generated-columns
15:01
Add testcase macros. check-in: fb9c9bb2 user: drh tags: generated-columns
13:29
Refactor names of column index transformation functions, for clarity. Get generated columns working with ALTER TABLE RENAME COLUMN. check-in: 27ab41c9 user: drh tags: generated-columns
2019-10-18
18:33
Fixes for WITHOUT ROWID tables with VIRTUAL columns and an INTEGER PRIMARY KEY. check-in: 86074da0 user: drh tags: generated-columns
17:47
Merge trunk enhancements into the generated-columns branch. check-in: 85bc4524 user: drh tags: generated-columns
17:42
Get generated columns working for WITHOUT ROWID tables. check-in: 9f409649 user: drh tags: generated-columns
12:52
Claw back some performance from the sqlite3ExprGetColumnOfTable() routine. check-in: e8426acb user: drh tags: generated-columns
12:14
Fix sqlite3ColumnOfIndex() to account for virtual columns. check-in: 44727112 user: drh tags: generated-columns
10:05
Get indexes working on virtual columns. check-in: 450c4876 user: drh tags: generated-columns
02:19
STORED columns can now reference other STORED columns, in any order, as long as there are not loops. check-in: 0d236698 user: drh tags: generated-columns
2019-10-17
18:35
In the Table object, change the nVCol field to nNVCol - the number of non-virtual columns, as that is the quantity that we need most. check-in: 4ad66af0 user: drh tags: generated-columns
18:07
Bug fix with INSERT using an explicit column list on a table with a non-final STORED column. check-in: 61b4459a user: drh tags: generated-columns
17:54
Some (but not all) INSERT and UPDATE statements now work for STORED columns. check-in: fe7517bf user: drh tags: generated-columns
16:16
Fix the xfer optimization for generated columns, so that VACUUM works again. check-in: 8f67b89b user: drh tags: generated-columns
15:59
Basic UPDATE functionality working for VIRTUAL columns. check-in: c21959d4 user: drh tags: generated-columns
14:21
Bug fixes so that "make test" once against runs with no errors. check-in: 7bfe0f67 user: drh tags: generated-columns
13:15
Fix the table_info and table_xinfo pragmas so that they work with virtual columns. Table_info omits virtual columns. Table_xinfo gives them a "hidden" flag of 2, and 3 for STORED columns. check-in: 069351b8 user: drh tags: generated-columns
2019-10-16
22:01
INSERT with named columns for a table with generated columns. check-in: 64db39f9 user: drh tags: generated-columns
20:05
ALTER TABLE is able to add a VIRTUAL column. check-in: 120c6b78 user: drh tags: generated-columns
19:31
Simple INSERT and SELECT operations working with VIRTUAL columns. check-in: 7f9f90b1 user: drh tags: generated-columns
12:18
Initial experimental code for generated column support. Non-functional. check-in: 11d472c1 user: drh tags: generated-columns
2019-10-15
19:01
Formatting change on a multi-line conditional, for improved clarity. No logic changes. check-in: 7248e347 user: drh tags: trunk
2019-10-14
20:32
Futher improvements to the IN operator for row-values on virtual tables. check-in: bc751fb6 user: drh tags: trunk
15:24
New test cases in test/fuzzdata8.db. check-in: 344d9cb0 user: drh tags: trunk
15:15
Fix a problem with row-value IN(...) operators and virtual tables. check-in: aa57d7ab user: dan tags: trunk
2019-10-12
23:38
When Select-Trace is enabled (in debugging builds only) do not show the result of Window function tree rewrites if there are no window functions. check-in: d1acf72a user: drh tags: trunk
2019-10-11
18:55
Update the zipfile extension to use deflateBound(), instead of compressBound(), to learn the maximum possible size of a deflate()d buffer. check-in: f5ee3042 user: dan tags: trunk
17:14
Futher improvements to LEFT JOIN strength reduction. check-in: 8a39167b user: drh tags: trunk
16:01
Improvements to the LEFT JOIN strength reduction optimization. check-in: 548082df user: drh tags: trunk
15:33
Ensure fts3/4 prefix indexes are flushed to disk before an 'optimize' command. Fix for [745f1abc]. check-in: 4ed905b1 user: dan tags: trunk
14:27
Fix the fts3/4 integrity-check command so that it works with "ORDER=DESC" tables. Fix for [8a6fa2bb]. check-in: 5863546d user: dan tags: trunk
14:25
Increase the version number to 3.31.0 for the next release cycle. check-in: ffd4c306 user: drh tags: trunk
14:21
Faster response to sqlite3_interrupt() in the OP_IntegrityCk and OP_Count opcodes. check-in: bf875dc5 user: drh tags: trunk
2019-10-10
23:58
Update the autoconf makefile for MSVC. check-in: 9455643e user: mistachkin tags: trunk
23:58
Fix harmless compiler warning seen with MSVC. check-in: 73a82114 user: mistachkin tags: trunk
17:09
Prevent SQLite from assuming that if ((? IS NOT NULL) IS NOT NULL) is true, ? may not be NULL. Fix for [c31034044bb72c89]. check-in: 7833feec user: dan tags: trunk
16:41
Fix a problem in the fts3 integrity-check routine causing it to report as corrupt tables that contain values with embedded 0x00 bytes. Ticket [278ac142625e3dcd] check-in: 629e20c9 user: dan tags: trunk
15:17
Be sure to rewrite column references inside FILTER clauses and window frame definitions when flattening queries. Fix for [1079ad19]. check-in: ccba7202 user: dan tags: trunk
2019-10-09
21:14
Avoid assuming that an expression that contains the sub-expression (? IS FALSE) or (? IS TRUE) may only be true if ? is non-null. Fix for [a976c487]. check-in: eb7ed90b user: dan tags: trunk
18:36
Do not allow users to effectively disable fts5 crisismerge operations by setting the crisismerge threshold to higher than the maximum allowable segment b-trees on a single level. Fix for [d392017c]. check-in: 86e49720 user: dan tags: trunk
15:37
An improved fix for the dbsqlfuzz-discovered ALWAYS() failure following OOM in sqlite3ExprCollSeq(). This time with a test case (engineered by Dan). check-in: 907f7965 user: drh tags: trunk
15:26
Disallow fts5 page sizes greater than 65536 bytes - as there are 16-bit offsets used in the page header. Fix for [81a7f7b9]. check-in: 75775c5a user: dan tags: trunk
15:08
Remove the "fastfuzztest" makefile target. Use only "fuzztest". check-in: e17571c7 user: drh tags: trunk
15:03
New test cases added to test/fuzzdata8.db. check-in: b68d21e9 user: drh tags: trunk
15:00
Change sqlite3SelectDup() to always return NULL if an OOM has occurred. check-in: 01ba4641 user: drh tags: trunk
13:52
Use the "fuzztest" target in place of "fastfuzztest". Closed-Leaf check-in: 7129e468 user: drh tags: makefile-cleanup
13:12
Remove the obsolete "fastfuzztest" target from the makefiles. check-in: 3d44f1ee user: drh tags: makefile-cleanup
01:19
Save CPU cycles in sqlite3Prepare() by, among other things, shifting the EXPLAIN column label logic over to sqlite3VdbeMakeReady(). check-in: 1ca5ef84 user: drh tags: trunk
2019-10-08
13:34
Fix problems with using the fts5 'rebuild' command inside a transaction that contains other updates of the same table. Fix for [e258f008]. check-in: 238e0835 user: dan tags: trunk
2019-10-07
20:36
Disallow page-sizes smaller than 32 bytes in fts5. Also ensure the fts5 integrity-check works even when "PRAGMA reverse_unordered_selects" is true. Fix for [265e935b26]. check-in: 8ab0aebd user: dan tags: trunk
20:33
Omit a pointless memory allocation in vdbeSorterSort(). check-in: 5d76dbc5 user: drh tags: trunk
18:43
Fix a problem with running ALTER TABLE ADD COLUMN statements within a transaction that writes to one or more virtual tables. Fix for [8fe768e9]. check-in: 31e85fbb user: dan tags: trunk
13:46
Add a test case for the assert() fix in the previous commit. check-in: 32fba11a user: dan tags: trunk
13:26
Fix a faulty assert() statement in the sqlite3VdbeMemExpandBlob() routine. check-in: 69a26ead user: drh tags: trunk
01:05
Fix the OP_SeekRowid opcode so that it works correctly with a Real argument without damaging the value in the register that is the argument. Ticket [b2d4edaffdc156cc]. Test cases in TH3. check-in: 3cde82c8 user: drh tags: trunk
2019-10-05
19:53
Omit the check for conflicting shared-cache locks in sqlite3Prepare() if the database connection uses no shared cache. We might be able to go back and remove this code completely, due to the newer Schema.iGeneration logic, but that will take more analysis. This check-in gives the speed benefit but not the reduction in code size. check-in: 0b73a092 user: drh tags: trunk
19:24
Optimization to sqlite3VtabUnlockList() for the common case when there is no work to do. check-in: fc8d4508 user: drh tags: trunk
18:33
Call sqlite3Prepare() directly, rather than going through sqlite3_prepare(), when processing the sqlite_master.sql column for a schema. check-in: cc49380e user: drh tags: trunk
15:28
Reorder two comparisons for a small performance gain in OP_Transaction. check-in: d7667f65 user: drh tags: trunk
14:39
Performance optimization to the lookaside-memory disabling mechanism. check-in: 17ce1c49 user: drh tags: trunk
2019-10-04
15:03
Version 3.30.0 check-in: c20a3533 user: drh tags: trunk, release, version-3.30.0
2019-10-03
16:02
Avoid running a couple of tests in affinity2.test as part of the valgrind permutations, as the way floating point computations are simulated by valgrind causes them to fail. check-in: 7f9a4b60 user: dan tags: trunk
14:51
Increase the precision of floating point value display in VDBE debugging output. No changes to normally deployed code. check-in: a561a656 user: drh tags: trunk
14:36
Fix some test script issues that come up with SQLITE_OMIT_VIRTUALTABLE builds. check-in: 3934d2d0 user: dan tags: trunk
13:44
Fix issues with command line invocation of wapptest.tcl. check-in: 9e0d5d26 user: dan tags: trunk
2019-10-02
19:44
Update error detection logic in releasetest.tcl to account for new output formats in USAN. check-in: 3f36b988 user: drh tags: trunk
19:43
Update corruptM.test to account for the fact that the database schema may be loaded from within the "sqlite3" command for some test permutations. check-in: cb9470fc user: dan tags: trunk
19:33
Fix a long-standing problem in fts4 incrmental merge. check-in: 67da31e2 user: dan tags: trunk
00:25
Disable sqlite3_drop_module() tests when virtual tables are omitted from the build. check-in: 9f4035f9 user: drh tags: trunk
2019-10-01
21:31
Remove references to test scripts analyzeA.test and analyzeB.test from permutations.test, since those test modules no longer exist. check-in: 23948796 user: drh tags: trunk
2019-09-30
19:13
The nodeReaderInit() function in FTS3 may not assume that the node is non-empty. check-in: 361eb2f6 user: drh tags: trunk
2019-09-28
18:28
Add missing comment to constant definitions. check-in: 661a3789 user: drh tags: trunk
16:14
Improvements to a comment. No code changes. check-in: 1a3671c7 user: drh tags: trunk
11:19
In FTS3/4, the poslist end marker must be larger than any other possible poslist value, even on a corrupt poslist. check-in: 752679ae user: drh tags: trunk
2019-09-27
17:36
Update requirement marks due to changes in documentation wording. check-in: 326cdc16 user: drh tags: trunk
16:33
Allow compile-time options -DHAVE_GETHOSTUUID=0 and -DHAVE_GETHOSTUUID=1. check-in: 3bcb9cc1 user: drh tags: trunk
15:15
Alternative implementation of the previous check-in which is testable. check-in: 102ef644 user: drh tags: trunk
15:01
Fix sqlite3ExprCompare() so that it ignores differences in the Expr.iTable field for IN operators, as otherwise it can lead to false negatives, which is usually harmless, but can cause problems for an assert() in the window function logic. check-in: 6a204b19 user: drh tags: trunk
2019-09-26
20:57
More minor test file fixes. check-in: 352878fe user: dan tags: trunk
20:05
Allow DROP TABLE to work on tables name "sqlite_parameters" just as it does with tables named "sqlite_stat%". Fix for the ".parameter clear" command in the shell. check-in: e768179b user: drh tags: trunk
19:53
Minor fix for test file indexexpr1.test. check-in: 0ceab26f user: dan tags: trunk
16:57
New dbsqlfuzz cases added to test/fuzzdata8.db. check-in: 49073b70 user: drh tags: trunk
16:08
Test for an OOM condition in resolveAlias(). check-in: 322eca7f user: drh tags: trunk
15:53
Fix a window-functions problem that could occur if an ORDER BY clause contains an alias for a window-function that is not a top-level expression. check-in: 1cc6cf64 user: dan tags: trunk
2019-09-25
18:44
Add a missing VdbeCoverage() macro. check-in: 36d35dbd user: drh tags: trunk
17:47
Remove an unused variable. check-in: a1988445 user: drh tags: trunk
16:41
Further simplifications to window-function code. check-in: 5fe15c1d user: dan tags: trunk
11:49
In the previous check-in, the variable should be openMode, not openFlags. check-in: 77b0db22 user: drh tags: trunk
10:36
In the unix VFS layer, do not attempt to chown() the journal to be the same as the database if running in 8+3 filename mode. Also, update the comments on the chown() attempt to be more precise. check-in: ab853724 user: drh tags: trunk
02:07
Simplifications to the window-function code. check-in: 489a1eb3 user: drh tags: trunk
2019-09-24
20:20
Bug fixes for window frames of the form (... RANGE BETWEEN b PRECEDING AND a PRECEDING) or (... RANGE a FOLLOWING AND b FOLLOWING) where (a > b). check-in: 040e196a user: dan tags: trunk
2019-09-23
12:38
Omit the sqlite3IntTokens array constant for a code simplification. check-in: f907395e user: drh tags: trunk
11:55
When a scalar subquery has a pre-existing "LIMIT X" then change it to "LIMIT X<>0" rather than just "LIMIT 1" so that if X is 0 the limit will still be zero. Ticket [99cd4807dc03f178]. Test cases in TH3. check-in: 82e5dcf5 user: drh tags: trunk
2019-09-21
18:49
Fix a harmless unused variable warning in the test logic. check-in: d7673a44 user: drh tags: trunk
17:31
Fix harmless compiler warnings. check-in: 8ea1dc72 user: drh tags: trunk
15:44
Allow SQLite to omit redundant ORDER BY sorts in the case where a SELECT statement has GROUP BY and ORDER BY clauses that use the same expressions, even when the ORDER BY expressions are marked "DESC". check-in: 20f7951b user: dan tags: trunk
13:34
Add --multithread, --serialized, and --singlethread options to the speed-check.sh test script. check-in: c17078af user: drh tags: trunk
2019-09-20
21:12
Simplify the fix in the previous commit. check-in: 5ef64b0f user: dan tags: trunk
20:52
Fix a problem with queries containing a min() or max() function for which the FILTER clause excludes all rows. check-in: b1d7e104 user: dan tags: trunk
2019-09-19
13:51
Fix an assert() in fts3 that could fail when accessing a corrupt database. check-in: 601ce953 user: dan tags: trunk
2019-09-18
20:34
Always clear the temporary register cache after coding a subroutine. check-in: b6f2a7f9 user: drh tags: trunk
17:22
Add extra tests for the handling of corrupt records in fts3. check-in: 40e29a47 user: dan tags: trunk
12:49
Fix another potential "jump depends on uninitialized value" warning. check-in: 633b214e user: drh tags: trunk
11:46
Fix a "jump depends on unititialized value" valgrind error in fts5 triggered by corrupt database records. check-in: 6b6751cd user: dan tags: trunk
11:16
Fix an OOB read in the INSTR() function introduced yesterday by check-in [3fb40f518086c1e8] and detected by OSSFuzz. The test case is in TH3. check-in: d49047c1 user: drh tags: trunk
2019-09-17
21:28
Do not change the OP_String8 opcode into OP_String until *after* any necessary encoding conversions are accomplished. Otherwise, a rerun of the prepared statement after an OOM can result in errors. Test case in TH3. check-in: 8efd6259 user: drh tags: trunk
13:30
Test cases for ticket [587791f92620090e] check-in: ca0e3a83 user: drh tags: trunk
03:16
Fix the instr() SQL function so that it makes a copy of its argument before changing the datatype, since the datatype affects processing. Also fix the sqlite3_value_text() routine so that it always works even for values obtained form sqlite3_value_dup(). Ticket [587791f92620090e] check-in: 3fb40f51 user: drh tags: trunk
2019-09-16
20:16
Improved type information display when tracing VDBE execution. check-in: ee83d8e3 user: drh tags: trunk
18:19
Do not attempt the LIKE optimization for non-text columns and a pattern prefix of "-". Ticket [0f0428096f17252a] check-in: 6fe0367f user: drh tags: trunk
15:15
Add recent interesting cases from dbsqlfuzz. check-in: f06ef3d7 user: drh tags: trunk
14:42
Documentation updates for the SQLITE_DIRECTONLY flag. check-in: 5beb6dc9 user: drh tags: trunk
05:34
Fix a problem with processing CTEs that use a WINDOW clause. check-in: ca564d4b user: dan tags: trunk
2019-09-14
16:44
Add the --no-rowids option to the ".recover" command. check-in: 01d71b94 user: dan tags: trunk
16:21
Extra comments on fields of the Window object. check-in: 3dbed162 user: drh tags: trunk
00:21
Fix the windows inverse function on the JSON aggregates. check-in: f464d847 user: drh tags: trunk
2019-09-13
20:42
Fix a problem with using json1 window functions with an EXCLUDE clause. check-in: 4a197881 user: dan tags: trunk
18:59
Fix the windowB test module so that it works even if SQLite is built without JSON support. check-in: 807975c7 user: drh tags: trunk
18:27
Add the SQLITE_SUBTYPE flag, which may be passed to sqlite3_create_window_function() to indicate that the window function uses sqlite3_value_subtype() to check the sub-type of its arguments. check-in: ba2ebc3a user: dan tags: trunk
17:30
Fix a typo in the carray extension header comment - the comment that serves as the documentation to this extension. check-in: 658a42d3 user: drh tags: trunk
17:05
Change the meaning of the SQLITE_SUBTYPE flag so that it indicates that the user-defined function cares about the subtypes of its arguments. Closed-Leaf check-in: af1bc20f user: dan tags: window-functions-subtype-fix2