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
Catch and avoid a 16-bit integer overflow on the number of columns in a
2017-10-21
D
.
R
ichard Hipp
Catc
h
and a
v
oid a 16-bit i
n
t
e
ger o
v
erflow on the number
.
.
.
commit
|
commitdiff
|
tree
2017-10-21
D
.
Ric
h
ar
d
Hi
p
p
R
emove unnecessary "
#
if SQLITE_MA
X
_COLUMN"
.
SQLITE_MAX_COL
U
.
.
.
commit
|
commitdiff
|
tree
2017-10-17
D
.
Richard Hipp
F
i
x the "
.
chec
k
" command of the c
o
mma
n
d
-line sh
e
l
l
.
.
.
commit
|
commitdiff
|
tree
2017-10-16
D
.
Richard Hipp
Improv
e
d comments, including a
typo fix, on the
w
hereLoo
p
C
he
.
.
.
commit
|
commitdiff
|
tree
2017-10-15
D
.
Richard Hipp
I
n the q
u
ery planner, do not consi
d
er
index
X
to
b
e
.
.
.
commit
|
commitdiff
|
tree
2017-10-13
D
.
Richard Hipp
Im
p
ro
v
ed ability to generate st
a
nd-alone
program using
.
.
.
commit
|
commitdiff
|
tree
2017-10-13
D
.
Richard Hipp
A
dd the tcl
/
mkccode
.
t
c
l
s
cript use
d
to construct a
.
.
.
commit
|
commitdiff
|
tree
2017-10-13
D
.
Ric
h
ard Hipp
Mov
e
a bunch of u
n
r
elated test
c
ode o
u
t of t
c
lsqlite
.
.
.
commit
|
commitdiff
|
tree
2017-10-13
D
.
Richard Hipp
The d
b
_use_legacy_prepare command no longer exists
.
.
.
commit
|
commitdiff
|
tree
2017-10-13
D
.
Richard H
i
pp
W
h
en comp
i
lin
g
with SQ
L
ITE_
T
EST
,
extra options are
.
.
.
commit
|
commitdiff
|
tree
2017-10-13
D
.
Richar
d
Hip
p
Move some tes
t
l
o
gic out of tclsq
l
ite
.
c and into auxiliary
.
.
.
commit
|
commitdiff
|
tree
2017-10-12
D
.
Rich
a
r
d
Hip
p
Add t
h
e sql
i
t
e
_dbpage vi
r
tual table (enabled using
.
.
.
commit
|
commitdiff
|
tree
2017-10-12
D
.
Ric
h
ard Hipp
C
r
e
ate
the n
e
w
ext/r
e
p
air fold
e
r
and move
c
heckfreelist
.
.
.
commit
|
commitdiff
|
tree
2017-10-12
D
.
R
ichard Hipp
The src
/
shel
l
.
c file is n
o
w
generated from src/she
l
l
.
.
.
commit
|
commitdiff
|
tree
2017-10-12
D
.
R
i
chard Hipp
Merge
f
ixes from the 3
.
2
1 branch
.
commit
|
commitdiff
|
tree
2017-10-12
D
.
Ri
c
hard
H
i
p
p
Make sure the ta
b
l
e
C
olum
n
List()
routine
o
f the
c
ommand
.
.
.
commit
|
commitdiff
|
tree
2017-10-12
D
.
Richard Hi
p
p
Merge fixes f
r
om the
3
.
2
1
b
ranch
.
commit
|
commitdiff
|
tree
2017-10-12
D
.
Ric
h
ard Hipp
Fi
x
a typo in
a numeric con
s
tant in an assert() - a
.
.
.
commit
|
commitdiff
|
tree
2017-10-11
D
.
Ri
c
ha
r
d Hipp
Add the ch
e
ckfre
e
list
e
x
tens
i
on to t
h
e comm
a
nd-line
.
.
.
commit
|
commitdiff
|
tree
2017-10-11
D
.
Ri
c
hard Hipp
Convert the implementati
o
n of the
"
.
dbstat" dot-command
.
.
.
commit
|
commitdiff
|
tree
2017-10-11
D
.
Richard Hipp
Enable JSON
by
d
efau
l
t i
n
the Windows command-line
.
.
.
commit
|
commitdiff
|
tree
2017-10-11
D
.
Richard Hipp
Enable
s
qlite
_
dbpage a
n
d dbst
a
t
v
irtual ta
b
les in the
.
.
.
commit
|
commitdiff
|
tree
2017-10-11
D
.
Rich
a
rd Hipp
Get wri
t
es
working on
the
s
qlite_dbpage
virtual t
a
bl
e
.
.
.
commit
|
commitdiff
|
tree
2017-10-11
D
.
Richard Hipp
Ini
t
ial impl
e
men
t
ation of the "
s
q
l
ite
_
d
b
p
age
"
virtual
.
.
.
commit
|
commitdiff
|
tree
2017-10-11
D
.
Ric
h
ar
d
Hipp
In t
h
e s
p
eed-check
.
sh test
s
cript, allow an ad
d
ition
a
l
.
.
.
commit
|
commitdiff
|
tree
2017-10-11
D
.
Richa
r
d
H
ipp
C
r
eate a b
r
a
nch f
o
r the 3
.
2
1
.
0 release
.
Deve
l
opment
.
.
.
commit
|
commitdiff
|
tree
2017-10-10
D
.
Richard Hip
p
DRO
P
TABLE now work
s
for
WITHOUT
R
OWID t
a
bles and
the
.
.
.
commit
|
commitdiff
|
tree
2017-10-05
D
.
Richard Hi
p
p
Fix compi
l
e
r warnings th
a
t
c
ome up with
S
QLIT
E
_O
M
IT_WAL
.
commit
|
commitdiff
|
tree
2017-10-05
D
.
Richard
H
i
pp
Fix the command-line shell so that
t
he "
.
schema --indent
.
.
.
commit
|
commitdiff
|
tree
2017-10-05
D
.
Richard Hipp
Disable the delta checksum ve
r
i
f
ication in RBU by default
.
.
.
commit
|
commitdiff
|
tree
2017-10-04
D
.
Ric
h
ard
Hipp
Up
d
ates
to requirements marks
.
commit
|
commitdiff
|
tree
2017-10-04
D
.
Ri
c
hard Hi
p
p
New test cases
for ticket
[
b899b6042f97f5] derived
.
.
.
commit
|
commitdiff
|
tree
2017-10-04
D
.
Ri
c
hard Hi
p
p
Turn restric
t
ion
20 on the quer
y
f
l
attene
r
int
o
an
.
.
.
commit
|
commitdiff
|
tree
2017-10-04
D
.
Richa
r
d
H
i
pp
R
em
o
ve a r
e
d
und
a
nt restri
c
ti
o
n from
the query
flattener
.
commit
|
commitdiff
|
tree
2017-10-04
D
.
Richard Hipp
F
i
x a minor typo
in the q
u
e
r
y
flattener heade
r
comment
.
.
.
commit
|
commitdiff
|
tree
2017-10-03
D
.
Richard Hipp
Simplify t
h
e co
m
putation of
t
ypes on
c
olumns of
a
view
.
commit
|
commitdiff
|
tree
2017-10-03
D
.
Ric
h
ard Hipp
Do
n
ot enable SELECT tracing wit
h
-DSQLIT
E
_DE
B
UG
.
.
.
.
commit
|
commitdiff
|
tree
2017-10-03
D
.
Richard
Hi
p
p
Ad
d
s
ome OK
_
IF_
A
LWAYS_TRUE() mar
k
s
o
n optimizat
i
on
.
.
.
commit
|
commitdiff
|
tree
2017-10-03
D
.
Richar
d
H
ip
p
Rem
o
v
e an unused v
a
r
i
ab
l
e fr
o
m
sqlite3Insert
(
) and
.
.
.
commit
|
commitdiff
|
tree
2017-10-03
D
.
R
i
char
d
Hipp
Fix the sqlite3
_
colu
m
n
_decltype() int
e
rface to ret
u
rn
.
.
.
commit
|
commitdiff
|
tree
2017-10-03
D
.
Richa
r
d Hip
p
The simp
l
ific
a
tion to sqli
t
e3SelectExp
a
nd() in
l
a
st
.
.
.
commit
|
commitdiff
|
tree
2017-10-03
D
.
Ric
h
a
rd Hipp
Do not
co
m
pu
t
e column and row siz
e
estimates for the
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
D
.
Richar
d
H
i
pp
Mark a singl
e
branch within sqlite3SelectExpand(
)
as
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
D
.
Richard Hipp
Simplification to sqlite3SelectPre
p
()
f
o
r impr
o
ved
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
D
.
Ri
c
hard Hipp
Add the OK
_
IF_ALWAYS_TRUE() and OK_
I
F
_
AL
W
AYS
_
FAL
S
E
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
D
.
Richard Hipp
Avoi
d
using l
o
okaside
memory
for per
s
istent virtual
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
D
.
R
ichard H
i
pp
The
quer
y
planner n
o
w
always pref
e
rs to
i
mpleme
n
t a
.
.
.
commit
|
commitdiff
|
tree
2017-10-02
D
.
Richa
r
d Hipp
Improve
m
e
nts to
a
c
o
mment in lemp
a
r
.
c
.
No code c
h
anges
.
commit
|
commitdiff
|
tree
2017-09-30
D
.
Richard Hi
p
p
Mor
e
detai
l
s in the header
comment of pushDownWhereTerms
.
.
.
commit
|
commitdiff
|
tree
2017-09-30
D
.
Richa
r
d Hipp
Make sure the SQLITE_Stat34 optimization s
w
itch is
.
.
.
commit
|
commitdiff
|
tree
2017-09-30
D
.
R
ich
a
rd Hipp
Fix unreachable
condition
a
ls and revis
e
a testcase
.
.
.
commit
|
commitdiff
|
tree
2017-09-29
D
.
Ric
h
ard
Hipp
Always render a subquery that
i
s
n
ot par
t
of
a join
.
.
.
commit
|
commitdiff
|
tree
2017-09-29
D
.
Rich
a
rd Hipp
Me
r
ge th
e
query fla
t
tener comment improveme
n
ts from
.
.
.
commit
|
commitdiff
|
tree
2017-09-29
D
.
Rich
a
rd Hi
p
p
Clean up the comments on the query flattene
r
to more
.
.
.
commit
|
commitdiff
|
tree
2017-09-29
D
.
Richard Hipp
Merge changes from t
r
un
k
.
commit
|
commitdiff
|
tree
2017-09-29
D
.
Richard Hipp
Make sur
e
the 6th
parameter to the authoriz
e
r callback
.
.
.
commit
|
commitdiff
|
tree
2017-09-29
D
.
R
ich
a
r
d
Hipp
Better
names fo
r
subqueries in EX
P
LAIN comments
.
commit
|
commitdiff
|
tree
2017-09-28
D
.
Richard Hipp
Do not flatten sub
q
uerie
s
that co
n
t
ain an ORD
E
R BY
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
D
.
Richar
d
H
ipp
Remove the (undocumented) q
u
ery-planne
r
co
n
trol that
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
D
.
Richard Hipp
F
i
x
over-leng
t
h sourc
e
code lines in sel
e
ct
.
c
.
N
o
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
D
.
Ric
h
ard Hipp
Fix an
issu
e
in
t
roduced
by ch
e
ck
-
i
n [4cd2a967
2
c59]
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
D
.
Richard Hi
p
p
A
d
d new
r
o
u
tines to simplify dealing
w
i
t
h collating
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
D
.
Richar
d
Hipp
Indexes
o
n expressi
o
ns wit
h
a COL
L
ATE
clause are able
.
.
.
commit
|
commitdiff
|
tree
2017-09-28
D
.
Richard Hipp
In t
w
o
plac
e
s, c
h
ang
e
the magic number
-1 to its
p
roper
.
.
.
commit
|
commitdiff
|
tree
2017-09-27
D
.
Ric
h
a
r
d H
i
p
p
D
isable te
s
t
s
for the L
I
K
E o
p
tim
i
zation when ICU is
.
.
.
commit
|
commitdiff
|
tree
2017-09-22
D
.
Rich
a
rd
H
ipp
Partia
l
backout of
check-i
n
[e0af9
a
904076]
.
I
t t
u
rns
.
.
.
commit
|
commitdiff
|
tree
2017-09-22
D
.
Richa
r
d Hipp
U
p
da
t
e t
h
e configure
s
cript
so tha
t
it looks
for t
c
lsh8
.
.
.
commit
|
commitdiff
|
tree
2017-09-21
D
.
R
i
chard Hip
p
In
the Windows VFS
,
wh
e
n tr
y
ing to ope
n
a databas
e
.
.
.
commit
|
commitdiff
|
tree
2017-09-21
D
.
Richard Hipp
In the Windows VFS, do
not emit
a
n SQLITE_CANTOPEN
.
.
.
commit
|
commitdiff
|
tree
2017-09-21
D
.
Richard Hipp
Fi
x
h
armle
s
s UB in t
h
e ICU exte
n
sion
.
commit
|
commitdiff
|
tree
2017-09-21
D
.
Ric
h
ard Hi
p
p
Fix a potentia
l
use o
f
an uninitialized pointer
i
n
.
.
.
commit
|
commitdiff
|
tree
2017-09-21
D
.
Richard Hipp
Fix a bug in tool
/
mksourc
e
id
.
c
:
commit
|
commitdiff
|
tree
2017-09-21
D
.
R
i
chard Hipp
Revert
o
ne per
f
orm
a
nce impr
o
vement
c
hanges f
r
o
m check
.
.
.
commit
|
commitdiff
|
tree
2017-09-21
D
.
Richard Hipp
Fix
t
he
r
e
nd
e
ring o
f
the P4_INTARRA
Y
argument to the
.
.
.
commit
|
commitdiff
|
tree
2017-09-20
D
.
R
i
c
hard
H
ipp
Size
and perform
a
nce optimization
o
n sq
l
ite3Vd
b
eMemGrow()
.
commit
|
commitdiff
|
tree
2017-09-20
D
.
Richard Hipp
The BLO
B
returned by sqlit
e
3VdbeMem
F
romBtree() does
.
.
.
commit
|
commitdiff
|
tree
2017-09-20
D
.
Richard Hipp
Small size an
d
p
erf
o
rman
c
e optim
i
zation
in the bytecode
.
.
.
commit
|
commitdiff
|
tree
2017-09-20
D
.
Richard Hipp
I
mpro
v
ed resolution of larg
e
i
n
tege
r
valu
e
s in "CAST
.
.
.
commit
|
commitdiff
|
tree
2017-09-20
D
.
Ri
c
hard Hipp
Updates to the
"lemon
.
html"
document received from
.
.
.
commit
|
commitdiff
|
tree
2017-09-18
D
.
Richard Hipp
Add t
h
e sqlite
3
_
m
m
ap_w
a
rm(
)
function as an extension
.
.
.
commit
|
commitdiff
|
tree
2017-09-18
D
.
Ric
h
ard Hipp
F
i
x a
t
y
po in
the MSVC makefile
.
commit
|
commitdiff
|
tree
2017-09-18
D
.
Richard
H
ipp
Minor simp
l
ificati
o
n o
f
error message ge
n
eration during
.
.
.
commit
|
commitdiff
|
tree
2017-09-18
D
.
Richard
H
i
pp
The out-of
-
b
ou
n
ds rea
d
o
n
r
ecover
y
fix of
check-in
.
.
.
commit
|
commitdiff
|
tree
2017-09-18
D
.
Ri
c
ha
r
d
Hipp
Fix the CSV virtual tab
l
e
e
x
t
ension so that it works
.
.
.
commit
|
commitdiff
|
tree
2017-09-17
D
.
Ric
h
a
rd Hipp
Do not make the assumpt
i
on (as
che
c
k-in [4da49a95c0f07
.
.
.
commit
|
commitdiff
|
tree
2017-09-16
D
.
Richard
H
ip
p
Simplify the
s
ql
i
te3VdbeGet()
routine
.
Smaller, fast
e
r
.
.
.
commit
|
commitdiff
|
tree
2017-09-15
D
.
Rich
a
rd Hipp
Remove an u
n
necessary
pa
r
ameter
f
r
o
m
select
I
nn
e
rLoop()
.
commit
|
commitdiff
|
tree
2017-09-15
D
.
Richard Hipp
Improved
the header-
c
omment documentati
o
n o
n
s
q
l
i
te3E
x
prCode
.
.
.
commit
|
commitdiff
|
tree
2017-09-15
D
.
Richard Hipp
Opt
i
mization to the ExprLis
t
object to make
i
t slig
h
t
l
y
.
.
.
commit
|
commitdiff
|
tree
2017-09-15
D
.
Richard Hipp
F
ix a harmless comment typo
.
No changes to code
.
commit
|
commitdiff
|
tree
2017-09-14
D
.
Richard Hipp
A
void an out-of-bounds read on a r
e
covery attempt using
.
.
.
commit
|
commitdiff
|
tree
2017-09-13
D
.
R
ichard
Hipp
Test case update
due to PRAGMA integ
r
ity_c
h
eck
e
nhancements
.
.
.
commit
|
commitdiff
|
tree
2017-09-13
D
.
Richard
Hipp
D
isa
b
le FTS3 mat
c
hinfo(
)
tests that assume a l
i
t
tleEndian
.
.
.
commit
|
commitdiff
|
tree
2017-09-13
D
.
Richard Hipp
Improvements to PRAGMA in
t
eg
r
i
t
y_che
c
k
for bette
r
detecti
o
n
.
.
.
commit
|
commitdiff
|
tree
2017-09-13
D
.
Richard Hipp
PRAG
M
A integrity
_
check
r
e
turns SQLIT
E
_OK
even if it
.
.
.
commit
|
commitdiff
|
tree
2017-09-12
D
.
Richa
r
d H
i
p
p
F
ix an error in [b2
2
cdd
6
7]
t
h
at c
a
n cause
a
n
egati
v
e
.
.
.
commit
|
commitdiff
|
tree
2017-09-12
D
.
Richa
r
d Hipp
Ch
a
nges to
(
hopefully) g
e
t t
h
e build
working with
recent
.
.
.
commit
|
commitdiff
|
tree
2017-09-12
D
.
Richa
r
d
H
i
pp
Make sure all
connection
s
are closed in the
pragma
.
.
.
commit
|
commitdiff
|
tree
2017-09-11
D
.
Rich
a
rd Hipp
New test
c
ase for
t
icket [b8
9
9b6042f97f52d]
.
commit
|
commitdiff
|
tree
2017-09-11
D
.
Richard Hip
p
A
d
d supp
o
rt for
new o
p
erators in virtual tables: !
.
.
.
commit
|
commitdiff
|
tree
next