Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
refs/heads/fiddle-opfs
/
src
7be51f5
Merge trunk into fiddle-opfs as a preliminary step for a clean merge in the other direction.
by stephan
· 3 years ago
fiddle-opfs
47996ea
Add the sqlite3_value_encoding() interface.
by drh
· 3 years ago
c2777ab
Enhance the OP_IsType opcode so that it is slightly smaller and faster and
by drh
· 3 years ago
7d23d15
Improved the ability of the CLI to handle very long input lines.
by drh
· 3 years ago
c9ef12f
Code clean-up for the integrity_check enhancement.
by drh
· 3 years ago
integrity_check_datatypes
db6940a
Fix corner-case bugs in the new integrity_check logic. All tests pass now.
by drh
· 3 years ago
49d77ee
An attempt to enhance PRAGMA integrity check so that it does data type
by drh
· 3 years ago
005c9d8
Improved detection of database corrupting when moving pages on an
by drh
· 3 years ago
d35b558
Refactor os_kv.c so that the kvvfs read/write/delete methods can be swapped out at runtime by JS implementations. This eliminates the kvvfs dependency on Emscripten. Checkin part 1 of 2, to account for cherrypicking.
by stephan
· 3 years ago
211a1a7
When casting an odd-length BLOB into a TEXT with encoding UTF16, omit the
by drh
· 3 years ago
73c586b
Fix a problem causing the seek-scan optimization to skip over valid rows that could occur when it is used with expressions of the form (a IN (?,?..) AND b >= ?). dbsqlfuzz ab1db6dc0efb04cba1cd3431ee6da4894fdc4520.
by dan
· 3 years ago
8a2254f
Improved tracing output for showing all registers used by the
by drh
· 3 years ago
73ac958
Fix a problem that occurred when using a bloom filter to optimize an (ipk = ?) lookup in the case where the RHS of the expression is a TEXT value. First reported by [forum:/forumpost/f61a8b7053|forum post f61a8b7053].
by dan
· 3 years ago
2eca061
Attempt to clarify the operation of the xLock and xUnlock VFS I/O methods.
by drh
· 3 years ago
a4b2f41
Change the name of the autoconf-generated configuration file from "config.h"
by drh
· 3 years ago
4b07469
Omit WAL mode from the wasm build.
by stephan
· 3 years ago
a4c357f
Reimplement fiddle_reset_db() so that it works with all VFSes.
by stephan
· 3 years ago
65e6522
Minor doc typo fix in sqlite.h.in.
by stephan
· 3 years ago
7d34b8d
Performance optimization in sqlite3_prepare() (discovered while working
by drh
· 3 years ago
3278142
Fiddle: fix makefile dependency issue and duplicate inclusion of post-js.js. Reimplement db export using sqlite3_serialize().
by stephan
· 3 years ago
be9d203
Merge trunk into fiddle-opfs branch.
by stephan
· 3 years ago
c9099d2
Tweak sqlite3-worker1.js to be able to load either sqlite3.js or sqlite3-wasmfs.js, noting that the latter still does not load in a Worker because of an Emscripten loader bug.
by stephan
· 3 years ago
7424aef
Replace the Parse.disableVtab field with Parse.prepFlags for increased
by drh
· 3 years ago
7bc6a81
Remove one of the NEVER() macros added by [5166acf3f0040459] because it
by drh
· 3 years ago
2d3261f
Fix a bug in the demoDelete fix from [d76a301e22e05722].
by drh
· 3 years ago
0a803bd
Add NEVER() to two error-detection tests that were made unreachable by
by drh
· 3 years ago
ad658b2
Better handle a case of database corruption where a b-tree page is one of its own ancestor pages.
by dan
· 3 years ago
cb57716
Improvements to the "demoDelete" method in the demovfs, suggested by
by drh
· 3 years ago
5d48e0c
Provide the SQLITE_MAX_ALLOCATION_SIZE compile-time option for limiting the
by drh
· 3 years ago
80cf891
Enhance defensive mode so that it disallows CREATE TRIGGER statements if the
by drh
· 3 years ago
278d3fa
Fiddle: replace db export routine with a C-side one which works for both Emscripten FS-hosted and OPFS-hosted db files. Minor code-adjacent cleanups.
by stephan
· 3 years ago
1f095d4
Get fiddle db export working for OPFS VFS. Add root dir handle to the main OPFS VFS worker to enable creation of certain utility functions without delegating to the async worker. Add sqlite3.capi.sqlite3_wasm_rc_str() to map integer result codes back to their SQLITE_xxx counterparts. Minor doc touchups.
by stephan
· 3 years ago
60d9aa7
Refactoring towards getting fiddle to support OPFS as a first-class citizen. Certain operations, e.g. import, export, and unlink, are not OPFS-aware.
by stephan
· 3 years ago
f333370
Reduced and improved comments on the constraintCompatibleWithOuterJoin()
by drh
· 3 years ago
6502271
shell.c.in: when building in fiddle mode, define _POSIX_SOURCE (ifndef) so that emcc's string.h reveals strdup().
by stephan
· 3 years ago
faaacd3
Break out the decision of whether or not a constraint term is usable by
by drh
· 3 years ago
flattener-omit-restriction-29
0f51aa3
Do not allow EP_InnerON terms to be used on a outer join.
by drh
· 3 years ago
8b9a3d1
Modify the OP_IfNotOpen opcode so that the jump is taken if the cursor is open
by drh
· 3 years ago
5a0771a
Remove code that has been previously commented out.
by drh
· 3 years ago
40c9bec
Is the query flattener restriction 29 (do not allow both EP_InnerON and
by drh
· 3 years ago
c3b6fda
When compiled with SQLITE_OS_KV_OPTIONAL, the magic names ":localStorage:"
by drh
· 3 years ago
kv-vfs-magic-names
b22b493
Clarify comments that describe query flattener restrictions associated with
by drh
· 3 years ago
316cd40
Fix a minor comment typo. No changes to code or documentation.
by drh
· 3 years ago
bcdb4cc
Remove a NEVER macro in defragmentPage() that dbsqlfuzz discovered can be
by drh
· 3 years ago
a50d3b7
Fix an uninitialized variable in the decoder kv-vfs.
by drh
· 3 years ago
20a9ed1
Include the kv-vfs as an optional VFS on unix builds if the
by drh
· 3 years ago
b9fbc55
Merge the latest trunk enhancements into the kv-vfs branch.
by drh
· 3 years ago
756440f
Corrections to the xRead method for databases in the os_kv.c VFS so that it
by drh
· 3 years ago
84e5076
Fix os_kv.c so that it uses SQLITE_FCNTL_SYNC and hence
by drh
· 3 years ago
d22cfa8
Pull the src/os_kv.c part of [13839759f8f4] into the kv-vfs branch.
by stephan
· 3 years ago
5fd8f27
Remove an extraneous key-copy op in the EM_JS impl of kvstorageDelete().
by stephan
· 3 years, 1 month ago
b126ec1
Fix the <sys/time.h> include in os_kv.c.
by drh
· 3 years, 1 month ago
d8bb0b5
Add a gettimeofday()-based implementation of xCurrentTimeInt64() to os_kv.c.
by drh
· 3 years, 1 month ago
bb19512
Fix a debugging/testing edit in the previous check-in.
by drh
· 3 years, 1 month ago
6acd7b0
Faster text decoder for kv_os.c.
by drh
· 3 years, 1 month ago
1ad51ff
Fix uninitialized variable in rollback-journal processing in os_kv.c
by drh
· 3 years, 1 month ago
6b013af
Fix the amalgamation so that it builds with the standard unix backend again.
by drh
· 3 years, 1 month ago
ad5125a
Initial build of kvvfs in wasm. It loads but cannot find the VFS for as-yet-unknown reasons (sqlite3 shell works fine), and most APIs throw "null function or function signature mismatch" from deep within wasm, presumably as a side effect of the "missing" VFS.
by stephan
· 3 years, 1 month ago
c6c9c6a
Improved comments in os_kv.c. Better names for the key/value name spaces.
by drh
· 3 years, 1 month ago
7585f49
Move the vfskv.c extension to src/os_kv.c and make it part of the amalgamation,
by drh
· 3 years, 1 month ago
bdb6368
Fix harmless compiler warning seen with MSVC.
by mistachkin
· 3 years, 1 month ago
b53e099
Enhance an assert() to impose for tighter constraints on the operation of pcache.
by drh
· 3 years, 1 month ago
8c983dd
An improved technique for ensuring that the Rekey() operation does not
by drh
· 3 years, 1 month ago
6e440ab
Fix the windows build so that it works with -DSQLITE_OMIT_AUTOINIT.
by drh
· 3 years, 1 month ago
ad617b4
Ensure the Pager.journalOff variable is zeroed if an error occurs while writing the initial header to the journal file.
by dan
· 3 years, 1 month ago
173b418
Fix an assert() associated with the dbsqlfuzz error at [8372468bb5d8922c].
by drh
· 3 years, 1 month ago
5fc3a8a
If sqlite3PcacheMove() really performs a swap, then be sure to renumber the
by drh
· 3 years, 1 month ago
4e9bf5a
Enhance the pcache1 implementation so that during an xRekey operation if
by drh
· 3 years, 1 month ago
e04c9f4
Mutex protect access to the sqlite3_test_directory and sqlite3_data_directory
by drh
· 3 years, 1 month ago
fee6431
Improved mutex protection of the sqlite3_temp_directory and
by drh
· 3 years, 1 month ago
tempdir-mutex
18a3a48
Experimental changes to put sqlite3_temp_directory behind a mutex.
by drh
· 3 years, 1 month ago
4413224
Defer deleting a transient SELECT statement associated with a flattening
by drh
· 3 years, 1 month ago
a3fc683
In the query planner, add a heuristic that will reduce the cost of a full
by drh
· 3 years, 1 month ago
9c3a114
Enhance the b-tree page sorting code to ensure that sqlite3PagerRekey() never
by drh
· 3 years, 1 month ago
78d15f0
Improved comments in pcache1.c. No changes to code.
by drh
· 3 years, 1 month ago
4d28830
Any function call can abort. Take this into account when deciding if a DML
by drh
· 3 years, 1 month ago
f0f025b
More assert() statements in the page cache.
by drh
· 3 years, 1 month ago
f6e3e31
Ensure that every pcache page always has either the PGHDR_DIRTY or the
by drh
· 3 years, 1 month ago
aa07b36
Remove a NEVER() macro for a condition that is actually reachable following an OOM. dbsqlfuzz crash-6ef3cd3b18ccc5de86120950a0498641acd90a33.txt.
by dan
· 3 years, 1 month ago
7383f5a
Add a mutex to the sqlite3_db_config() interface so that it is threadsafe
by drh
· 3 years, 1 month ago
2ce2b77
Fix an inefficiency in the ".dump" command when outputing large blob literals.
by dan
· 3 years, 1 month ago
e5928b1
Change the names of the Vdbe.pVNext and Vdbe.ppVPrev fields to make them
by drh
· 3 years, 1 month ago
35908b1
Enhance assert() statements to enforce tighter bounds on the P5 operand of
by drh
· 3 years, 1 month ago
376860b
Performance enhancement for sqlite3DbFree().
by drh
· 3 years, 1 month ago
41ce47c
Add the new internal interface sqlite3DbNNFreeNN(db,ptr) where both the
by drh
· 3 years, 1 month ago
00378fd
Enhance the enforcement of SQLITE_VTAB_DIRECTONLY so that it applies to
by drh
· 3 years, 1 month ago
78ed74e
In the ".dump" command of the CLI, if a schema statement ends with an
by drh
· 3 years, 1 month ago
16b03c0
Enhance the "PRAGMA integrity_check" statement so that it verifies the rows of
by drh
· 3 years, 1 month ago
0348fc7
Minor code simplification in the code generator for PRAGMA integrity check.
by drh
· 3 years, 1 month ago
a8771a1
Change the legacy RC4-based PRNG to use the RFC-7539 chacha20 algorithm.
by drh
· 3 years, 1 month ago
cd05aaf
Fix obsolete comments. Add new comments. Fix non-standard spacing.
by drh
· 3 years, 1 month ago
chacha20-prng
534945a
Fix an off-by-one error in the ChaCha20 initialization code.
by drh
· 3 years, 1 month ago
2756f80
Add assert() statements to verify that the SQLITE_OPEN_EXCLUSIVE flag is always passed to the VFS when opening a temporary file.
by dan
· 3 years, 1 month ago
9113c87
Replace the RC4-based PRNG with one based on ChaCha20. 3x faster.
by drh
· 3 years, 2 months ago
9c5e1e4
In the documentation emphasize that the use of shared cache is discouraged.
by drh
· 3 years, 2 months ago
087f143
Add the (undocumented) SQLITE_DEFAULT_UNIX_VFS compile-time option.
by drh
· 3 years, 2 months ago
f0d12d8
Fix another harmless comment typo that causes a typo in the documentation.
by drh
· 3 years, 2 months ago
778d334
Remove (harmless) duplicate words in comments used to generate parts of the
by drh
· 3 years, 2 months ago
626bcc8
Allow the name of an index to collide with a table in a different schema.
by drh
· 3 years, 2 months ago
c8e9f68
Omit the (undocumented) SQLITE_PCACHE_SEPARATE_HEADER compile-time option.
by drh
· 3 years, 2 months ago
Next »