Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
refs/heads/jsonb-patch
/
src
ec1f59f
All legacy tests are passing.
by drh
· 1 year, 10 months ago
jsonb-patch
5026ddb
The json_patch() code for JSONB compiles and works sometimes, but there are
by drh
· 1 year, 10 months ago
f46f89d
More aggressive use of jsonBlobEdit(). Improvements to the MergePatch
by drh
· 1 year, 10 months ago
eb04a0b
Add untested (#ifdefed-out) code for the MergePatch algorithm against JSONB.
by drh
· 1 year, 10 months ago
8a3034a
Enhance the (SQLITE_DEBUG-only) json_parse() routine so that it shows a
by drh
· 1 year, 10 months ago
821a4c9
Give the json_valid() function an optional second argument that determines
by drh
· 1 year, 10 months ago
b4e5bc6
All tests passing.
by drh
· 1 year, 10 months ago
jsonb-tree
15c0b03
Fix corner-case error conditions.
by drh
· 1 year, 10 months ago
50b3783
Same results as the legacy JsonNode implementation on a small set of test cases.
by drh
· 1 year, 10 months ago
e09a38c
Remove unused elements from the json_tree() cursor.
by drh
· 1 year, 10 months ago
796abda
Remove the vestigal JsonNode logic from json_tree() and json_each().
by drh
· 1 year, 10 months ago
aea2d23
Almost working. Path is still not exactly right when Root is defined on
by drh
· 1 year, 10 months ago
c247410
Generate the fullkey and path columns of json_tree().
by drh
· 1 year, 10 months ago
b7d5cb7
Handle the path argument to json_tree() and json_each().
by drh
· 1 year, 10 months ago
5e6500c
Continuing work on json_tree() against a JSONB.
by drh
· 1 year, 10 months ago
abbdbdf
Incremental progress toward getting json_each() and json_tree() to work
by drh
· 1 year, 10 months ago
ab70266
Fix jsonParseReset() to properly clear the JsonParse.aBlob element.
by drh
· 1 year, 10 months ago
ac8b6e7
Merge the latest trunk enhancements and fixes into the jsonb branch.
by drh
· 1 year, 10 months ago
77044f3
CLI .output/.once to not redirect ".timer on" results.
by larrybr
· 1 year, 10 months ago
a328c42
Minor doc fix in src/betreeInt.h, prompted by an email report. No code changes.
by stephan
· 1 year, 10 months ago
cf72606
Inserts invalid JSONB should return "malformed JSON", not a json path error.
by drh
· 1 year, 10 months ago
27fea97
Direct editing of JSONB using json_insert() and json_set().
by drh
· 1 year, 10 months ago
e1df37b
Correct blob-to-text rendering in some corner cases.
by drh
· 1 year, 10 months ago
d9f3d6d
Merge console I/O changes for Windows CLI.
by larrybr
· 1 year, 10 months ago
664fe31
Fix the translation of JSON5 numeric values from BLOB into text.
by drh
· 1 year, 10 months ago
e97f295
Merge all recent trunk fixes and enhancements into the jsonb branch.
by drh
· 1 year, 10 months ago
8a4ceca
Make edits directly to the JSONB BLOB when the input to json_replace()
by drh
· 1 year, 10 months ago
e788255
Sync w/trunk as pre-merge-to-trunk sanity check.
by larrybr
· 1 year, 10 months ago
4f77a27
Back out an incorrect change to the sqlite3ExprCompareSkip() function that
by drh
· 1 year, 10 months ago
0fcaf16
Convert an assert in OP_VCheck into a branch that aborts the opcode, as this
by drh
· 1 year, 10 months ago
73e3e0c
Correct conditional compilation issue seen with MSVC in the Win32 mutex subsystem.
by mistachkin
· 1 year, 11 months ago
046a7f9
When ENABLE_SETLK is defined, avoid ever blocking on the lock mutex in os_unix.c when requesting an exclusive lock.
by dan
· 1 year, 11 months ago
b8688e1
Another assertion fault fix, similar to [a9443dbfbe25e588]. dbsqlfuzz
by drh
· 1 year, 11 months ago
11c512d
When SQLITE_ENABLE_SETLK_TIMEOUT is defined, use a separate mutex in os_unix.c for each shm locking slot.
by dan
· 1 year, 11 months ago
003d419
Add an assert() to prove the sqlite3_prepare() always either returns
by drh
· 1 year, 11 months ago
735e7ee
When SQLITE_ENABLE_SETLK_TIMEOUT is defined, use a separate mutex in os_unix.c for each shm locking slot.
by dan
· 1 year, 11 months ago
unix-setlk-timeout-mutexes
e416251
Merge the latest trunk enhancements and fixes into the jsonb branch.
by drh
· 1 year, 11 months ago
f2bb6ab
Fix harmless compiler warnings in debugging code.
by drh
· 1 year, 11 months ago
c15133e
Fix an incorrect assert() associated with ALTER TABLE where an unknown
by drh
· 1 year, 11 months ago
e1edecf
Simplify and make more rational how console I/O package features are selected. (Motivated by Fiddle and other command-line utilities to soon use the package.) No substantive code-execution changes.
by larrybr
· 1 year, 11 months ago
11e8242
Both json_remove() jsonb_remove() work on pure JSONB as long as the input
by drh
· 1 year, 11 months ago
91c8e65
Changes so that if SQLITE_ENABLE_SETLK_TIMEOUT is defined as 2 instead of 1, all blocking locks are taken for a single millisecond and the default busy-handler invoked as normal.
by dan
· 1 year, 11 months ago
af0c9ff
The jsonb_remove() routine now appears to be working.
by drh
· 1 year, 11 months ago
jsonb-remove
0399994
Work toward getting jsonb_remove() to work directly on JSONB blobs.
by drh
· 1 year, 11 months ago
9eb7694
Improvements to the description of sqlite3_errmsg() and sqlite3_errstr().
by drh
· 1 year, 11 months ago
fb57c8a
Merge all the latest enhancements and fixes from trunk into the jsonb branch.
by drh
· 1 year, 11 months ago
7df0446
Add NEVER() to a branch made unreachable by [6f9eed826f5b3d1c].
by drh
· 1 year, 11 months ago
d928e78
Fix another obscure problem with nested aggregates. dbsqlfuzz 04408efc51.
by dan
· 1 year, 11 months ago
34ccd18
Extra PRAGMA vdbe_addoptrace output showing when OP_Column gets translated
by drh
· 1 year, 11 months ago
5ed4ba0
Cure many warnings from gcc, clang and CL.exe.
by larrybr
· 1 year, 11 months ago
41d4b7b
Fix var-intro after executable code departure from old C.
by larrybr
· 1 year, 11 months ago
c270dad
Slight cleanup of length-limited strpbrk() replacement, and eliminate strpbrk() call.
by larrybr
· 1 year, 11 months ago
14a0873
Enhance console_io to permit emits limited in various ways, such as valid UTF-8, upto control chars, or with counted limits, all getting away from 0-termination as the sole limit. In CLI, use this capability to avoid certain emit-chars-singly procedures that were breaking up UTF-8 characters. This fixes broken json mode output (on Windows) and (maybe) C-literal-like emits.
by larrybr
· 1 year, 11 months ago
782c9f2
Use setOutputStream() to designate implicit output for oput{z,f}() emit functions, and use them extensively.
by larrybr
· 1 year, 11 months ago
cc2b3c2
Write BOM without fwrite(), using sputz() so that if it goes to the console, it is translated "properly".
by larrybr
· 1 year, 11 months ago
1bcb7c4
Complete shell transition to using {f,o,e}put{f,z}() emit functions. This fails test 13.1 in json501.test, but so does trunk in the same way.
by larrybr
· 1 year, 11 months ago
1229f8e
Pervasive changes to console_io.{c,h} in support of simplifying ubiquitous emit ops in shell, and to get better control of console streams that might be opened only via .read or .output commands. Changes to shell to use {s,o,e}put{f,z}(...) calls for initial testing, but this check-in has few such conversions so that most will be in a separate check-in. Many renames to better follow recent coding convention. This code seems to be working, but has not been tested on difficult platforms or with multiple console hosts yet. So it is a WIP.
by larrybr
· 1 year, 11 months ago
fb28a93
Fix another problem with mixed join types and the RIGHT JOIN strength-reduction optimization. [forum:/forumpost/befdab472d | Forum post befdab472d].
by dan
· 1 year, 11 months ago
88dcfe5
Additional debugging information on the tree-dump of the BETWEEN operator.
by drh
· 1 year, 11 months ago
10c815a
Remove an incorrect ALWAYS() that was inserted yesterday [1e039b6eb59c0001].
by drh
· 1 year, 11 months ago
e8d4fd5
Merge recent trunk enhancements and fixes into the jsonb branch.
by drh
· 1 year, 11 months ago
5a81e6e
Ensure 8-byte alignment of data structues in sqlite3_database_file_object().
by drh
· 1 year, 11 months ago
5338113
Remove a NEVER() from whereAddIndexedExpr() that is reachable if there
by drh
· 1 year, 11 months ago
0eed27d
Fix an obscure problem with the join-strength-reduction optimization that could occur when mixing LEFT and RIGHT joins in the same query. [forum:/forumpost/7f74ce0bee|Forum post 7f74ce0bee].
by dan
· 1 year, 11 months ago
3839dcf
Add the SQLITE_RESULT_SUBTYPE flag for application-defined functions. Add
by drh
· 1 year, 11 months ago
2009a5a
Fix compilation issue seen with MSVC.
by mistachkin
· 1 year, 11 months ago
beb06e6
Put an ALWAYS on an true branch.
by drh
· 1 year, 11 months ago
cb1f190
Futher documentation refinements.
by drh
· 1 year, 11 months ago
b10c3d3
Fixes: (1) In the ->> function, instead of setting a subtype and clearing it,
by drh
· 1 year, 11 months ago
6eb381f
Add the SQLITE_STRICT_SUBTYPE compile-time option. This change reveals that
by drh
· 1 year, 11 months ago
b18bb82
Do not replace expressions that return subtypes with values taken from an index.
by drh
· 1 year, 11 months ago
194b8d5
Omit the new SQLITE_VALUE_SUBTYPE name. Stay with legacy SQLTIE_SUBTYPE.
by drh
· 1 year, 11 months ago
c060b5f
JSON5 bug fix: Escape double-quotes that occur inside of single-quoted strings.
by drh
· 1 year, 11 months ago
243f2ec
Make a distinction between functions that consume subtypes and functions
by drh
· 1 year, 11 months ago
2cbe140
Do not cover expressions using an indexed expression if the indexed expression
by drh
· 1 year, 11 months ago
idx-expr-fix
a4cf38c
Merge recent trunk enhancements into the jsonb branch, and especially the
by drh
· 1 year, 11 months ago
b494366
More precise characterization of JSON functions. Indicate when functions might
by drh
· 1 year, 11 months ago
6234b33
Have the shell tool emit a warning if the user attempts to use ".scanstats vm" in a non-SQLITE_ENABLE_BYTECODE_VTAB build.
by dan
· 1 year, 11 months ago
0ad5301
Avoid blocking as part of passive checkpoint operations, even if SQLITE_ENABLE_SETLK_TIMEOUT is defined.
by dan
· 1 year, 11 months ago
c78d3b5
Suppress harmless UBSAN warnings about memory overflow in OP_AddImm. The
by drh
· 1 year, 11 months ago
ec8f893
Changes a no-op call to freeP4() into an assert().
by drh
· 1 year, 11 months ago
275234e
Fix an assert() that could fail within calls to sqlite3_snapshot_open() in SQLITE_ENABLE_SETLK_TIMEOUT builds.
by dan
· 1 year, 11 months ago
73f0327
Refactor MBCS/UTF-8 translation to avoid extra allocations, supporting non-formatted (faster) output. Some code cleanup. Wrap .system/.shell command exection with restoration of startup console mode and renewing mode setup. Changes to make legacy MBCS build work better (than legacy did, even with --no-utf8.)
by larrybr
· 1 year, 11 months ago
17a3295
Update the documentation to the sqlite3_set_auxdata() and sqlite3_get_auxdata()
by drh
· 1 year, 11 months ago
4c78cb5
Get dependencies into make recipes. Get legacy console I/O (-DSHELL_LEGACY_CONSOLE_IO) working. Due to movement of MBCS/UTF-8 translation into traditional stream I/O simulacra, the input translation does not happen the same way. (It works the same, but fails differently and a bit better.) Added printf() and fputs() look-alikes, and made CLI use them.
by larrybr
· 1 year, 11 months ago
d004638
Move console_io lib to its own subdirectory, etc/consio .
by larrybr
· 1 year, 11 months ago
eb1898d
Some renaming, warnings cured, and more coding convention conformance.
by larrybr
· 1 year, 11 months ago
56fba47
Add an fputs() equivalent to console I/O lib, and use in CLI.
by larrybr
· 1 year, 11 months ago
e3a6a60
Cause CLI to use console_io library.
by larrybr
· 1 year, 11 months ago
a0cd392
Make MSVC accept it, too. (Cannot use static const int as part of a constant expression?)
by larrybr
· 1 year, 11 months ago
8dd4697
Make it buildable. Pull test program from testee. Zap stray fprintf().
by larrybr
· 1 year, 11 months ago
ff39634
Input working. No line-editor provisions yet. (WIP, but suitable for testing.)
by larrybr
· 1 year, 11 months ago
557297a
Setup, takedown, mode set and output working. No input yet. (WIP)
by larrybr
· 1 year, 11 months ago
d4677f1
Ensure that the YYYY-MM-DD input to date and time functions has been normalized
by drh
· 1 year, 11 months ago
a501791
Define interface between project command-line apps and a console I/O "library".
by larrybr
· 1 year, 11 months ago
5189ef9
Back out the ALWAYS inserted late yesterday. The fuzzer discovered a
by drh
· 1 year, 11 months ago
7b5123c
Enhance the JSONB lookup routine with logic to apply edits. The new logic is
by drh
· 1 year, 11 months ago
24f7f59
Merge all the latest trunk fixes and enhancements into the jsonb branch.
by drh
· 1 year, 11 months ago
dcd6d21
Mark a branch made always-true by the penultimate check-in with ALWAYS().
by drh
· 1 year, 11 months ago
792103a
In the previous check-in, use a u32 instead of an int, to make it easier to
by drh
· 1 year, 11 months ago
Next »