repo.or.cz
/
sqlite.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
If a term of an ORDER BY or GROUP BY contains an aggregate function or column,
2023-12-19
D
.
Richard
Hipp
Test cas
e
for th
e
previous c
h
eck-in
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richard
Hi
p
p
When u
n
able to resolve an identifier, change t
h
e Expr
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richard
Hipp
Al
w
ays make th
e
sqlite
_
dbdata virtual table avail
a
b
l
e
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Rich
a
rd Hipp
Extra ALW
A
Y
S() macros to verify state in the sqlite3ExprCanB
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richard Hipp
Remove a stray comment
i
n the JSON cod
e
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
R
i
chard Hipp
New J
S
ON in
v
ariant
test ca
s
es
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Ri
c
h
a
rd Hip
p
Ad
d
NEVER() to a
n
unfalsifiable
b
ranch
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Richard
Hipp
Fix J
S
ON to JSONB transl
a
tion so that
i
t deals correctl
y
.
.
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Ric
h
a
r
d Hipp
Ensure that the
i
ns
e
r
t/delete size delta
o
n JSO
N
B o
b
jects
.
.
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Richard Hip
p
Add ra
n
do
m
js
o
n
.
c to tes
t
fixture
.
Use it for
a
n
e
w
.
.
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
R
i
chard H
i
pp
Ensure that
a
ll object labels for individual object
s
.
.
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Richard Hipp
Bug fix in the ran
d
omjson
.
c extension
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
R
i
c
hard Hipp
E
n
h
ance
m
ents to ext/misc/r
a
ndomjson
.
c
.
commit
|
commitdiff
|
tree
2023-12-17
D
.
Richard
H
i
pp
Enhancements to th
e
"randomjs
o
n
.
c" extension
.
Autom
a
t
ically
.
.
.
commit
|
commitdiff
|
tree
2023-12-16
D
.
Richard H
i
pp
Enable
SQLI
T
E_STRICT_SUBTYPE
f
or d
e
faul
t
buil
d
s o
f
.
.
.
commit
|
commitdiff
|
tree
2023-12-16
D
.
Ri
c
h
a
rd Hipp
N
e
w t
e
st
c
ase based
o
n C
h
rom
i
um bug re
p
ort 15116
8
9
.
commit
|
commitdiff
|
tree
2023-12-15
D
.
Ri
c
ha
r
d Hipp
In the count-of-view
o
ptimi
z
a
t
i
o
n, def
e
r
r
ing
f
reeing
.
.
.
commit
|
commitdiff
|
tree
2023-12-15
D
.
R
ichard
H
ip
p
Add
m
en
t
ion of --buildonly and --dryrun
to
t
he testrunner
.
.
.
commit
|
commitdiff
|
tree
2023-12-15
D
.
Richard Hipp
Fix a
n
ew JSO
N
test case so th
a
t i
t
works even if SQLITE_OMI
.
.
.
commit
|
commitdiff
|
tree
2023-12-14
D
.
Rich
a
rd Hipp
Add assert()s t
o
FTS5
to fix stat
i
c analyzer w
a
rnings
.
commit
|
commitdiff
|
tree
2023-12-14
D
.
Richard H
i
pp
Fix harmless comp
i
ler w
a
rni
n
gs in JSON
and FTS
5
.
commit
|
commitdiff
|
tree
2023-12-14
D
.
Richard
Hi
p
p
Enhance aggreg
a
te ord
e
r-by so that it tr
a
nsmi
t
s subt
y
pe
.
.
.
commit
|
commitdiff
|
tree
2023-12-14
D
.
Richard
Hipp
Pass
s
ubtype
i
nformation th
r
ough the agg
r
egate ORDER
.
.
.
commit
|
commitdiff
|
tree
2023-12-13
D
.
Richard Hipp
A
v
oid invoking s
q
lit
e
3Ex
p
r
C
olUsage()
o
n an unreso
l
ve
.
.
.
commit
|
commitdiff
|
tree
2023-12-13
D
.
R
ichard Hipp
Bug fix in the JSONB v
a
lidato
r
.
commit
|
commitdiff
|
tree
2023-12-13
D
.
Richard Hipp
Improvements
to UTF8
ha
n
dling, and espe
c
ial
l
y the
handling
.
.
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
Richard
H
ipp
Fix the JSON objec
t
l
abe
l
comparison objec
t
so that
.
.
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
Ri
c
ha
r
d
H
ipp
The j
s
on_valid(*
,
8) fun
c
tio
n
does a much b
e
tte
r
c
h
eck
.
.
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
Richard H
i
pp
Add
NEV
E
R to two unrea
c
ha
b
le branch
e
s
in JSO
N
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
R
ic
h
ard Hipp
Impr
o
vements to JSONB validatio
n
-
cat
c
h
mo
r
e cases
.
.
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
R
ichard Hipp
Validity checki
n
g
o
f
text
n
odes in JSONB
.
commit
|
commitdiff
|
tree
2023-12-11
D
.
R
i
c
hard
Hipp
T
h
e
j
son_err
o
r
_position() function now report
s
an appro
x
i
m
at
.
.
.
commit
|
commitdiff
|
tree
2023-12-11
D
.
Richard Hipp
json_er
r
or_position
(
) now uses
j
sonVa
l
id
i
tyC
h
eck(
)
.
.
.
commit
|
commitdiff
|
tree
2023-12-11
D
.
Ric
h
ard Hipp
json_valid(*,8) allows minus-si
g
ns
o
n h
e
x
adecimal
l
i
t
e
rals
.
commit
|
commitdiff
|
tree
2023-12-11
D
.
Rich
a
rd Hipp
Activate JSON_
S
ELFCHECK within fuz
z
c
h
e
c
k
.
commit
|
commitdiff
|
tree
2023-12-11
D
.
Ric
h
ard Hipp
R
ename t
h
e
n
ew
test-control to SQLITE_TEST
C
TRL_JSON
_
SELFCHEC
.
.
.
commit
|
commitdiff
|
tree
2023-12-11
D
.
R
ich
a
rd H
i
pp
Add SQLITE_TE
S
T
CTRL_V
A
LIDATE
_
JSONB,
which
i
f
ena
b
l
ed
.
.
.
commit
|
commitdiff
|
tree
2023-12-11
D
.
R
i
chard
H
ipp
W
ork toward enh
a
n
c
ed functionality
for json_valid(
.
.
.
commit
|
commitdiff
|
tree
2023-12-11
D
.
Richard H
i
pp
Fix
a
pot
e
ntial use of uni
n
i
t
i
alized value
in js
o
n_valid
.
.
.
commit
|
commitdiff
|
tree
2023-12-08
D
.
Richard Hi
p
p
Fix a harmless UBSA
N
warning
.
commit
|
commitdiff
|
tree
2023-12-08
D
.
R
i
char
d
Hipp
Fix a
potential
p
roblem RCStr acc
e
ss on
a JsonStr
i
ng
.
.
.
commit
|
commitdiff
|
tree
2023-12-08
D
.
Richard Hipp
Fix a harml
e
ss compiler warning about "conf
u
sing indentati
o
n"
.
commit
|
commitdiff
|
tree
2023-12-07
D
.
Ri
c
har
d
Hi
p
p
R
ework the
j
s
onEachPa
t
hL
e
ngth() rout
i
n
e
in json_tree
.
.
.
commit
|
commitdiff
|
tree
2023-12-07
D
.
Richa
r
d Hipp
Add ALWAYS
(
) o
n
bran
c
hes
add
e
d in
[
e
c0ae4030
9
68c7
8
2
.
.
.
commit
|
commitdiff
|
tree
2023-12-07
D
.
Richard Hipp
Impr
o
ved
detect
i
on o
f
cor
r
upt JSONB in
the js
o
nReturnFromBlo
.
.
.
commit
|
commitdiff
|
tree
2023-12-06
D
.
Richard Hipp
Work around LLVM's newfound hatred of fu
n
c
t
io
n
poin
t
e
r
.
.
.
commit
|
commitdiff
|
tree
2023-12-06
D
.
Richard Hipp
Do correct comp
a
riso
n
s between object labels
in JSON
.
.
.
commit
|
commitdiff
|
tree
2023-12-06
D
.
Richard Hi
p
p
Correc
t
ly h
a
n
dl
e
8-byte
siz
e
s i
n
the JSO
N
B format
.
commit
|
commitdiff
|
tree
2023-12-06
D
.
Richard Hip
p
Fix the
r
outine that determi
n
es the json_tree
.
pat
h
.
.
.
commit
|
commitdiff
|
tree
2023-12-06
D
.
Richar
d
Hipp
Tes
t
c
a
ses for obje
c
t label
matchi
n
g with
e
s
c
ape sequences
.
commit
|
commitdiff
|
tree
2023-12-06
D
.
Ri
c
h
a
rd
H
ipp
The
r
ul
e
for the R
H
S of the
-
>
> an
d
-> operato
r
s w
h
e
n
.
.
.
commit
|
commitdiff
|
tree
2023-12-06
D
.
Richard Hipp
Increased rigor in comparis
o
ns between
o
bject labels
.
.
.
commit
|
commitdiff
|
tree
2023-12-05
D
.
Ric
h
a
r
d
Hip
p
Rework the JSON functions so that
th
e
y
use th
e
JSONB
.
.
.
commit
|
commitdiff
|
tree
2023-12-05
D
.
Ri
c
h
ard
Hipp
Use extra assert() statement
t
o
silence ha
r
m
le
s
s sta
t
ic
.
.
.
commit
|
commitdiff
|
tree
2023-12-05
D
.
Richa
r
d Hipp
M
i
s
cellaneous
c
ommen
t
cle
a
n
up and typo fixes
.
commit
|
commitdiff
|
tree
2023-12-05
D
.
Richard Hipp
U
se
str
s
pn
(
)
to accelera
t
e whitesp
a
c
e bypass in the
.
.
.
commit
|
commitdiff
|
tree
2023-12-05
D
.
R
i
chard Hipp
Small
p
e
rf
o
rmance ga
i
n by
unwin
d
ing
t
he st
r
i
n
g
literal
.
.
.
commit
|
commitdiff
|
tree
2023-12-05
D
.
Rich
a
rd H
i
pp
Clea
n
u
p the JSONB per
f
ormance test s
c
ript
.
commit
|
commitdiff
|
tree
2023-12-05
D
.
Ric
h
ard
H
i
p
p
Use an assert() to fix a h
a
r
m
less static
analy
z
er warning
.
commit
|
commitdiff
|
tree
2023-12-05
D
.
Ric
h
ard Hipp
Fix
O
O
M and cor
r
upt JSON
B
handling in j
s
o
n
_patch()
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
Richard Hipp
R
enam
e
the
internal routine jso
n
MergePat
c
hBlob()
t
o
.
.
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
Richard Hipp
F
i
xe
s
to error
h
andling in json_array_length()
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
Richar
d
H
i
pp
Do not make th
e
i
nput
JSONB editable in json_remove
.
.
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
Richard H
i
pp
F
i
x errors in rende
r
ing JSON5 escape sequenc
e
s embedded
.
.
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
R
ich
a
rd
H
ipp
Co
n
tinu
i
ng s
i
mplifi
c
a
t
i
ons and code cl
e
anu
p
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
R
ich
a
rd
Hi
p
p
Remove reachable AL
W
A
YS and NEVER mac
r
os
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
R
i
chard Hipp
Two new NEVER
macros
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
Richa
r
d
H
ipp
Repair issues and i
n
e
ffic
i
e
n
c
ies found during
t
e
sting
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
R
ichard Hi
p
p
B
e
tt
e
r pre-scan
s
ize
e
stimations for objects in the
.
.
.
commit
|
commitdiff
|
tree
2023-12-04
D
.
R
i
ch
a
rd Hip
p
Back off
o
n the
u
se of strlen() for situat
i
ons where
.
.
.
commit
|
commitdiff
|
tree
2023-12-03
D
.
R
i
chard Hipp
Remove dead code
.
Impro
v
e
d repo
r
ting of error
s
in
.
.
.
commit
|
commitdiff
|
tree
2023-12-03
D
.
Ric
h
ard
H
ipp
Avoid pro
b
lems wh
e
n the path arg
u
ment t
o
json_tree
.
.
.
commit
|
commitdiff
|
tree
2023-12-03
D
.
Richard H
i
pp
Ensur
e
that OOM co
n
ditions in the generation of the
.
.
.
commit
|
commitdiff
|
tree
2023-12-03
D
.
Richard
H
ipp
Enable
i
n
c
orrect JS
O
NB t
o
be rendere
d
into text
w
ithout
.
.
.
commit
|
commitdiff
|
tree
2023-12-03
D
.
Richard Hipp
Do not let bad hexadec
i
mal digits in
m
alformed JS
O
NB
.
.
.
commit
|
commitdiff
|
tree
2023-12-03
D
.
Ric
h
ard Hipp
Minor
code c
h
anges for
consistency and to simplify
.
.
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richard Hipp
Imple
m
ent stri
c
t JSONB checking in the
j
so
n
_valid(
.
.
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richard Hipp
Fix harmless compi
l
er
w
ar
n
in
g
s
r
e
port
e
d
by
M
SV
C
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Ric
h
a
rd H
i
pp
Code
and commen
t
cl
e
anup
.
Everything sh
o
uld work
t
he
.
.
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richa
r
d Hi
p
p
F
i
x harmles
s
c
om
p
i
l
er war
n
ings
.
Refactor some i
d
entifier
.
.
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richa
r
d H
i
pp
Ta
k
e extra care to
en
s
u
re t
h
at J
S
ONB values that ar
e
.
.
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
R
i
chard
H
ipp
Prot
e
ct a memc
p
y()
against O
O
M
con
d
itions
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richard Hipp
Do not a
l
low a JsonParse
o
bje
c
t to be considere
d
"edi
t
a
b
le
.
.
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richard H
i
pp
Fix potential unsigned integ
e
r
underf
l
ow in jsonAppendStr
i
ng()
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
R
i
c
hard Hipp
Minor fi
x
to the
h
ead
e
r comm
e
nt on jsonXlateTextToBlob()
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
R
ichard Hipp
Perf
o
rmance optimization in jsonAppendString()
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richard
H
ipp
Simplification and optimi
z
atio
n
of the J
S
ON parse
r
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richard Hipp
R
e
move a
NEVER
t
hat can be true if a virtual table
.
.
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Rich
a
rd Hipp
U
n
r
ol
l
a
l
oop
i
n the p
a
r
ser for a performance
i
ncrease
.
commit
|
commitdiff
|
tree
2023-12-02
D
.
Richar
d
Hipp
Fi
x
h
armless compile
r
warnings and en
h
a
nce
p
e
rf
o
r
mance
.
.
.
commit
|
commitdiff
|
tree
2023-12-01
D
.
Richard Hipp
Pe
r
f
o
rmance optimization in the JSON par
s
er
.
commit
|
commitdiff
|
tree
2023-12-01
D
.
R
ichard Hipp
J
S
ON
c
a
che is now more effective
.
commit
|
commitdiff
|
tree
2023-12-01
D
.
R
i
chard Hipp
Fix up the JSON cache
to
work better
.
commit
|
commitdiff
|
tree
2023-12-01
D
.
Ri
c
har
d
Hipp
C
ache is working better,
b
u
t does no
t
pr
e
serve the
.
.
.
commit
|
commitdiff
|
tree
2023-12-01
D
.
Rich
a
r
d Hipp
First attempt to get the JS
O
N text-
t
o-
b
inary
c
ache
.
.
.
commit
|
commitdiff
|
tree
2023-11-30
D
.
R
ich
a
rd Hi
p
p
Remove a
l
l
trace
o
f
Json
N
ode
f
r
o
m
the JSON implem
e
ntat
i
o
n
.
.
.
commit
|
commitdiff
|
tree
2023-11-30
D
.
Richard Hipp
C
onvert js
o
n
_
v
a
li
d
() over t
o
usi
n
g only JSONB
as its
.
.
.
commit
|
commitdiff
|
tree
2023-11-30
D
.
Richard Hipp
Con
v
e
r
t
j
son_typ
e
(
) t
o
use JSONB inte
r
nally
.
commit
|
commitdiff
|
tree
2023-11-30
D
.
Richa
r
d Hipp
Convert js
o
n_
i
nsert()
,
json_replac
e
()
,
and json_
s
e
t
.
.
.
commit
|
commitdiff
|
tree
2023-11-30
D
.
Ric
h
ard Hipp
Enhance j
s
on_set() and json
_
insert
(
) so that they creat
e
.
.
.
commit
|
commitdiff
|
tree
next