Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
1f436ad
Add SQLITE_SELFORDER1 to JS's sqlite3.capi namespace. It's only useful when built with an sqlite3.c which itself was created with -DSQLITE_ENABLE_ORDERED_SET_AGGREGATES, which the canonical build does not do but custom builds may.
by stephan
· 17 hours ago
master
daa4cdf
Fix a minor comment inaccuracy.
by drh
· 20 hours ago
bae748a
Increase the precision of the "real time" output from the ".timer" command
by drh
· 21 hours ago
74cc109
Ensure that the accumulator for an aggregate always gets initialized,
by drh
· 27 hours ago
01a2953
Pedantic internal build doc fix.
by stephan
· 2 days ago
cf05295
Diverse wasm build cleanups.
by stephan
· 3 days ago
91db1c4
Fix vtabH.test so that it works on windows even if there are files that begin with "$" in the root directory.
by dan
· 3 days ago
10687e2
Remove some stray makefile debug output.
by stephan
· 3 days ago
074b1aa
In the wasm makefiles, replace X:=Y with X=Y because := has different semantics depending on the make impl and its use is arguably a bad muscle-memory habit worth breaking. These makefiles are very specifically for GNU make, but long-term it would be nice to eliminate that requirement.
by stephan
· 3 days ago
522ce56
wasm: remove some extraneous levels of makefile var and fix the (unsupported) wasmfs speedtest1 build to account for var renaming which happened long before this.
by stephan
· 3 days ago
68b74e2
Remove an unnecessary step from the wasm builds and account for a recent Emscripten-internal code-generation change which caused a post-build cleanup step to not actually clean up (harmless, but adds about 26k of useless stuff to the resulting JS).
by stephan
· 3 days ago
e5a7b81
Further internal wasm build cleanups. No functional changes.
by stephan
· 3 days ago
f98148b
Internal refactoring of the WASM build makefile rule generator, working towards parallelizing the various build modes (which is not currently possible because most modes share the same sqlite3.wasm output file name).
by stephan
· 3 days ago
27e13f4
Teach the sqlite3 CLI shell to look in XDG_STATE_HOME for the CLI history file before falling back to its historical location in the user's home directory.
by stephan
· 3 days ago
3a97a1b
Squelch a legitimate but harmless 'discards const' warning.
by stephan
· 3 days ago
shell-xdg-vars
81e9bbf
Avoid evaluating special vtab operators (e.g. MATCH) that are part of ON clauses attached to left joins from being evaluated too early. Fix for [forum:/forumpost/428ef7c468 | forum post 428ef7c468].
by dan
· 4 days ago
7d20c2e
Add test case to between.test.
by dan
· 4 days ago
vtab-leftjoin-fix
192d0ff
Optimize allocation of large tombstone arrays in fts5.
by dan
· 4 days ago
97e6368
Add the snapshot-zip makefile targets for both Windows and Posix.
by drh
· 5 days ago
1c11aa3
Enhance the "mktoolzip.tcl" script (used by the "tool-zip" makefile target) so that
by drh
· 5 days ago
bf5f1f5
In rtree.c, ensure that the pReadAux statement is reset whenever the bAuxValid flag is cleared. Fix for [forum:/forumpost/3e45ed31d8 | forum post 3e45ed31d8].
by dan
· 5 days ago
194f0ba
In rtree.c, ensure that the pReadAux statement is reset whenever the bAuxValid flag is cleared. Possible fix for [forum:/forumpost/3e45ed31d8 | forum post 3e45ed31d8].
by dan
· 5 days ago
rtree-aux-column-fix
08f8111
Add new sessions function sqlite3changeset_apply_v3() and its streaming equivalent. This allows changesets to be filtered on a per-change basis, not just per-table.
by dan
· 5 days ago
f8addcf
Fix harmless compiler warnings in builds that use SQLITE_OMIT_DATETIME_FUNCS.
by drh
· 5 days ago
bcfe38b
Avoid evaluating special vtab operators (e.g. MATCH) that are part of ON clauses attached to left joins from being evaluated too early. Possible fix for [forum:/forumpost/428ef7c468 | forum post 428ef7c468].
by dan
· 7 days ago
1b8f655
wasm: introduce the sqlite3.oo1.DB.wrapHandle() and Stmt.wrapHandle() APIs, which enable clients to wrap (sqlite3*) resp. (sqlite3_stmt*) pointers in their oo1 API counterparts, optionally with or without taking over ownership of the pointer.
by stephan
· 8 days ago
1f68085
Clearer docs for the unowned db/stmt handle mechanism.
by stephan
· 8 days ago
oo1-unowned-handles
c493e45
Correct a one-too-many-exclamation-points bug which caused the opposite of intended semantics in oo1.Stmt.pointer ownership.
by stephan
· 8 days ago
69b5674
Additional header comment documentation in the ext/misc/vtablog.c test extension.
by drh
· 8 days ago
0eca9db
speedtest1: in WASM builds, disable the "app" test set by default because that one set is triggering file-not-found errors for the db file for reasons not yet understood.
by stephan
· 8 days ago
c066f2a
Do not export the numerous Emscripten HEAPxy symbols and remove the last remaining JS code which references them. They have long-since been replaced by internal equivalents and a specific feature check on one of them (which is also no longer needed) is triggering an exception from Emscripten. More details are in [https://github.com/emscripten-core/emscripten/issues/24656 | Emscripten ticket #24656], noting that this is not an Emscripten bug but an Emscripten behavior change brought it to light.
by stephan
· 8 days ago
625d0b7
Improve the accuracy of the ETC on both devtest and releasetest.
by drh
· 9 days ago
45bff0e
Add the estkey column to the jobs table of testrunner.db. The plan is to
by drh
· 9 days ago
07b483c
Minor internal doc correction in vdbeInt.h.
by stephan
· 9 days ago
6fd9469
Minor JS doc tweaks.
by stephan
· 9 days ago
33c2e37
Fix the empty-table optimization on INTERSECT so that it does not try to
by drh
· 10 days ago
2ba5a93
wasm: DB.wrapHandle() no longer accepts a DB object as its first argument, as there's no apparent use case for proxying one DB object with another. Doc improvements for the new code.
by stephan
· 10 days ago
6276637
wasm: add a few tests demonstrating that oo1.Stmt.paramaterCount's new impl does not change visible behaviors. Add the c-pp-filtered files to 'make clean'.
by stephan
· 10 days ago
8663a78
Fix a possible user-after free following OOM in the EXISTS-to-JOIN optimization.
by drh
· 11 days ago
aa12f00
Adjustments to test/incrblob4.test so that it works on both Linux and Mac
by drh
· 11 days ago
9a13a21
New optimizations to detect early when queries return no rows due to
by drh
· 11 days ago
9b91aac
Fix a problem with the fix in [5cb8e342e1].
by dan
· 11 days ago
acd1d93
Fix another problem with running fts5 integrity-check in SQLITE_DEBUG builds, this one causing an assert() failure.
by dan
· 11 days ago
449b345
Enable the EXISTS-to-JOIN optimization if the outer query has no FROM clause.
by drh
· 11 days ago
empty-table-optimizations
9615cf9
If SQLITE_DEBUG is defined, fts5 does extra checks as part of integrity-check. Ensure that errors from these extra checks are only reported if the other, normal, tests all pass. This fixes a test case in fts5corrupt3.test that was failing if SQLITE_DEBUG was defined.
by dan
· 11 days ago
925b790
Fix test case results in FTS5 that were changed error message improvements
by drh
· 11 days ago
7fc6e6a
Only run preupdate-hook tests in incrblob4.test if the preupdate-hook is enabled in the build.
by dan
· 12 days ago
8c8443a
Small performance optimization in the resolver.
by drh
· 12 days ago
44a0367
Merge the latest trunk enhancements and fixes into the empty-table-optimizations branch.
by drh
· 12 days ago
0a5508a
Rework the fix to the problem described by
by drh
· 12 days ago
4fe1ac8
Simplifications to the row-value IN operator logic. Do not let the query
by drh
· 12 days ago
redundant-idx-columns
24d290e
Work around the Emscripten 4.10 regression described in [https://github.com/emscripten-core/emscripten/issues/24656 | Emscripten ticket #24656]. Problem reported off-list by BrickViking.
by stephan
· 12 days ago
8504d37
Avoid invoking the preupdate hook from within sqlite3_blob_write() if the cursor is already invalid.
by dan
· 12 days ago
4aacd1e
Back out the fix at [ba7d5bad32ad6aac] because it does not always work and because
by drh
· 12 days ago
0840460
Fix parser error introduced by [325e547a2195571e]. See
by drh
· 13 days ago
240319d
Remove some dead JS code and some extraneous debug output from test code.
by stephan
· 13 days ago
787f4c3
JS doc additions.
by stephan
· 13 days ago
4d453cc
Experimentally add sqlite3.oo1.DB/Stmt.wrapHandle(), which allow DB/Stmt instances to wrap a (sqlite3*)/(sqlite3_stmt*) optionally with or without taking ownership of it. The intent is to enable mix-and-match use of the C API, the oo1 API, and any other hypothetical API which exposes those pointers. oo1.Stmt.parameterCount is now a property access interceptor like Stmt.columnCount is, but that doesn't change how it's used.
by stephan
· 13 days ago
c701d17
Improvements to the EXPLAIN QUERY PLAN output for EXISTS-to-JOIN.
by drh
· 14 days ago
8bc112e
Enhance the EXISTS-to-JOIN optimization so that it works on EXISTS subqueries
by drh
· 14 days ago
27408ab
Add 'reconfigure' target to Makefile.in to re-run the configure script with the same flags it was generated with.
by stephan
· 2 weeks ago
d9eae6b
Propagate the -ldl and -lpthread flags, if needed, into sqlite3.pc, per request in [forum:44a58c807353162f | forum post 44a58c807353162f].
by stephan
· 2 weeks ago
45bc9b9
Merge fixes from trunk into the empty-table-optimizations branch
by drh
· 2 weeks ago
e33ea17
Fix harmless compiler warnings.
by drh
· 2 weeks ago
a12e92d
Remove an ALWAYS() added by [960a8e6fc91f4] that turns out to be false
by drh
· 2 weeks ago
478dfc7
Do not allow the EXISTS-to-JOIN optimization if the EXISTS clause is based
by drh
· 2 weeks ago
1b62720
Improve the early-termination optimization so that it works in queries
by drh
· 2 weeks ago
1e3a862
Merge the latest trunk fixes and enhancements into the empty-table-optimizations branch
by drh
· 2 weeks ago
bd05edd
Fix a few cases where LIMIT clauses that were part of scalar sub-queries on virtual tables were not being passed to xBestIndex methods correctly.
by dan
· 2 weeks ago
a24a397
Improvements to sqlite3_vtab_rhs_value() logging in the
by drh
· 2 weeks ago
vtab-limit-fixes
0e6e05d
Make the value of an explicit LIMIT clause on a scalar sub-query available to xBestIndex for simple "LIMIT 0" and "LIMIT 1" queries.
by dan
· 2 weeks ago
c525e6e
Make handling of LIMIT clauses in correlated sub-queries on virtual tables more efficient.
by dan
· 2 weeks ago
1ff6f19
Enhancements to the xBestIndex output from the ext/misc/vtablog.c extension.
by drh
· 2 weeks ago
bfb4993
Fix an uninitialized variable added yesterday by [d27d34fb746280e7].
by drh
· 2 weeks ago
debc8f7
Minor tweaks to the exists-to-join optimization.
by drh
· 2 weeks ago
aa54d7a
Merge in the exists-to-join optimization that has been modified
by drh
· 2 weeks ago
eb27359
Fix VDBE coverage
by drh
· 2 weeks ago
33f3273
Early exit if one of the inner loops of a 3-way or larger join is an
by drh
· 2 weeks ago
2166766
If the LHS for an EXCEPT or INTERSECT operator is empty, skip over the
by drh
· 2 weeks ago
6245e5a
Improve the bytecode for joins such that it exits earlier if it determines
by drh
· 2 weeks ago
caf0473
Ensure that Expr.op2 values for TK_AGG_FUNCTION nodes are adjusted when
by drh
· 3 weeks ago
2427ce1
Improved comments on bytecode used to implement aggregate queries, to aid
by drh
· 3 weeks ago
46bfcc1
Improved byte-code comments for the short-circuit optimization of
by drh
· 3 weeks ago
5e71497
Cache and reuse virtual table cursors in the bytecode engine.
by drh
· 3 weeks ago
526399b
Avoid an assert() failure in fts5 that may occur when processing corrupt records.
by dan
· 3 weeks ago
e1910ed
Merge trunk fixes into the empty-table-optimizations branch.
by drh
· 3 weeks ago
d82c6a2
When attempting to optimize "expr AND false" to "false" and
by drh
· 3 weeks ago
3d21dcc
More aggressive optimization of addrHalt for RIGHT JOIN.
by drh
· 3 weeks ago
ba56f70
Compute WhereLevel.addrBrk and .addrHalt early so that those labels can be
by drh
· 3 weeks ago
99f1aa0
Strive to skip the evaluation of scalar subqueries that are part of a
by drh
· 3 weeks ago
1bd6b41
Correct ~/.local/config/... to ~/.config/... when looking for sqliterc when XDG_CONFIG_HOME is not set. Internal doc touchups.
by stephan
· 3 weeks ago
2752d13
Add support for using $XDG_STATE_HOME/sqlite_history or ~/.local/state/sqlite_history before fallback back to the historical default of ~/.sqlite_history. Update sqlite3.1 (man page) with the new semantics.
by stephan
· 3 weeks ago
280559b
For all binary operators, try to avoid computing subquery operands if the
by drh
· 3 weeks ago
optimize-null-values
bbcf035
Preliminary refactoring of the XDG_CONFIG_HOME support to support the pending addition of other XDG-configurable options. In response to [forum:31db1a23f9 | forum post 31db1a23f9].
by stephan
· 3 weeks ago
e2e81e6
Slightly smaller and faster version of the previous check-in.
by drh
· 3 weeks ago
b8c8179
Minor API doc typo fixes from brickviking.
by stephan
· 3 weeks ago
e24f20a
Factor out the code that tries to avoid evaluating subquery operands if the
by drh
· 3 weeks ago
f0991c4
Minor API doc typo fixes from brickviking.
by stephan
· 3 weeks ago
311d73e
Improve the bytecode generated for comparisons so that if one operand is
by drh
· 3 weeks ago
c52e9d9
Raise an error right away if the number of aggregate terms in a query
by drh
· 3 weeks ago
Next »