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
Further improvements to bytecode branch testing. Fix cases where the
2018-07-10
D
.
Richar
d
Hip
p
Furthe
r
improve
m
ents to bytecode branch testi
n
g
.
F
ix
.
.
.
commit
|
commitdiff
|
tree
2018-07-10
D
.
Richard Hipp
E
nhancement
s
and improved documentation t
o
the byte
.
.
.
commit
|
commitdiff
|
tree
2018-07-10
D
.
Richar
d
Hipp
Fix a harmless warning about comment formatting in
.
.
.
commit
|
commitdiff
|
tree
2018-07-10
D
.
Richard
H
ipp
Assert
t
h
at if two functions compare equal in every
.
.
.
commit
|
commitdiff
|
tree
2018-07-10
D
.
Richar
d
Hipp
Enhance the sqlite3ExprCompa
r
e() r
o
utine
s
o that it
.
.
.
commit
|
commitdiff
|
tree
2018-07-10
D
.
Ric
h
ard
Hip
p
E
nhance th
e
Tree
V
iew mechanism so t
h
at it shows the
.
.
.
commit
|
commitdiff
|
tree
2018-07-10
D
.
Richar
d
Hipp
New VDBE co
m
m
e
nt
s
and coverage ma
c
ros
.
commit
|
commitdiff
|
tree
2018-07-09
D
.
Richard Hipp
F
ixes
for various harmless compiler warnings
.
commit
|
commitdiff
|
tree
2018-07-09
D
.
Ri
c
hard Hipp
Add a commen
t
to restrict
i
on (6) of the pus
h
-down optimizat
i
.
.
.
commit
|
commitdiff
|
tree
2018-07-09
D
.
Richa
r
d Hipp
Add an ALWAYS() a
r
ound a br
a
nch
i
n sqlite
3
BtreeSkipNext
.
.
.
commit
|
commitdiff
|
tree
2018-07-09
D
.
Ri
c
h
ard H
i
p
p
Remove redundant br
a
nc
h
es in window
f
unction pr
o
cessing
.
commit
|
commitdiff
|
tree
2018-07-09
D
.
Richard Hipp
S
i
mplification to th
e
gram
m
ar rules for window f
u
nctions
.
.
.
commit
|
commitdiff
|
tree
2018-07-09
D
.
Ri
c
h
ard
H
ipp
Simp
l
ification to the
logic that dete
c
ts misuse
of
.
.
.
commit
|
commitdiff
|
tree
2018-07-09
D
.
Richard
Hipp
During WITHOUT ROWID t
a
bl
e
cre
a
tion,
i
f the sqlite3CreateTab
.
.
.
commit
|
commitdiff
|
tree
2018-07-08
D
.
Richard Hipp
I
de
n
tify specific FuncDe
f
objects for windo
w
functions
.
.
.
commit
|
commitdiff
|
tree
2018-07-07
D
.
Ric
h
ard Hipp
Simpl
i
fic
a
t
i
ons to the im
p
lementation of the su
m
()
.
.
.
commit
|
commitdiff
|
tree
2018-07-07
D
.
Richard H
i
pp
Fix
the
JSO
N
extension so that it
can be co
m
p
i
l
ed
s
epa
r
ately
.
.
.
commit
|
commitdiff
|
tree
2018-07-07
D
.
R
ichard
H
i
pp
A
d
d ALWAYS() macros on re
s
ults of
sql
i
te3
_
aggre
g
a
te_con
t
ext
.
.
.
commit
|
commitdiff
|
tree
2018-07-07
D
.
Richard Hipp
Ad
d
an assert() to help verify that O
P
_Agg
I
nver
s
e is
.
.
.
commit
|
commitdiff
|
tree
2018-07-06
D
.
R
ichard H
i
pp
Try
t
o impr
o
ve the
e
rror mess
a
ges fo
r
misforme
d
f
r
a
m
e
.
.
.
commit
|
commitdiff
|
tree
2018-07-05
D
.
R
i
c
hard Hi
p
p
Use separate opcodes, OP_
A
ggValue and
OP_AggInver
s
e
.
.
.
commit
|
commitdiff
|
tree
2018-07-05
D
.
Richard Hipp
G
e
t the jso
n
_group_a
r
ray() and json_group
_
object()
.
.
.
commit
|
commitdiff
|
tree
2018-07-05
D
.
Rich
a
rd Hipp
F
i
x the
.
d
u
mp command
i
n t
h
e
com
m
and-line shell so
.
.
.
commit
|
commitdiff
|
tree
2018-07-01
D
.
Ri
c
hard Hipp
Quick pa
t
ch to the Lem
o
n pars
e
r t
e
mplate to avoid an
.
.
.
commit
|
commitdiff
|
tree
2018-06-28
D
.
Richard Hipp
Introduce
t
he co
n
cept of "
w
eak fallback" in the
p
arser
.
.
.
commit
|
commitdiff
|
tree
2018-06-21
D
.
Richar
d
H
ipp
Impro
v
ed context f
o
r error_l
o
g
m
essa
g
e coming
f
rom
.
.
.
commit
|
commitdiff
|
tree
2018-06-19
D
.
Richard
Hipp
M
inor change
to
t
h
e input grammar to m
a
ke the parse
r
.
.
.
commit
|
commitdiff
|
tree
2018-06-13
D
.
Ri
c
ha
r
d
H
ipp
Out
p
u
t
infinity as 1e999
in the "
.
dump" command of
.
.
.
commit
|
commitdiff
|
tree
2018-06-13
D
.
Ric
h
a
rd Hipp
P
a
d out the sqlite3_value
structure to be a
m
ultiple
.
.
.
commit
|
commitdiff
|
tree
2018-06-13
D
.
Richard Hipp
Add the un
u
sed S
Q
LITE_CAN
T
OPEN
_
DIRTYWAL result code
.
.
.
commit
|
commitdiff
|
tree
2018-06-12
D
.
Richard
H
ipp
Do
c
umentation upd
a
te: c
l
arify t
h
at sqlite3_errco
d
e
.
.
.
commit
|
commitdiff
|
tree
2018-06-12
D
.
Richard Hipp
Documentati
o
n updates: clar
i
fy the behavio
r
of sqlite3_
c
olum
.
.
.
commit
|
commitdiff
|
tree
2018-06-12
D
.
Richard Hipp
I
m
pro
v
e
m
ents to SCopy correctnes
s
tracking when SQLITE_DEBUG
.
.
.
commit
|
commitdiff
|
tree
2018-06-12
D
.
Ric
h
ard
H
ipp
Fix the "Synopsis
"
o
n the O
P
_Bi
t
Not opcode
.
commit
|
commitdiff
|
tree
2018-06-11
D
.
Rich
a
rd Hip
p
Improvements to the
-
-enable
a
nd
--disable optio
n
s
.
.
.
commit
|
commitdiff
|
tree
2018-06-11
D
.
Richard
H
ipp
F
i
x
var
i
ous
-
-enab
l
e and --
d
isab
l
e
options on the top
.
.
.
commit
|
commitdiff
|
tree
2018-06-11
D
.
Richard Hipp
F
ix the column cache invalidat
i
on lo
g
ic in the code
.
.
.
commit
|
commitdiff
|
tree
2018-06-11
D
.
Richard Hi
p
p
Add the OP_SetTa
b
Col
a
nd OP
_
V
e
ri
f
yTabCol opcod
e
s, on
l
y
.
.
.
commit
|
commitdiff
|
tree
2018-06-11
D
.
Richard Hipp
St
r
en
g
then the sqlite3VdbeMem
A
boutToChange(
)
run-time
.
.
.
commit
|
commitdiff
|
tree
2018-06-11
D
.
Rich
a
rd H
i
pp
A
l
ways in
i
tialize the WhereCla
u
se
.
hasOr fi
e
ld that
.
.
.
commit
|
commitdiff
|
tree
2018-06-09
D
.
Richard Hipp
Fix a t
y
po in the
amalg
a
mation au
t
o
conf file
.
commit
|
commitdiff
|
tree
2018-06-09
D
.
R
ichard Hipp
Slightly smaller a
n
d
faste
r
c
ode by
encapsu
l
ating w
a
l
.
.
.
commit
|
commitdiff
|
tree
2018-06-09
D
.
Richa
r
d H
i
pp
Impro
v
ed
c
omments an pres
e
n
ta
t
io
n
f
or the recent
I
N
.
.
.
commit
|
commitdiff
|
tree
2018-06-09
D
.
Ri
c
har
d
Hipp
Performanc
e
improvem
e
nt
t
o sq
l
ite3
W
h
ere
E
x
p
rUsage()
.
commit
|
commitdiff
|
tree
2018-06-09
D
.
Richard Hipp
Compute
t
h
e
bitmask of ind
e
xe
d
c
o
lumns f
o
r each index
.
.
.
commit
|
commitdiff
|
tree
2018-06-09
D
.
Ri
c
har
d
Hipp
Avoid invoking th
e
whereL
o
opAd
d
Or() rou
t
ine
i
n
the
.
.
.
commit
|
commitdiff
|
tree
2018-06-08
D
.
Ric
h
a
rd Hipp
When the query p
l
ann
e
r
has the opp
o
rtunity to use an
.
.
.
commit
|
commitdiff
|
tree
2018-06-08
D
.
R
i
c
hard
H
i
p
p
Only cho
o
s
e
to scan
a
n
IN op
e
rator rather
t
h
a
n
use
.
.
.
commit
|
commitdiff
|
tree
2018-06-08
D
.
Richard Hipp
Mer
g
e
the bt
r
e
e
Next() assertion bug fix from tru
n
k
.
commit
|
commitdiff
|
tree
2018-06-08
D
.
Richard Hipp
Fix an
a
ssert() that can be
false
for
a
co
r
rupt dat
a
base
.
.
.
commit
|
commitdiff
|
tree
2018-06-08
D
.
Richar
d
Hipp
Cons
i
der doin
g
a
p
a
rtial table scan to fulfill a
n
I
N
.
.
.
commit
|
commitdiff
|
tree
2018-06-07
D
.
Richard Hipp
The IN-early-out opti
m
ization: When doing a look-up
.
.
.
commit
|
commitdiff
|
tree
2018-06-07
D
.
R
i
chard Hipp
Fi
x
the assert()s in
the byte-
c
od
e
engine that prove
.
.
.
commit
|
commitdiff
|
tree
2018-06-07
D
.
Richa
r
d Hipp
R
e
move
the Nex
t
I
f
O
pen
a
nd P
r
evIf
O
p
e
n
o
pcod
e
s
w
hich
.
.
.
commit
|
commitdiff
|
tree
2018-06-07
D
.
Richard Hipp
Test case
s
.
commit
|
commitdiff
|
tree
2018-06-07
D
.
Ri
c
hard Hipp
Me
r
ge the "
.
stat/
.
eqp" CLI fix fr
o
m
trunk
.
commit
|
commitdiff
|
tree
2018-06-07
D
.
Richard Hipp
Avoid
using a prepa
r
ed
s
tatem
e
nt for "
.
s
t
ats on" after
.
.
.
commit
|
commitdiff
|
tree
2018-06-07
D
.
Richard Hipp
Add th
e
W
HERE
_
I
N
_EARLY
O
UT
flag and u
s
e
i
t to clar
i
fy
.
.
.
commit
|
commitdiff
|
tree
2018-06-07
D
.
Ri
c
ha
r
d
H
i
pp
Merge
r
ecent trunk enhancements
.
commit
|
commitdiff
|
tree
2018-06-06
D
.
Richa
r
d
Hipp
C
hang
e
a
comma into a
l
o
gically equival
e
nt but semanti
c
ally
.
.
.
commit
|
commitdiff
|
tree
2018-06-06
D
.
Richard
Hipp
More space
a
nd performance enh
a
nce
m
ents to sqlite3
V
d
b
e
R
eco
r
d
.
.
.
commit
|
commitdiff
|
tree
2018-06-06
D
.
Ric
h
ar
d
H
i
pp
Small performance opti
m
i
z
ation in sq
l
ite3VdbeRe
c
o
r
d
CompareWi
.
.
.
commit
|
commitdiff
|
tree
2018-06-06
D
.
R
i
chard
H
ipp
Rearrange the order of some checks i
n
the integrity_check
.
.
.
commit
|
commitdiff
|
tree
2018-06-06
D
.
Richard Hipp
Fix the sql
i
te3Beg
i
n
T
r
a
ns() calls within the sna
p
shot
.
.
.
commit
|
commitdiff
|
tree
2018-06-06
D
.
Richard
H
ipp
Another mi
n
or optimizat
i
on to OP_Transact
i
on
.
commit
|
commitdiff
|
tree
2018-06-06
D
.
Richard Hip
p
Change sql
i
te3BtreeBeginTrans() to return the BTREE_SCHEMA_C
.
.
.
commit
|
commitdiff
|
tree
2018-06-06
D
.
Richard Hipp
Fix the "
.
archiv
e
" comma
n
d in
t
h
e CLI (and the corresponding
.
.
.
commit
|
commitdiff
|
tree
2018-06-05
D
.
Rich
a
rd Hipp
Update the
v
ersion num
b
er
to 3
.
25
.
0 for the
next development
.
.
.
commit
|
commitdiff
|
tree
2018-06-05
D
.
Richar
d
Hipp
A
v
o
i
d unnecessary
l
o
ad
s
of co
l
um
n
s in
a
n
aggregate
.
.
.
commit
|
commitdiff
|
tree
2018-06-05
D
.
Richard
H
ipp
Add the OP_IfNoHo
p
e and OP_Se
e
k
Hit opcodes used to
.
.
.
commit
|
commitdiff
|
tree
2018-06-05
D
.
Ri
c
hard Hipp
Use an OP_
N
ot
F
o
und opcode to
c
ancel futi
l
e IN operato
r
s
.
.
.
commit
|
commitdiff
|
tree
2018-06-05
D
.
Ri
c
hard Hipp
Merge tr
u
nk change
s
.
commit
|
commitdiff
|
tree
2018-06-05
D
.
Richard Hipp
Update and cor
r
ect the
d
o
cumentation
o
n the OP_OpenR
e
ad
.
.
.
commit
|
commitdiff
|
tree
2018-06-04
D
.
Ric
h
ard Hipp
Vers
i
o
n 3
.
24
.
0
commit
|
commitdiff
|
tree
2018-06-04
D
.
Ri
c
har
d
Hipp
Mer
g
e r
e
cent changes f
r
om trunk
.
commit
|
commitdiff
|
tree
2018-06-02
D
.
Ri
c
h
ard Hi
p
p
Av
o
id
using a misalign
e
d pointer
.
commit
|
commitdiff
|
tree
2018-06-02
D
.
Rich
a
rd
Hipp
F
ix the us
a
g
e
of po
s
ix_fallocate() so that it
co
r
rectly
.
.
.
commit
|
commitdiff
|
tree
2018-06-02
D
.
Ri
c
hard
H
i
pp
Wo
r
k around
a sanitiz
e
r warning abou
t
a pointer being
.
.
.
commit
|
commitdiff
|
tree
2018-06-02
D
.
R
icha
r
d Hipp
Proposed
f
ix
for the use of pos
i
x_fallocate()
s
o that
.
.
.
commit
|
commitdiff
|
tree
2018-06-02
D
.
Richar
d
Hipp
Fix the
CSV ex
t
ension so t
h
at it wo
r
ks
w
it
h
single
.
.
.
commit
|
commitdiff
|
tree
2018-06-02
D
.
Ri
c
har
d
H
i
pp
Ensure that sq
l
i
t
e
3
AuthR
e
a
d
()
is only call for TK_
C
OL
U
MN
.
.
.
commit
|
commitdiff
|
tree
2018-05-31
D
.
Richard Hip
p
More documentation typo fixes
.
No code c
h
anges
.
commit
|
commitdiff
|
tree
2018-05-31
D
.
Ri
c
hard Hi
p
p
Fix a har
m
le
s
s ty
p
o in
a
c
omment used to gen
e
r
a
t
e
documentation
.
commit
|
commitdiff
|
tree
2018-05-30
D
.
Richard Hipp
Add the Ma
k
e
f
i
l
e
.
fa
l
l
back makefile
t
o the amalgamation
.
.
.
commit
|
commitdiff
|
tree
2018-05-30
D
.
Richard H
i
pp
D
o
n
ot u
s
e the cod
e
c
on the resetdb
.
test scr
i
pt
.
commit
|
commitdiff
|
tree
2018-05-30
D
.
Richard Hipp
Fix
a typo in an error m
e
ssa
g
e in the CLI
.
commit
|
commitdiff
|
tree
2018-05-30
D
.
Ri
c
har
d
Hi
p
p
Fix
the parser so
that
i
t builds with -DSQLITE_OMIT_CTE
.
commit
|
commitdiff
|
tree
2018-05-30
D
.
Richard Hipp
Fix a
h
arm
l
e
s
s compile
r
warning
.
commit
|
commitdiff
|
tree
2018-05-30
D
.
Ric
h
a
r
d Hipp
Demonstr
a
tion
c
ode on a
p
ossible technique for optimizing
.
.
.
commit
|
commitdiff
|
tree
2018-05-29
D
.
Richard Hipp
A
dd a c
o
mment to justify
a go
t
o statement
.
No code
.
.
.
commit
|
commitdiff
|
tree
2018-05-28
D
.
R
i
chard Hipp
When
compi
l
ing
w
ith SQLI
T
E_
D
EBUG, add run-time checks
.
.
.
commit
|
commitdiff
|
tree
2018-05-28
D
.
Richard Hipp
Fix the build s
o
that it works with -DSQLITE_T
E
ST_REALLOC_STRE
S
S
commit
|
commitdiff
|
tree
2018-05-28
D
.
Richard Hipp
When compiling with SQLITE
_
D
EBUG, ad
d
run-tim
e
chec
k
s
.
.
.
commit
|
commitdiff
|
tree
2018-05-26
D
.
Richard Hipp
Stor
e
application-defined
function names as lower-ca
s
e
.
.
.
commit
|
commitdiff
|
tree
2018-05-26
D
.
Richard Hipp
Add a sing
l
e sentence of
d
ocum
e
n
t
ation
a
b
ou
t
th
e
virtual
.
.
.
commit
|
commitdiff
|
tree
2018-05-24
D
.
Richard Hipp
When
doing a
o
ne-
p
a
s
s
U
PD
A
TE
or
D
ELETE on virt
u
al ta
b
l
e
s
.
.
.
commit
|
commitdiff
|
tree
2018-05-24
D
.
R
i
chard Hipp
New test c
a
se for read
i
ng
a
nd w
r
iting t
h
e same rtree
.
.
.
commit
|
commitdiff
|
tree
2018-05-24
D
.
Richard Hipp
Do not all
o
w
R
T
ree writes when a read cursor is act
i
v
e
.
.
.
commit
|
commitdiff
|
tree
2018-05-24
D
.
Richard Hipp
I
n
the
O
OM testing logic
,
add the sqlite3FirstFault
.
.
.
commit
|
commitdiff
|
tree
2018-05-24
D
.
Richard Hipp
Fi
x
a typo in a comment used to generat
e
VDBE opcod
e
.
.
.
commit
|
commitdiff
|
tree
next