]>
git.ipfire.org Git - thirdparty/sqlite.git/log
mistachkin [Mon, 20 Apr 2015 23:53:50 +0000 (23:53 +0000)]
Merge updates from trunk.
FossilOrigin-Name:
583a79a04ac6f85766209918d1ee58d394d62454
drh [Mon, 20 Apr 2015 22:36:49 +0000 (22:36 +0000)]
Add the --mode option to fuzzershell.
FossilOrigin-Name:
b940b0fa6cf68fef58344d269ad5d39468ffe72f
drh [Mon, 20 Apr 2015 18:58:38 +0000 (18:58 +0000)]
Many new configuration options for fuzzershell.
FossilOrigin-Name:
41c954391690833bf2ece4ea14457ee4bdd74e90
dan [Mon, 20 Apr 2015 15:13:08 +0000 (15:13 +0000)]
Fix a memory leak caused by duplicate entries in the sqlite_stat1 table.
FossilOrigin-Name:
2f58c8c9722fffc486610f9e6b08178d53a56b64
drh [Mon, 20 Apr 2015 13:59:18 +0000 (13:59 +0000)]
Fix an obscure memory leak in sqlite3Stat4ProbeFree()
FossilOrigin-Name:
c72abbe2c1735f3d563c6672616b2918b6209922
drh [Mon, 20 Apr 2015 12:50:13 +0000 (12:50 +0000)]
Enhance fuzzershell to support multiple blocks of SQL, each run in its own
private in-memory database.
FossilOrigin-Name:
ab0a96ca73cfe92d5a837c71c148e8361f42acc3
drh [Mon, 20 Apr 2015 01:13:33 +0000 (01:13 +0000)]
Add an ALWAYS() around a new branch that was made unreachable by an even
newer change.
FossilOrigin-Name:
592c010478fba7410424f011a62e019c826f1ac3
mistachkin [Sun, 19 Apr 2015 23:48:10 +0000 (23:48 +0000)]
Fix another harmless compiler warning.
FossilOrigin-Name:
5ae853aaebaee76c9265061984185f74c10c4c8b
mistachkin [Sun, 19 Apr 2015 23:40:55 +0000 (23:40 +0000)]
Merge updates from trunk.
FossilOrigin-Name:
59d1a3bb6050a812c4eb0d25ac53327081b9efed
mistachkin [Sun, 19 Apr 2015 23:39:05 +0000 (23:39 +0000)]
Modify the 'mkvsix' tool itself to support the Visual Studio 2015 CTP.
FossilOrigin-Name:
e0b7a191f3c22d9eacf645c58be59e0fdcb8860d
drh [Sun, 19 Apr 2015 23:11:10 +0000 (23:11 +0000)]
Fix an off-by-one assert() in the virtual table argument tokenizer.
FossilOrigin-Name:
c83052e48bbae0f45db2a44155b4e5482ee4a901
drh [Sun, 19 Apr 2015 22:41:22 +0000 (22:41 +0000)]
Fix a broken assert() and comparison for INSERT INTO ... SELECT when the
SELECT uses an unknown collating sequence.
FossilOrigin-Name:
e73ac0cbac257d2d2b28e51423e30d7449b6c7b5
drh [Sun, 19 Apr 2015 22:31:45 +0000 (22:31 +0000)]
Silently ignore parser stack overflow when parsing a malformed schema in
PRAGMA writable_schema mode.
FossilOrigin-Name:
2cb37b959c66b5ae3535ab81ba14a4ebf9732df7
drh [Sun, 19 Apr 2015 21:59:19 +0000 (21:59 +0000)]
Fix another assert() that is not true if the database schema is corrupt.
FossilOrigin-Name:
bc97cec6338b16a4e9b1a9457d01bb7fe462934d
mistachkin [Sun, 19 Apr 2015 21:43:16 +0000 (21:43 +0000)]
Fix harmless compiler warnings seen with MSVC 2015.
FossilOrigin-Name:
d05becd873a03a366843a34e7f4c732dd8f88c86
drh [Sun, 19 Apr 2015 20:39:17 +0000 (20:39 +0000)]
Fix a faulty assert in the schema parsing logic.
FossilOrigin-Name:
b1ed949584a2526c04952b98c3aa283427f45e10
mistachkin [Sun, 19 Apr 2015 19:53:43 +0000 (19:53 +0000)]
Document the NMAKE_ARGS environment variable as well.
FossilOrigin-Name:
977fd39c1509edec2e28cc8bac64e0994699f398
drh [Sun, 19 Apr 2015 19:21:19 +0000 (19:21 +0000)]
Fix a potential NULL pointer deference on a corrupt database schema.
FossilOrigin-Name:
dc61b292d8eaf422ca8a2b18f1caccef1a5389fd
mistachkin [Sun, 19 Apr 2015 18:58:29 +0000 (18:58 +0000)]
Improve documentation and comments in the MSVC batch build tool.
FossilOrigin-Name:
ca64ef079811006f3e0526919871ffd286c3e714
drh [Sun, 19 Apr 2015 18:32:43 +0000 (18:32 +0000)]
Bring comments on the INSERT code generator up-to-date. Fix the INSERT code
generator so that it correctly handles inserts from a SELECT into a virtual
table with non-terminal hidden columns.
FossilOrigin-Name:
4ac81fac6c6302c042be3df493a41630b733fff0
mistachkin [Sun, 19 Apr 2015 06:18:10 +0000 (06:18 +0000)]
Work in progress on making VSIX packages for the Visual Studio 2015 CTP.
FossilOrigin-Name:
8469d651a0442a2bc572a869a0457a6ea8c06bc7
drh [Sat, 18 Apr 2015 19:20:14 +0000 (19:20 +0000)]
The sqlite3_trace() callback does not try to expand parameters in statements
that have no parameter.
FossilOrigin-Name:
917e3c36293a1bf052a16116c93e5037ed712f96
drh [Sat, 18 Apr 2015 17:43:29 +0000 (17:43 +0000)]
Fix an incorrect assert() statement in the CREATE INDEX code generator.
FossilOrigin-Name:
2eed41fda068f2cbac55e63d7c1875ddaa331508
dan [Sat, 18 Apr 2015 16:25:54 +0000 (16:25 +0000)]
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
drh [Sat, 18 Apr 2015 04:45:00 +0000 (04:45 +0000)]
Disregard leading zeros when converting strings to 32-bit integers.
FossilOrigin-Name:
691cc201e135a01c4cc4057be7e5d99285ab392d
drh [Sat, 18 Apr 2015 00:22:17 +0000 (00:22 +0000)]
Fix an incorrect assert() in the sqlite3_trace() logic.
FossilOrigin-Name:
eabde33997b5b2ffc0067930305d6fed5951a234
dan [Fri, 17 Apr 2015 20:51:55 +0000 (20:51 +0000)]
Fix a problem affecting some fts3 UPDATE and DELETE statements on order=DESC tables.
FossilOrigin-Name:
284c1623f81704ef80edb9324954525cb2b72172
drh [Fri, 17 Apr 2015 19:41:37 +0000 (19:41 +0000)]
In the expression-tree comparison routine, do not compiler Expr.iColumn
and Expr.iTable for TK_STRING expressions.
FossilOrigin-Name:
b67bb16c72c3e015ea82665ada9b5d3289ef6fb2
drh [Fri, 17 Apr 2015 18:52:37 +0000 (18:52 +0000)]
Always resolve symbols in all ORDER BY clauses of a compound-SELECT, even
illegal ORDER BY clauses.
FossilOrigin-Name:
6c39ef73d5899eabdb46db50c2b00c2d8381a41a
drh [Fri, 17 Apr 2015 18:22:53 +0000 (18:22 +0000)]
Remove unnecessary parser error count increments. Let the sqlite3ErrorMsg()
take care of doing that.
FossilOrigin-Name:
3f3b0f683af2fbee83811536f6bef770ff919385
drh [Fri, 17 Apr 2015 16:12:03 +0000 (16:12 +0000)]
Remove an ALWAYS() that turns out to be false when there is a semantic
error on a compound SELECT.
FossilOrigin-Name:
ad67a67c03078a2bc65d28f2b880b29bf02067c1
drh [Fri, 17 Apr 2015 15:58:33 +0000 (15:58 +0000)]
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
drh [Fri, 17 Apr 2015 15:16:58 +0000 (15:16 +0000)]
Fix a faulty assert() in sqlite3SelectNew().
FossilOrigin-Name:
620d19c3b462f5c4763ebd26513321431f21dd72
drh [Fri, 17 Apr 2015 14:30:49 +0000 (14:30 +0000)]
Add the tool/fuzzershell.c utility program.
FossilOrigin-Name:
db8d9af4d04ee862995ffa13ae6dcd9a1fc72855
drh [Fri, 17 Apr 2015 12:16:09 +0000 (12:16 +0000)]
Fix the header comment on the sqldiff utility program. No code changes.
FossilOrigin-Name:
b355ca3a3f617cd6d4c45c8e27ecd75d9e68b792
drh [Thu, 16 Apr 2015 23:04:17 +0000 (23:04 +0000)]
Restrict the scope of a local-use function in the parser.
FossilOrigin-Name:
cd6598f47480a6189df3e4283231833fd246d7fb
drh [Thu, 16 Apr 2015 21:57:37 +0000 (21:57 +0000)]
Use a heap rather than a bitmap for cell coverage and overlap testing on
btree pages in PRAGMA integrity_check.
FossilOrigin-Name:
e94b2ef2242d716379a35dba3d2df1ac512c8d30
drh [Thu, 16 Apr 2015 20:27:09 +0000 (20:27 +0000)]
Fix a couple of unreachable branches.
FossilOrigin-Name:
8f391dffcfe068d48f854784648610d8a86f6bc8
drh [Thu, 16 Apr 2015 20:10:17 +0000 (20:10 +0000)]
Fix a boundry-value condition in the phrase poslist extractor of FTS3/4.
FossilOrigin-Name:
55d10baf0bffdb1a34bf5627ed8f25e4a4efd942
drh [Thu, 16 Apr 2015 18:11:50 +0000 (18:11 +0000)]
Make sure all cursors are closed when returning from a VDBE subprogram that
implements a foreign-key construct.
FossilOrigin-Name:
d04d354d8e423961c3091b6ebcfbbbf10d3ecb04
drh [Thu, 16 Apr 2015 17:31:02 +0000 (17:31 +0000)]
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
drh [Thu, 16 Apr 2015 16:22:27 +0000 (16:22 +0000)]
Fix a faulty assert() in the compound-SELECT code generator.
FossilOrigin-Name:
10715b05f2201a63dca317f99ce39d3ce182e182
drh [Thu, 16 Apr 2015 16:04:39 +0000 (16:04 +0000)]
Silently ignore requests to change the PRAGMA synchronous setting to an
illegal integer value, rather than raising an assertion.
FossilOrigin-Name:
e0a88176fcfbed7b554a036948261a332c920053
drh [Thu, 16 Apr 2015 15:47:06 +0000 (15:47 +0000)]
Make sure errors in coding triggers are propagated back up to the parser.
FossilOrigin-Name:
928f973ca9adc7933015b2fb6b6fcb8e3154cb9c
drh [Thu, 16 Apr 2015 15:05:04 +0000 (15:05 +0000)]
Add the --backslash option to the command-line shell for testing purposes.
FossilOrigin-Name:
dd96211e8022365637286b146120cc5db44a9923
drh [Thu, 16 Apr 2015 14:33:35 +0000 (14:33 +0000)]
Fix a faulty assert() in the compound select code generator.
FossilOrigin-Name:
9d336be1b16aa9bd5c9e4132bb645874993c7d96
drh [Thu, 16 Apr 2015 14:13:12 +0000 (14:13 +0000)]
Improvements to the way VALUES clauses are parsed.
FossilOrigin-Name:
ec5a493ad27593ca78899b3001630c1898b940ff
drh [Thu, 16 Apr 2015 12:12:07 +0000 (12:12 +0000)]
Fix the corruptC.test module due to a change in error message text.
FossilOrigin-Name:
7c0deed25762a954c78d98412d8f4a265a437d06
drh [Thu, 16 Apr 2015 11:56:03 +0000 (11:56 +0000)]
Use a heap instead of a bitmap for cell overlap and coverage testing of
btree pages in PRAGMA integrity_check.
FossilOrigin-Name:
5619c959bf7babb19fd8ba8b228be7f090fe0ce3
dan [Thu, 16 Apr 2015 08:54:01 +0000 (08:54 +0000)]
Fix a problem in test file e_reindex.test.
FossilOrigin-Name:
5b3de9390f2ffc4c530fd47c71c70e87972cf74b
dan [Thu, 16 Apr 2015 07:19:23 +0000 (07:19 +0000)]
Ensure the sqlite3Select() routine always returns non-zero if an error has occurred.
FossilOrigin-Name:
b51028ed2f57f4245a7ebd9bdb99d1bcfaf1a01b
drh [Thu, 16 Apr 2015 00:26:03 +0000 (00:26 +0000)]
When parsing the schema, ignore any SQL that does not begin with "CREATE".
FossilOrigin-Name:
d3c00d61581c8ba6dce5618391432d3af8d324d4
drh [Wed, 15 Apr 2015 19:25:25 +0000 (19:25 +0000)]
Fix a potential one-byte buffer overread in the command-line shell.
FossilOrigin-Name:
e018f4bf1f27f7838342940ad89a12d7f1536e8e
drh [Wed, 15 Apr 2015 17:26:55 +0000 (17:26 +0000)]
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
drh [Wed, 15 Apr 2015 15:29:05 +0000 (15:29 +0000)]
Enhance the showdb utility program so that it can read the last partial page
of a truncated database file.
FossilOrigin-Name:
61d72e17916bc043ce53c64e5ba7050a9bae554e
drh [Wed, 15 Apr 2015 14:52:05 +0000 (14:52 +0000)]
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
dan [Wed, 15 Apr 2015 09:16:39 +0000 (09:16 +0000)]
Remove an incorrect assert() statement from sqlite3Fts3Dequote().
FossilOrigin-Name:
bd06eeb8d06237dc2d54d8a03e8bf525cb811c9e
drh [Wed, 15 Apr 2015 08:37:42 +0000 (08:37 +0000)]
Remove a branch that became unreachable due to one of the earlier check-ins
today.
FossilOrigin-Name:
fa0956edf866f48f448967836709a3ad822ff917
dan [Wed, 15 Apr 2015 08:20:50 +0000 (08:20 +0000)]
Fix a problem causing an assert() to fail if a snippet containing 0 tokens was requested from fts3.
FossilOrigin-Name:
eafd0a1e3f25f38d551603f177ff4634cf79de77
drh [Wed, 15 Apr 2015 07:57:27 +0000 (07:57 +0000)]
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
drh [Wed, 15 Apr 2015 07:34:25 +0000 (07:34 +0000)]
Remove an incorrect ALWAYS() from the automatic index generator.
FossilOrigin-Name:
eeb4bd06bf69e411736cc6077d1d64af6bd8fb09
drh [Wed, 15 Apr 2015 07:19:27 +0000 (07:19 +0000)]
Remove an incorrect ALWAYS() from the table_info pragma.
FossilOrigin-Name:
0e087c0183bc7a758cf2a1d39158bc24fde833a2
drh [Wed, 15 Apr 2015 07:10:25 +0000 (07:10 +0000)]
Change the multiSelectOrderBy() routine to return non-zero if there has
been any prior error.
FossilOrigin-Name:
14784c317bff05dd0a74e2596432dfd12c139391
drh [Wed, 15 Apr 2015 06:45:13 +0000 (06:45 +0000)]
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
drh [Wed, 15 Apr 2015 05:57:50 +0000 (05:57 +0000)]
Correctly handle COLLATE operators applied to COLLATE operators in an
ORDER BY clause.
FossilOrigin-Name:
9e1f837b08facbc7a2b6196770599a58233e725c
drh [Wed, 15 Apr 2015 05:38:35 +0000 (05:38 +0000)]
Fix a faulty assert() in the sqlite3StrAccumAppend() routine.
FossilOrigin-Name:
998cfdb8dcda2cac94b83326751e16dcef8b267f
drh [Wed, 15 Apr 2015 05:31:02 +0000 (05:31 +0000)]
Correctly deal with an unknown collating sequence on an indexed DISTINCT query.
FossilOrigin-Name:
a0b6e2fed3e95cf78ed0515c6e4da7510af4e86a
drh [Wed, 15 Apr 2015 05:20:44 +0000 (05:20 +0000)]
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
drh [Wed, 15 Apr 2015 04:51:28 +0000 (04:51 +0000)]
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
drh [Wed, 15 Apr 2015 04:20:58 +0000 (04:20 +0000)]
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
drh [Wed, 15 Apr 2015 04:10:50 +0000 (04:10 +0000)]
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
drh [Tue, 14 Apr 2015 19:01:08 +0000 (19:01 +0000)]
Add the --summary option to the sqldiff command-line tool.
FossilOrigin-Name:
88b22761c59b06fa86c57f8d22a46046ad17d5d5
drh [Tue, 14 Apr 2015 15:14:06 +0000 (15:14 +0000)]
Update API documentation to identify many functions as methods on objects.
No changes to code.
FossilOrigin-Name:
b549cbcee1c11f9ffedf763ca672b125eac87bfe
drh [Mon, 13 Apr 2015 23:05:28 +0000 (23:05 +0000)]
Add #ifdef magic for HAVE_GETHOSTUUID so that the build will hopefully now
work on more verions of MacOS with SQLITE_ENABLE_LOCKING_STYLE turned on.
FossilOrigin-Name:
211411d02c0729c9af0e3cc7e4910db2e7e0d08e
drh [Mon, 13 Apr 2015 22:26:55 +0000 (22:26 +0000)]
On a DETACH statement, keep all schemas intact except fo the one that is
being detached, and thus avoid unnecessary schema reparsing.
FossilOrigin-Name:
661db19b34566642dd44ee4cff4ebc093cb8a552
drh [Mon, 13 Apr 2015 21:39:54 +0000 (21:39 +0000)]
Omit the "pc" or "program counter" variable from the VDBE loop for 0.6%
performance increase.
FossilOrigin-Name:
d2f10c41a832f520de13cf8315be22e66552f8e1
drh [Mon, 13 Apr 2015 19:14:06 +0000 (19:14 +0000)]
Remove the out2-prerelease VDBE opcode property and its associated code,
for a 0.5% performance improvement.
FossilOrigin-Name:
e29c7f2c910dac07f0f92dfef5e0e743141954eb
dan [Mon, 13 Apr 2015 17:43:43 +0000 (17:43 +0000)]
Add a comment to wal.c to explain why a race condition is safe.
FossilOrigin-Name:
bc33af866403c23d548dd4705675315810d52d7f
drh [Mon, 13 Apr 2015 14:44:01 +0000 (14:44 +0000)]
Remove a faulty assert() from the btree balancing logic.
FossilOrigin-Name:
d06669d968c8f6af8799fbfeabadaab68b9b8db8
dan [Mon, 13 Apr 2015 14:08:27 +0000 (14:08 +0000)]
Test that if the definition of a collation sequence is changed and VACUUM run, the new database contains records sorted in the (new) correct order.
FossilOrigin-Name:
ce6eaac10a190b26b87bfe75918e2ef58fd7a3f9
drh [Mon, 13 Apr 2015 14:03:54 +0000 (14:03 +0000)]
Remove an unreachable branch from the VACUUM logic.
FossilOrigin-Name:
65ace4b062d9454a296c5a1aa7ea7316b1507ad4
drh [Mon, 13 Apr 2015 12:45:58 +0000 (12:45 +0000)]
Remove an unreachable branch from the vdbeSorterCompareInt() routine.
FossilOrigin-Name:
f666ef06869f4fb655c43daacf5034c17575d951
drh [Sun, 12 Apr 2015 21:28:50 +0000 (21:28 +0000)]
Update the version number to 3.8.10 because of the new sort optimizations from check-in [
79326d6eec ].
FossilOrigin-Name:
bd2cfa1d72368db91064bace298df3d77d9963e6
drh [Sun, 12 Apr 2015 17:35:27 +0000 (17:35 +0000)]
Fix a problem with a stale Select.pWith pointer when a CTE is used together
with a compound query and an ORDER BY clause.
FossilOrigin-Name:
9a453f52a2b30595891604ede7d4acf61c2736a1
drh [Sun, 12 Apr 2015 01:22:04 +0000 (01:22 +0000)]
Avoid problems when a query has a GROUP BY and an ORDER BY but no FROM clause.
FossilOrigin-Name:
e527d96a1e098ade4e9d124b630a8c2ea2ac9b36
dan [Sat, 11 Apr 2015 20:44:28 +0000 (20:44 +0000)]
Optimizations for VACUUM, CREATE INDEX and some cases of ORDER BY.
FossilOrigin-Name:
79326d6eece926fd1c148b29f0b726208d8b44c0
dan [Sat, 11 Apr 2015 20:20:29 +0000 (20:20 +0000)]
Fix a problem with sorting large amounts of partially ordered data.
FossilOrigin-Name:
acca97efda86a0c020854d2dd9da16f5879986b1
dan [Sat, 11 Apr 2015 18:45:55 +0000 (18:45 +0000)]
Merge latest trunk changes with this branch.
FossilOrigin-Name:
cf7590f607d94a120385576b538484ca738349e2
drh [Sat, 11 Apr 2015 13:49:16 +0000 (13:49 +0000)]
Add the --changeset option to the sqldiff utility program, for generating
a sessions changeset file instead of an SQL diff.
FossilOrigin-Name:
f9a3a8391c28cf13d76ec54f471735d35059acea
drh [Sat, 11 Apr 2015 13:48:01 +0000 (13:48 +0000)]
The --changeset option now appears to be working.
FossilOrigin-Name:
1a2e2803920dcf64190d81d8a487d6c3c9bb28ee
drh [Sat, 11 Apr 2015 12:07:40 +0000 (12:07 +0000)]
First complete attempt to generate a working changeset. Still contains bugs.
FossilOrigin-Name:
5611fa9bd5b8fd762d16ce9b0853c2e779a1a1b7
dan [Sat, 11 Apr 2015 11:53:39 +0000 (11:53 +0000)]
Update tests in whereD.test to account for the change in the previous commit.
FossilOrigin-Name:
da49700ca148d91e1b8863c2eb6ee79144e83ac9
dan [Sat, 11 Apr 2015 11:44:27 +0000 (11:44 +0000)]
Do not assume an index contains unique entries unless it is declared UNIQUE and NOT NULL is specified for all columns. Fix for [
7b4fee9f6c ].
FossilOrigin-Name:
e3b1f625518edc0e925116668dca5d25c3232b59
drh [Sat, 11 Apr 2015 02:08:48 +0000 (02:08 +0000)]
Detect and report oversized records constructed from multiple zeroblobs.
FossilOrigin-Name:
9e139afd92116ebc593114ed63b57c8f469653f6
mistachkin [Fri, 10 Apr 2015 21:16:11 +0000 (21:16 +0000)]
Minor build enhancements for MSVC.
FossilOrigin-Name:
40c417a7efb17221cec4a0a703863854bcab8db2
drh [Fri, 10 Apr 2015 19:41:18 +0000 (19:41 +0000)]
Work toward adding the --changeset option to the sqldiff utility program.
Changes are incomplete. This is an incremental check-in.
FossilOrigin-Name:
463e38d765f9d055b63792a8ea15c3782657b07f
dan [Fri, 10 Apr 2015 16:05:33 +0000 (16:05 +0000)]
In sqlite3_declare_vtab(), avoid accessing the database structure until after the "api-armour" safety-check has completed and the db mutex has been obtained.
FossilOrigin-Name:
860e4f8a94901d451fac3954960c1d2f589e8882
drh [Fri, 10 Apr 2015 12:04:57 +0000 (12:04 +0000)]
Fix foreign key CASCADE for cases where the parent key is an INTEGER PRIMARY
KEY and the parent table contains other columns named "rowid", "_rowid_",
and "oid".
FossilOrigin-Name:
ed3cbaab6ad49b0cb5b17e44def26c866919387a
dan [Fri, 10 Apr 2015 08:20:42 +0000 (08:20 +0000)]
Update this branch with latest trunk changes.
FossilOrigin-Name:
60be9c1c1ad0d8250a99cadda820dff40a31c94e
dan [Fri, 10 Apr 2015 07:55:07 +0000 (07:55 +0000)]
Do not allow virtual table constructors to be called recursively.
FossilOrigin-Name:
0a72726da21581ab16cb3e964bd825b8f2e931e4