drh
816070cf5c
The sqlite3_trace() callback does not try to expand parameters in statements
...
that have no parameter.
FossilOrigin-Name: 917e3c36293a1bf052a16116c93e5037ed712f96
2015-04-18 19:20:14 +00:00
drh
7088d50109
Fix an incorrect assert() statement in the CREATE INDEX code generator.
...
FossilOrigin-Name: 2eed41fda068f2cbac55e63d7c1875ddaa331508
2015-04-18 17:43:29 +00:00
dan
ea8562edce
Ensure that if a "ROLLBACK TO" statement is used to rollback (but not close) theoutermost transaction, the xRollbackTo() method of any virtual tables involved in the transaction is invoked.
...
FossilOrigin-Name: e98d481d84ef31b6ed154f14deae9b261f722616
2015-04-18 16:25:54 +00:00
drh
935f2e7074
Disregard leading zeros when converting strings to 32-bit integers.
...
FossilOrigin-Name: 691cc201e135a01c4cc4057be7e5d99285ab392d
2015-04-18 04:45:00 +00:00
drh
c982844097
Fix an incorrect assert() in the sqlite3_trace() logic.
...
FossilOrigin-Name: eabde33997b5b2ffc0067930305d6fed5951a234
2015-04-18 00:22:17 +00:00
dan
1586699cfc
Fix a problem affecting some fts3 UPDATE and DELETE statements on order=DESC tables.
...
FossilOrigin-Name: 284c1623f81704ef80edb9324954525cb2b72172
2015-04-17 20:51:55 +00:00
drh
7693c42f1a
In the expression-tree comparison routine, do not compiler Expr.iColumn
...
and Expr.iTable for TK_STRING expressions.
FossilOrigin-Name: b67bb16c72c3e015ea82665ada9b5d3289ef6fb2
2015-04-17 19:41:37 +00:00
drh
7b4da150da
Always resolve symbols in all ORDER BY clauses of a compound-SELECT, even
...
illegal ORDER BY clauses.
FossilOrigin-Name: 6c39ef73d5899eabdb46db50c2b00c2d8381a41a
2015-04-17 18:52:37 +00:00
drh
97ab32bcd3
Remove unnecessary parser error count increments. Let the sqlite3ErrorMsg()
...
take care of doing that.
FossilOrigin-Name: 3f3b0f683af2fbee83811536f6bef770ff919385
2015-04-17 18:22:53 +00:00
drh
c50c8f4043
Remove an ALWAYS() that turns out to be false when there is a semantic
...
error on a compound SELECT.
FossilOrigin-Name: ad67a67c03078a2bc65d28f2b880b29bf02067c1
2015-04-17 16:12:03 +00:00
drh
d99d28361e
Ensure that semantic SQL errors are always reported back up to the syntax
...
parser. Also: Improve the defense against invalid PRAGMA synchronous settings.
FossilOrigin-Name: 7aeade9a07f29bf26e50394042ea18d0121fe7a3
2015-04-17 15:58:33 +00:00
drh
b8289a8b00
Fix a faulty assert() in sqlite3SelectNew().
...
FossilOrigin-Name: 620d19c3b462f5c4763ebd26513321431f21dd72
2015-04-17 15:16:58 +00:00
drh
268e72f936
Add the tool/fuzzershell.c utility program.
...
FossilOrigin-Name: db8d9af4d04ee862995ffa13ae6dcd9a1fc72855
2015-04-17 14:30:49 +00:00
drh
50be9c4b28
Fix the header comment on the sqldiff utility program. No code changes.
...
FossilOrigin-Name: b355ca3a3f617cd6d4c45c8e27ecd75d9e68b792
2015-04-17 12:16:09 +00:00
drh
e318a7f84c
Restrict the scope of a local-use function in the parser.
...
FossilOrigin-Name: cd6598f47480a6189df3e4283231833fd246d7fb
2015-04-16 23:04:17 +00:00
drh
a33b68364b
Use a heap rather than a bitmap for cell coverage and overlap testing on
...
btree pages in PRAGMA integrity_check.
FossilOrigin-Name: e94b2ef2242d716379a35dba3d2df1ac512c8d30
2015-04-16 21:57:37 +00:00
drh
f3151f0a0d
Fix a couple of unreachable branches.
...
FossilOrigin-Name: 8f391dffcfe068d48f854784648610d8a86f6bc8
2015-04-16 20:27:09 +00:00
drh
a4bb7764fe
Fix a boundry-value condition in the phrase poslist extractor of FTS3/4.
...
FossilOrigin-Name: 55d10baf0bffdb1a34bf5627ed8f25e4a4efd942
2015-04-16 20:10:17 +00:00
drh
ab4e7f3337
Make sure all cursors are closed when returning from a VDBE subprogram that
...
implements a foreign-key construct.
FossilOrigin-Name: d04d354d8e423961c3091b6ebcfbbbf10d3ecb04
2015-04-16 18:11:50 +00:00
drh
6dc4148547
Fix the VDBE so that it always uses the original opcode for profiling and
...
debugging even after the pOp pointer has been updated due to a jump.
FossilOrigin-Name: 647495cf12b656f6a2f028dc1fb459d667153cf2
2015-04-16 17:31:02 +00:00
drh
a276e3fd4d
Fix a faulty assert() in the compound-SELECT code generator.
...
FossilOrigin-Name: 10715b05f2201a63dca317f99ce39d3ce182e182
2015-04-16 16:22:27 +00:00
drh
59ac655d02
Silently ignore requests to change the PRAGMA synchronous setting to an
...
illegal integer value, rather than raising an assertion.
FossilOrigin-Name: e0a88176fcfbed7b554a036948261a332c920053
2015-04-16 16:04:39 +00:00
drh
e06874eaa1
Make sure errors in coding triggers are propagated back up to the parser.
...
FossilOrigin-Name: 928f973ca9adc7933015b2fb6b6fcb8e3154cb9c
2015-04-16 15:47:06 +00:00
drh
9569f60e18
Add the --backslash option to the command-line shell for testing purposes.
...
FossilOrigin-Name: dd96211e8022365637286b146120cc5db44a9923
2015-04-16 15:05:04 +00:00
drh
6736618a8f
Fix a faulty assert() in the compound select code generator.
...
FossilOrigin-Name: 9d336be1b16aa9bd5c9e4132bb645874993c7d96
2015-04-16 14:33:35 +00:00
drh
772460fd4c
Improvements to the way VALUES clauses are parsed.
...
FossilOrigin-Name: ec5a493ad27593ca78899b3001630c1898b940ff
2015-04-16 14:13:12 +00:00
drh
b073771cdf
Fix the corruptC.test module due to a change in error message text.
...
FossilOrigin-Name: 7c0deed25762a954c78d98412d8f4a265a437d06
2015-04-16 12:12:07 +00:00
drh
67731a97a2
Use a heap instead of a bitmap for cell overlap and coverage testing of
...
btree pages in PRAGMA integrity_check.
FossilOrigin-Name: 5619c959bf7babb19fd8ba8b228be7f090fe0ce3
2015-04-16 11:56:03 +00:00
dan
0d2e2f2b10
Fix a problem in test file e_reindex.test.
...
FossilOrigin-Name: 5b3de9390f2ffc4c530fd47c71c70e87972cf74b
2015-04-16 08:54:01 +00:00
dan
5b1c07e7fb
Ensure the sqlite3Select() routine always returns non-zero if an error has occurred.
...
FossilOrigin-Name: b51028ed2f57f4245a7ebd9bdb99d1bcfaf1a01b
2015-04-16 07:19:23 +00:00
drh
22ecef5c20
When parsing the schema, ignore any SQL that does not begin with "CREATE".
...
FossilOrigin-Name: d3c00d61581c8ba6dce5618391432d3af8d324d4
2015-04-16 00:26:03 +00:00
drh
4b608038b0
Fix a potential one-byte buffer overread in the command-line shell.
...
FossilOrigin-Name: e018f4bf1f27f7838342940ad89a12d7f1536e8e
2015-04-15 19:25:25 +00:00
drh
f3392e32c7
Prevent the fetchPayload() routine from reporting a cell size that extends
...
off the end of the page on a pathologically corrupted database file.
FossilOrigin-Name: f71053cf658b3260a32ac06f8ba5c2cde0ea54dd
2015-04-15 17:26:55 +00:00
drh
748c7357ab
Enhance the showdb utility program so that it can read the last partial page
...
of a truncated database file.
FossilOrigin-Name: 61d72e17916bc043ce53c64e5ba7050a9bae554e
2015-04-15 15:29:05 +00:00
drh
a9de561b21
Add the --msvc command-line option to the releasetest.tcl script. This is
...
only a partial merge from the winTest branch as the OS_TRACE changes are
omitted.
FossilOrigin-Name: b8768f124ef7d79e500b60a3ede288d46a0f529d
2015-04-15 14:52:05 +00:00
dan
0d01ec8de8
Remove an incorrect assert() statement from sqlite3Fts3Dequote().
...
FossilOrigin-Name: bd06eeb8d06237dc2d54d8a03e8bf525cb811c9e
2015-04-15 09:16:39 +00:00
drh
0be0cf6721
Remove a branch that became unreachable due to one of the earlier check-ins
...
today.
FossilOrigin-Name: fa0956edf866f48f448967836709a3ad822ff917
2015-04-15 08:37:42 +00:00
dan
2deb12be2b
Fix a problem causing an assert() to fail if a snippet containing 0 tokens was requested from fts3.
...
FossilOrigin-Name: eafd0a1e3f25f38d551603f177ff4634cf79de77
2015-04-15 08:20:50 +00:00
drh
347bdc39a7
Fix the error message generator for illegal token errors so that it does not
...
leak memory if it immediately follows another erroneous SQL statement.
FossilOrigin-Name: 3576973f8b88b6109fbefdebfa53468ffa137009
2015-04-15 07:57:27 +00:00
drh
29031837c1
Remove an incorrect ALWAYS() from the automatic index generator.
...
FossilOrigin-Name: eeb4bd06bf69e411736cc6077d1d64af6bd8fb09
2015-04-15 07:34:25 +00:00
drh
1b6789697d
Remove an incorrect ALWAYS() from the table_info pragma.
...
FossilOrigin-Name: 0e087c0183bc7a758cf2a1d39158bc24fde833a2
2015-04-15 07:19:27 +00:00
drh
3dc4cc66b3
Change the multiSelectOrderBy() routine to return non-zero if there has
...
been any prior error.
FossilOrigin-Name: 14784c317bff05dd0a74e2596432dfd12c139391
2015-04-15 07:10:25 +00:00
drh
a43f02efc6
Fix a faulty assert() statement in the name resolver associated with the
...
optimization that converts compound selects with ORDER BY COLLATE into
subqueries.
FossilOrigin-Name: c72324ef9243946550ae3d974826502b1cc5eb10
2015-04-15 06:45:13 +00:00
drh
6456b7710c
Correctly handle COLLATE operators applied to COLLATE operators in an
...
ORDER BY clause.
FossilOrigin-Name: 9e1f837b08facbc7a2b6196770599a58233e725c
2015-04-15 05:57:50 +00:00
drh
3457338ced
Fix a faulty assert() in the sqlite3StrAccumAppend() routine.
...
FossilOrigin-Name: 998cfdb8dcda2cac94b83326751e16dcef8b267f
2015-04-15 05:38:35 +00:00
drh
65df68e8c5
Correctly deal with an unknown collating sequence on an indexed DISTINCT query.
...
FossilOrigin-Name: a0b6e2fed3e95cf78ed0515c6e4da7510af4e86a
2015-04-15 05:31:02 +00:00
drh
1978d171cb
When adding the implied "LIMIT 1" to the end of a scalar subquery, make sure
...
that subquery is not a VALUES-only query as such queries cannot deal with
LIMIT clauses.
FossilOrigin-Name: 7c27310bdf6b4af44a0811a2787ed64966d720d2
2015-04-15 05:20:44 +00:00
drh
0ec68f845c
When doing the (dubious) conversion of double-quoted identifier into string
...
literal for MySQL compatibility, be sure to also clear the iTable value from
the Expr entry to avoid an assert.
FossilOrigin-Name: d7211b68107ea669de39e0aa81a1be40901e1487
2015-04-15 04:51:28 +00:00
drh
311efc70a7
Add a test case for what was formerly thought to be an unreachable condition:
...
when the LHS of an OR operator contains an error and the RHS contains an IN
operator.
FossilOrigin-Name: 3872742591add4e94033484c2844e7d7ab69674b
2015-04-15 04:20:58 +00:00
drh
126a6e260c
An oversize hex literal can cause a parsing error while generating code for
...
constants that are factored out of the main body of the VDBE program. So
allow for that case.
FossilOrigin-Name: a084690b4fcabba20d9770ebf3a014dda84e2954
2015-04-15 04:10:50 +00:00