SQLite
Timeline
Not logged in

50 most recent check-ins

2018-06-19
11:15
Minor change to the input grammar to make the parser tables slightly smaller. Leaf check-in: 320fa69e6a user: drh tags: trunk
2018-06-18
20:34
Fix problems with using window functions in CREATE VIEW statements. Leaf check-in: 943bccd2a6 user: dan tags: exp-window-functions
20:08
Add test case for the fix in the previous commit. check-in: 39434262d5 user: dan tags: trunk
19:09
Fix typo in the 'normalize' extension. check-in: 0c9163ea23 user: mistachkin tags: trunk
17:36
Ensure that all four callbacks are provided when registering a window function (otherwise SQLITE_MISUSE is returned). check-in: 5720dcd8b1 user: dan tags: exp-window-functions
16:55
Add new API function sqlite3_create_window_function(), for creating new aggregate window functions. check-in: da03fb4318 user: dan tags: exp-window-functions
2018-06-15
20:46
Add extra OOM test. check-in: ac251f7260 user: dan tags: exp-window-functions
19:01
Fix another problem in lead()/lag(). And some errors that could occur following OOM faults. check-in: fadd4dc119 user: dan tags: exp-window-functions
16:10
Fix a bug in the lead() and lag() window functions causing them to fail when used in queries featuring multiple window functions. check-in: 3839fb18f9 user: dan tags: exp-window-functions
2018-06-14
20:52
Fix a problem with handling of statements containing two or more different windows. check-in: 567e09ef2a user: dan tags: exp-window-functions
19:06
Fix problem with window functions min() and max() when used with a PARTITION clause and a frame starting point other than "UNBOUNDED PRECEDING". check-in: 43eb1e75a4 user: dan tags: exp-window-functions
14:30
Merge latest trunk changes into this branch. check-in: 5cf5f1808a user: dan tags: exp-window-functions
14:27
Improve comments and code legibility in new file window.c. check-in: bb915854d4 user: dan tags: exp-window-functions
2018-06-13
20:29
Fix problems with "RANGE BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING" window frames. check-in: c34f31dbd7 user: dan tags: exp-window-functions
17:19
Output infinity as 1e999 in the ".dump" command of the command-line shell. check-in: ee431d55eb user: drh tags: trunk
16:52
Pad out the sqlite3_value structure to be a multiple of 8 bytes. check-in: f76dc33bde user: drh tags: trunk
16:08
Fix some test case numbers in expert1.test. check-in: b90c3c16c0 user: dan tags: trunk
11:41
Unless SQLITE_OMIT_AUTOINIT is defined, allow sqlite3_vfs_unregister() to be called before sqlite3_initialize(). check-in: ab6c1ae46d user: dan tags: trunk
11:11
Check that malloc() has not already failed when invoking the xUpdate() method of a virtual table implementation. This fixes an assert() failure in FTS5 that could occur following an OOM condition. check-in: e9a7e4d58f user: dan tags: trunk
02:20
Add the unused SQLITE_CANTOPEN_DIRTYWAL result code. This code was used in some historical versions on the apple-osx branch but was removed by check-in [27e20d699872b2b8]. Restore it so that old code that actually references that result code will still compile. check-in: 9f40383eed user: drh tags: trunk
2018-06-12
20:53
Fix another issue to do with window-functions in aggregate queries. check-in: 6413e38a17 user: dan tags: exp-window-functions
19:35
Documentation update: clarify that sqlite3_errcode() and related interfaces do not themselves modify the error code. check-in: 858fc52b23 user: drh tags: trunk
19:22
Documentation updates: clarify the behavior of sqlite3_column and sqlite3_value interfaces following an OOM error. check-in: 428c581e4b user: drh tags: trunk
18:40
Fix some problems with using window-functions in aggregate queries. check-in: fe7081e095 user: dan tags: exp-window-functions
13:52
Improvements to SCopy correctness tracking when SQLITE_DEBUG is enabled. check-in: b2973f2357 user: drh tags: trunk
13:16
Fix the "Synopsis" on the OP_BitNot opcode. check-in: acd78df611 user: drh tags: trunk
2018-06-11
21:33
Improvements to the --enable and --disable options for the amalgamation tarball. check-in: 02e337e080 user: drh tags: trunk
20:50
Clarify the relationship between a Window object and its associated Expr. check-in: 0cd55e98a4 user: dan tags: exp-window-functions
19:47
Fix various --enable and --disable options on the top-level configure script. check-in: 6fd7e8ceb9 user: drh tags: trunk
18:16
Fix handling of window frames containing negative number of rows. e.g. "ROWS x PRECEDING AND y PRECEDING" where (x<y). check-in: b6d9c7eda8 user: dan tags: exp-window-functions
18:06
Fix the column cache invalidation logic in the code for ROWID uniqueness constraint checking in the INSERT command. This fixes ticket [c2432ef9089ee73bd]. check-in: 0b485a571c user: drh tags: trunk
17:35
Add the OP_SetTabCol and OP_VerifyTabCol opcodes, only when compiling with SQLITE_DEBUG, to do run-time verification of the column cache. check-in: b37614a367 user: drh tags: trunk
13:10
Strengthen the sqlite3VdbeMemAboutToChange() run-time verification mechanism to better detect missed calls to AboutToChange(). check-in: 793e942205 user: drh tags: trunk
11:19
Fix a typon in main.mk. check-in: e74f86f271 user: dan tags: exp-window-functions
01:30
Always initialize the WhereClause.hasOr field that was added by check-in [292724ffc4]. Error detected by OSSFuzz. check-in: 9faf41713e user: drh tags: trunk
2018-06-10
07:42
Update Makefile.msc to include window.c in the build. check-in: 16db73842a user: dan tags: exp-window-functions
2018-06-09
20:52
Fix a typo in the amalgamation autoconf file. check-in: de0857f396 user: drh tags: trunk
18:09
Merge recent trunk changes with this branch. check-in: c71f23590c user: dan tags: exp-window-functions
17:58
Update the amalgamation build script to include window.c. check-in: 21d2f4a62e user: dan tags: exp-window-functions
17:43
Add support for FILTER clause on aggregate window functions. check-in: ceaf798ea0 user: dan tags: exp-window-functions
16:49
Slightly smaller and faster code by encapsulating wal-index hash table location information in a separate WalHashLoc object rather than passing around the various elements as separate variables. check-in: 538a365b7a user: drh tags: trunk
14:13
Improved comments an presentation for the recent IN operator decision improvement. check-in: 31e480f68d user: drh tags: trunk
02:49
Performance improvement to sqlite3WhereExprUsage(). check-in: fd09341390 user: drh tags: trunk
01:12
Compute the bitmask of indexed columns for each index once when the Index objecct is constructed, instead of recomputing it every time it is needed. check-in: d735872ec3 user: drh tags: trunk
00:09
Avoid invoking the whereLoopAddOr() routine in the query planner if there are no OR operators in the WHERE clause, thus speeding up query planning slightly. check-in: 292724ffc4 user: drh tags: trunk
2018-06-08
23:23
When the query planner has the opportunity to use an IN operater constraint on a term of an index other than the left-most term, use the estimated number of elements on the right-hand side of the IN operator to determine if makes sense to use the IN operator with index lookups, or to just do a scan over the range of the table identified by the index terms to the left. Only do this if sqlite_stat1 measurements are available as otherwise the performance estimates will not be accurate enough to discern the best plan. Bias the decision slightly in favor of using index lookups on each element of the IN operator. check-in: 2cbbabdf5e user: drh tags: trunk
21:21
Only choose to scan an IN operator rather than use an index if we have real STAT1 data to suggest it is advantageous. Closed-Leaf check-in: 30e874661d user: drh tags: in-scan-vs-index
20:58
Add support for the WINDOW clause. check-in: 19c983b511 user: dan tags: exp-window-functions
19:54
Merge the btreeNext() assertion bug fix from trunk. check-in: 11bd66e090 user: drh tags: in-scan-vs-index
19:13
Fix an assert() that can be false for a corrupt database and a strange query that uses a recursive SQL function to delete content from a corrupt database file while it is being queried. check-in: 99057383ac user: drh tags: trunk