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
Experimental changes that prevent parser stack overflows by growing the
2024-01-26
D
.
Richard Hi
p
p
Experimental chan
g
e
s that preve
n
t parser stack ove
r
flow
s
.
.
.
commit
|
commitdiff
|
tree
2024-01-24
D
.
Richard Hipp
Add N
E
VER()
to a branch
that is no longer reach
a
ble
.
commit
|
commitdiff
|
tree
2024-01-23
D
.
Ric
h
ard Hipp
Slight adjustment to test results for Wind
o
ws in
m
map1
.
.
.
commit
|
commitdiff
|
tree
2024-01-23
D
.
Richard Hipp
I
m
proved
e
r
r
or message
when a do
u
ble-quoted id
e
ntifier
.
.
.
commit
|
commitdiff
|
tree
2024-01-23
D
.
Ric
h
ard Hipp
Whe
n
a JSON input is a b
l
o
b, but it looks like val
i
d
.
.
.
commit
|
commitdiff
|
tree
2024-01-23
D
.
Richard
Hi
p
p
Fix typo in the tag-20240123-a in a comment
.
commit
|
commitdiff
|
tree
2024-01-23
D
.
Richard
Hipp
If a BLOB looks like JSON whe
n
cast
to
text, then tr
e
at
.
.
.
commit
|
commitdiff
|
tree
2024-01-22
D
.
Ric
h
ard Hipp
Simplific
a
tion of the error reporting logic
.
commit
|
commitdiff
|
tree
2024-01-22
D
.
Richard
Hipp
Improved error message whe
n
a doub
l
e-quoted strin
g
.
.
.
commit
|
commitdiff
|
tree
2024-01-22
D
.
Richard Hipp
The -
D
SQL
I
TE_JSON_BLOB_INPUT_BUG_COMP
A
TIBLE
c
omp
i
le
.
.
.
commit
|
commitdiff
|
tree
2024-01-22
D
.
Richard Hipp
Fix userauth so t
h
at it wo
r
ks tog
e
ther wit
h
SQLITE_OMIT
_
S
HAR
.
.
.
commit
|
commitdiff
|
tree
2024-01-22
D
.
R
ichard Hipp
Add
a notice to the
user-au
t
h
e
ntic
a
tion documentation
.
.
.
commit
|
commitdiff
|
tree
2024-01-21
D
.
Rich
a
rd Hipp
Fix a harmless
t
yp
o
in a co
m
me
n
t
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
Richard Hipp
Simplifications to the s
t
r
ftime() logic
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
Richard H
i
pp
F
i
x a memory
l
e
a
k in new memdb1
.
t
est test ca
s
es that
.
.
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
R
i
chard
H
i
p
p
Make sure
t
ha
t
%V an
d
%G
a
re testing for every
s
ince
.
.
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
R
i
char
d
H
i
pp
Rig sq
l
ite3_serialize() so that it will
initialize
.
.
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
R
ichard Hipp
When doing a text-affin
i
ty comp
a
rison
b
etween
two val
u
es
.
.
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
Richar
d
Hip
p
Ens
u
re
t
hat t
h
e replace() SQL fun
c
tion
a
lways returns
.
.
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
R
ich
a
rd
H
ipp
When b
a
cking out a
character in a construct
e
d string
.
.
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
Richard
Hipp
F
i
x t
h
e version n
u
mber
i
n the TEA configure scrip
t
.
.
.
commit
|
commitdiff
|
tree
2024-01-20
D
.
Richard Hipp
Implement a n
e
w
algorithm for
c
o
mputing ISO we
e
k va
l
ues
.
.
.
commit
|
commitdiff
|
tree
2024-01-18
D
.
Richard Hipp
Incr
e
as
e
the version number to 3
.
46
.
0 to b
e
gi
n
t
h
e
.
.
.
commit
|
commitdiff
|
tree
2024-01-18
D
.
Richard
H
ipp
Add suppo
r
t in
t
h
e strftime()
S
QL function for c
o
n
v
ersion
.
.
.
commit
|
commitdiff
|
tree
2024-01-16
D
.
R
i
c
h
ar
d
Hipp
Fix
h
armles
s
"unused parameter" compil
e
r warning in
.
.
.
commit
|
commitdiff
|
tree
2024-01-16
D
.
Ric
h
ard Hipp
Clutter the code wit
h
"fall
-
th
r
ough" comments in order
.
.
.
commit
|
commitdiff
|
tree
2024-01-16
D
.
Richard Hipp
Remove
the LLONG_MAX
p
reproces
s
or macro from
t
he series
.
.
.
commit
|
commitdiff
|
tree
2024-01-15
D
.
Richard Hipp
V
ersion 3
.
45
.
0
commit
|
commitdiff
|
tree
2024-01-11
D
.
Ri
c
h
a
rd Hi
p
p
Fix a commen
t
in sessions
.
No functional
c
hanges
.
commit
|
commitdiff
|
tree
2024-01-09
D
.
Richar
d
Hipp
Pu
t
an SQL
I
TE_ENAB
L
E
_SETLK_TIMEOUT branch inside the
.
.
.
commit
|
commitdiff
|
tree
2024-01-09
D
.
Richar
d
Hipp
Improved resolution of unqualified name
s
i
n the RE
I
N
D
EX
.
.
.
commit
|
commitdiff
|
tree
2024-01-08
D
.
Richard Hip
p
Minor change to os_
u
nix
.
c
to
fac
i
li
t
ate
1
00% MC/DC
.
.
.
commit
|
commitdiff
|
tree
2024-01-07
D
.
R
ichard
H
ipp
R
emo
v
e
an ALWAYS() fr
o
m RTREE
.
Dbsqlfuzz
fo
u
nd a way
.
.
.
commit
|
commitdiff
|
tree
2024-01-07
D
.
Richard Hipp
Upd
a
t
e
s to RT
R
EE to facility testing
.
commit
|
commitdiff
|
tree
2024-01-06
D
.
Rich
a
rd Hipp
U
pdate JSON performance tes
t
i
n
g procedures for c
l
ar
i
ty
.
.
.
commit
|
commitdiff
|
tree
2024-01-04
D
.
Ric
h
ard Hipp
Avoid er
r
ors with
SQLITE_OMIT_VIRTU
A
LTABLE builds
i
n
.
.
.
commit
|
commitdiff
|
tree
2024-01-04
D
.
Ric
h
ar
d
Hipp
Restructure some code
t
o fix what appears
to be a false
.
.
.
commit
|
commitdiff
|
tree
2024-01-03
D
.
Richard H
i
pp
Fi
x
a #if
d
ef
in sqlite3_test_control() that wa
s
p
re
v
ent
i
ng
.
.
.
commit
|
commitdiff
|
tree
2024-01-03
D
.
Richard
H
ipp
Convert the JSON funct
i
o
n
s
t
o
use l
o
okaside m
e
mory
.
.
.
commit
|
commitdiff
|
tree
2024-01-03
D
.
Rich
a
rd Hipp
Chan
g
e
a
c
on
s
tant from decimal to hex to
avoid a co
m
piler
.
.
.
commit
|
commitdiff
|
tree
2024-01-03
D
.
Ri
c
hard Hipp
Enhance
s
q
lit
e
3_analyze
r
.
exe
so that
it uses the ext
.
.
.
commit
|
commitdiff
|
tree
2024-01-03
D
.
Richard Hipp
Upda
t
e
t
h
e
sqldif
f
.
exe
u
tility
p
rog
r
am so
t
hat it uses
.
.
.
commit
|
commitdiff
|
tree
2024-01-02
D
.
Richard Hipp
Back out [b517a52f
a
3
6d
f
0a0] which
i
s
no longer rea
c
hable
.
.
.
commit
|
commitdiff
|
tree
2024-01-02
D
.
Richard Hipp
Adjust the s
q
lite
3
PagerDirectReadOk() routi
n
e (p
a
rt
.
.
.
commit
|
commitdiff
|
tree
2024-01-02
D
.
Richard
H
ipp
Incr
e
ase the
d
ef
a
ult "max_
p
age_count"
t
o its theoretical
.
.
.
commit
|
commitdiff
|
tree
2024-01-01
D
.
Ric
h
ard H
i
p
p
New logic t
o
av
o
id us
i
ng
indexes that ANAL
Y
ZE has identified
.
.
.
commit
|
commitdiff
|
tree
2024-01-01
D
.
Richar
d
Hipp
R
e
move som
e
unneces
s
ary c
o
mput
a
tions fr
o
m
A
NA
L
Y
Z
E so
.
.
.
commit
|
commitdiff
|
tree
2024-01-01
D
.
Ri
c
ha
r
d H
i
pp
Extra s
t
eps taken to avoid using low-quality indexes
.
.
.
commit
|
commitdiff
|
tree
2023-12-28
D
.
R
i
c
h
ard Hipp
Enable SQLI
T
E_
D
IRECT_OVERFLOW_
R
EAD un
l
ess it
i
s
s
pecif
i
cally
.
.
.
commit
|
commitdiff
|
tree
2023-12-28
D
.
R
i
chard
H
ipp
Perfo
r
mance
i
mprovement by u
n
win
d
i
n
g a loop in
j
so
n
AppendStr
.
.
.
commit
|
commitdiff
|
tree
2023-12-28
D
.
Richa
r
d Hipp
Fix harm
l
ess com
p
iler warnings
in FTS5
.
commit
|
commitdiff
|
tree
2023-12-28
D
.
Richard Hipp
Enhance the (
u
ndo
c
u
ment
e
d
,
debug-only) json_parse(
.
.
.
commit
|
commitdiff
|
tree
2023-12-26
D
.
Richar
d
H
i
pp
I
mp
r
oved handling of malf
o
rm
e
d unic
o
de
w
ithin JSON
.
.
.
commit
|
commitdiff
|
tree
2023-12-24
D
.
Ric
h
ard Hipp
Remove an ALWAYS() added in [c50e6c2ace49d092] because
.
.
.
commit
|
commitdiff
|
tree
2023-12-24
D
.
Ri
c
hard Hipp
Fix harmless co
m
piler warnings associ
a
te
d
with [5db30bcc338a
.
.
.
commit
|
commitdiff
|
tree
2023-12-24
D
.
Richard H
i
pp
Avoid signed integer overflow during i
n
tegrity_
c
heck
.
.
.
commit
|
commitdiff
|
tree
2023-12-23
D
.
Richard H
i
pp
Im
p
rovements to
t
he
q
uer
y
planner to address the
ineffic
i
enc
.
.
.
commit
|
commitdiff
|
tree
2023-12-23
D
.
Richa
r
d Hipp
Add de
b
uggin
g
output routines sq
l
ite3ShowWhereLoop
.
.
.
commit
|
commitdiff
|
tree
2023-12-22
D
.
Richard Hipp
C
h
ange parame
t
ers on a
debugging function to incl
u
de
.
.
.
commit
|
commitdiff
|
tree
2023-12-22
D
.
R
i
chard
H
ipp
Add a new comment
t
o debugging output routin
e
sqlite
3
Wher
e
Lo
.
.
.
commit
|
commitdiff
|
tree
2023-12-21
D
.
Richard
Hi
p
p
A
dd
i
n
t
ernal cor
e
-
developer
-
only documen
t
ation of
t
he
.
.
.
commit
|
commitdiff
|
tree
2023-12-20
D
.
Richar
d
Hipp
A
v
oid harml
e
ss in
t
eger overflow in
pager statu
s
statistics
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richard H
i
p
p
In JSON -
m
i
nor code clean
u
p
and refact
o
ring with
a
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richard Hi
p
p
Remove r
e
d
u
ndant con
d
i
t
io
n
al from sqlite3ExprCanBeNull()
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richard Hipp
On second t
h
ou
g
ht,
w
e
don't r
e
a
lly need
s
qlite_dbdata
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richa
r
d Hipp
Fix harmless compiler warning in the
randomjson
.
c e
x
tensi
o
n
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richa
r
d
Hipp
More pr
e
cise c
o
mputation of the s
i
ze o
f
data stru
c
t
u
res
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richard
Hipp
Add ALWAYS() and
NEV
E
R()
o
n
bran
c
hes made unre
a
chable
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Richard Hipp
Ignor
e
COLLATE ope
r
ators
w
hen dete
r
mining
whet
h
er the
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Ri
c
har
d
H
i
p
p
Te
s
t case f
o
r
t
he
p
revious
c
heck-in
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
R
i
chard Hipp
When unable to resolve an id
e
ntifier,
c
hange the Expr
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Rich
a
r
d
Hipp
Alway
s
make the
s
qlite_dbdata
v
i
r
tual
table avail
a
ble
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Rich
a
rd H
i
pp
Extra ALWAYS()
macros to
verify s
t
ate in the s
q
lite3ExprCanB
.
.
.
commit
|
commitdiff
|
tree
2023-12-19
D
.
Ri
c
hard Hipp
Remov
e
a st
r
ay c
o
mment in the JS
O
N
code
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Richard Hipp
New JSON i
n
variant
t
e
st ca
s
e
s
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Richard Hipp
A
d
d NEVER() to
a
n unfals
i
fiable bran
c
h
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Richard
H
ipp
Fix
JSON to JSONB tr
a
ns
l
a
tion
s
o that it de
a
ls correctly
.
.
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Ric
h
ard Hipp
Ensur
e
t
h
at the ins
e
rt/
d
ele
t
e size d
e
lt
a
on JSONB objects
.
.
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Ric
h
ard Hipp
Add
r
ando
m
j
son
.
c to
testfixt
u
re
.
Use
i
t for a new
.
.
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Richard Hipp
Ensure
t
ha
t
all
object labels for in
d
ividual objects
.
.
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Ri
c
hard Hipp
Bug fix in the rand
o
mjson
.
c
e
x
t
e
n
s
i
on
.
commit
|
commitdiff
|
tree
2023-12-18
D
.
Richard
H
ipp
Enhancem
e
nt
s
to
ext/misc/r
a
ndomjson
.
c
.
commit
|
commitdiff
|
tree
2023-12-17
D
.
Richard Hipp
Enhanceme
n
ts to th
e
"
randomjson
.
c
"
e
xtension
.
Automaticall
y
.
.
.
commit
|
commitdiff
|
tree
2023-12-16
D
.
R
ichar
d
Hi
p
p
Enable S
Q
LITE
_
S
TRI
C
T
_
SUBTYP
E
for default bu
i
lds
of
.
.
.
commit
|
commitdiff
|
tree
2023-12-16
D
.
R
i
chard Hipp
New test c
a
se based on Chr
o
mium bu
g
report
1
5116
8
9
.
commit
|
commitdiff
|
tree
2023-12-15
D
.
R
icha
r
d Hipp
In the count-of-view optimiz
a
tion, deferring f
r
e
eing
.
.
.
commit
|
commitdiff
|
tree
2023-12-15
D
.
R
i
chard Hipp
Add mention of
--b
u
ildo
n
ly
and --dryrun to
t
he tes
t
runner
.
.
.
commit
|
commitdiff
|
tree
2023-12-15
D
.
Richard Hip
p
F
ix a
new JSON te
s
t
c
as
e
s
o t
h
at it works even
if SQL
I
T
E
_OMI
.
.
.
commit
|
commitdiff
|
tree
2023-12-14
D
.
Richard Hipp
A
d
d
assert()s to FT
S
5 to fix stat
i
c analyzer wa
r
nings
.
commit
|
commitdiff
|
tree
2023-12-14
D
.
Richard
H
ipp
Fix harmless compiler wa
r
nin
g
s in JSON and FTS5
.
commit
|
commitdiff
|
tree
2023-12-14
D
.
Richard Hip
p
Enhance
aggregat
e
order
-
b
y so that it transmits s
u
btype
.
.
.
commit
|
commitdiff
|
tree
2023-12-14
D
.
Richard Hi
p
p
Pass
s
ubty
p
e information th
r
o
ugh the aggregate O
R
DE
R
.
.
.
commit
|
commitdiff
|
tree
2023-12-13
D
.
Richard Hipp
Avoid
invoki
n
g sqlite3
E
xprColUsage() on a
n
unre
s
olve
.
.
.
commit
|
commitdiff
|
tree
2023-12-13
D
.
Ric
h
ar
d
Hipp
Bug
f
ix
i
n th
e
JSON
B
validator
.
commit
|
commitdiff
|
tree
2023-12-13
D
.
Ri
c
hard Hipp
Improvem
e
nts to UTF8 handl
i
ng, and
espec
i
ally
t
he hand
l
ing
.
.
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
Richard Hipp
Fix the JSON object la
b
e
l
c
omparison
o
b
ject so
t
hat
.
.
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
Richard
Hipp
T
h
e j
s
on_
v
alid(*,8
)
funct
i
on does a much b
e
tter check
.
.
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
R
ichard H
i
pp
Ad
d
NEVER
t
o two
un
r
eachab
l
e
br
a
nches in JSON
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
Richard Hipp
Improvements to J
S
ONB vali
d
ation
- catch more c
a
ses
.
.
.
commit
|
commitdiff
|
tree
2023-12-12
D
.
Richard Hipp
Validity
c
heck
i
n
g
o
f text nod
e
s
in JSONB
.
commit
|
commitdiff
|
tree
next