drh
00808deed0
Improvement to "ID" formatting on the ".selecttrace 0x1ff" debugging function.
...
FossilOrigin-Name: 01c50cee37bfaddfecdda014728c35a1be1d991a
2015-04-23 13:00:42 +00:00
dan
38f2024062
Fix a problem causing the fts3 integrity-check to fail if run inside a transaction.
...
FossilOrigin-Name: 3b925189a75eae875da256b6e54999cad3cef1eb
2015-04-23 11:52:04 +00:00
drh
0ba51089c8
Improved filtering of input for fuzzershell for modes other than generic.
...
FossilOrigin-Name: 025e8370dde2918b66683f8d7fa9c7d23d03c9b4
2015-04-22 13:16:46 +00:00
dan
39b7ff7987
Add comments related to database locking to sqlite3ota.h.
...
FossilOrigin-Name: 77242965e77446313a8f0a65a39fccb67fe4cabf
2015-04-22 11:34:38 +00:00
drh
3fb2cc1173
Change the printf, strftime, and glob modes of fuzzershell so that they
...
reject all inputs that do not start with a string literal followed by a
comma. This helps the fuzzer focus in on the kinds of behavior those modes
are intended to test.
FossilOrigin-Name: 1cceefa7c6585bca786fe9f7118f7beb829ad709
2015-04-22 11:16:34 +00:00
mistachkin
318d38cf7e
When compiling for UAP, link against the new minimal MSVC runtime.
...
FossilOrigin-Name: 2cb945116e7a5b78741b19839899826b539d5868
2015-04-22 01:33:53 +00:00
drh
1cb50c880e
Alternative fix for the double-initialization of type and collating sequence
...
problem that leaves the estimated table size intact.
FossilOrigin-Name: 623ddbdbf48d26dac58c593bcb9e7b184334ddfc
2015-04-21 17:17:47 +00:00
drh
dfb5e1cbc6
Make sure the datatype and collating sequence of transients tables are
...
not initialized more than once. Otherwise a memory leak results.
FossilOrigin-Name: 9e6beda2c8d879e438ee933e658f860d6eb42a20
2015-04-21 17:07:01 +00:00
dan
464083544e
Ensure that tables names are dequoted exactly once by the trigger logic.
...
FossilOrigin-Name: 9d887b92f8086961e045f8acb9ee7a443796d411
2015-04-21 16:38:49 +00:00
drh
be360e1ed1
Fix a memory leak in the SELECT code generator tracing logic (code that is
...
omitted in non-debugging builds).
FossilOrigin-Name: b623ebd859dcb1d99398aa9953f6b113bad26304
2015-04-21 16:09:07 +00:00
dan
4b79bde7a2
Fix an obscure problem with "INSERT INTO tbl(cols) SELECT" statements where the SELECT is a compound with an ORDER BY and "cols" is a strict subset of tbl's columns.
...
FossilOrigin-Name: 718d5d0eab045a874107e078a857226a80ab912d
2015-04-21 15:49:04 +00:00
dan
903dd7d5d1
Add a comment to sqlite3ota.h. No code changes.
...
FossilOrigin-Name: 352fa09efd8240567b8f9487944e8c3ade4e664a
2015-04-21 15:35:30 +00:00
drh
7c052da54d
Change an assert() in the aggregate query code generator into a testcase().
...
FossilOrigin-Name: d1e6bc918b0c8e0701f5e15afb91b84a9004231b
2015-04-21 15:16:48 +00:00
dan
3c9a073723
Fix an fts4 problem to do with the handling of phrases that contain zero tokens.
...
FossilOrigin-Name: caba5be0b2bdaf4eb4af9af267c0c22dfbd3dba5
2015-04-21 12:06:53 +00:00
drh
b6b676ea7c
Fix some identifier name de-quoting issues in the foreign key and trigger logic.
...
FossilOrigin-Name: 59e92bd9521f1e8315a9a7e7fd3d63b0c75eaf0e
2015-04-21 03:13:47 +00:00
drh
60f4e0918d
Test case for the previous check-in.
...
FossilOrigin-Name: a526f58bc96c0fdead51b6bd9aafea7b48bf398e
2015-04-21 02:17:30 +00:00
drh
0f517ea8d4
Make sure the whereSplit() routine in the query planner is not confused
...
by the likely() operator.
FossilOrigin-Name: 588db14ffb4b0e8e76d511b7b1541db3ec78836a
2015-04-21 02:12:13 +00:00
mistachkin
76f6a130a9
Enable compilation and VSIX package creation with the Visual Studio 2015 CTP.
...
FossilOrigin-Name: 03b725a768290e3c7b31f1ba3310532fd7dc05cd
2015-04-21 00:23:38 +00:00
drh
9985dabbac
Add the --mode option to fuzzershell.
...
FossilOrigin-Name: b940b0fa6cf68fef58344d269ad5d39468ffe72f
2015-04-20 22:36:49 +00:00
drh
4a74d076e3
Many new configuration options for fuzzershell.
...
FossilOrigin-Name: 41c954391690833bf2ece4ea14457ee4bdd74e90
2015-04-20 18:58:38 +00:00
dan
4eed05347c
Fix a memory leak caused by duplicate entries in the sqlite_stat1 table.
...
FossilOrigin-Name: 2f58c8c9722fffc486610f9e6b08178d53a56b64
2015-04-20 15:13:08 +00:00
drh
cef2584335
Fix an obscure memory leak in sqlite3Stat4ProbeFree()
...
FossilOrigin-Name: c72abbe2c1735f3d563c6672616b2918b6209922
2015-04-20 13:59:18 +00:00
drh
f34e9aabd8
Enhance fuzzershell to support multiple blocks of SQL, each run in its own
...
private in-memory database.
FossilOrigin-Name: ab0a96ca73cfe92d5a837c71c148e8361f42acc3
2015-04-20 12:50:13 +00:00
drh
b496a8f547
Add an ALWAYS() around a new branch that was made unreachable by an even
...
newer change.
FossilOrigin-Name: 592c010478fba7410424f011a62e019c826f1ac3
2015-04-20 01:13:33 +00:00
mistachkin
19b887e4ec
Fix another harmless compiler warning.
...
FossilOrigin-Name: 5ae853aaebaee76c9265061984185f74c10c4c8b
2015-04-19 23:48:10 +00:00
mistachkin
0311b622c4
Merge updates from trunk.
...
FossilOrigin-Name: 59d1a3bb6050a812c4eb0d25ac53327081b9efed
2015-04-19 23:40:55 +00:00
mistachkin
f659cf48e8
Modify the 'mkvsix' tool itself to support the Visual Studio 2015 CTP.
...
FossilOrigin-Name: e0b7a191f3c22d9eacf645c58be59e0fdcb8860d
2015-04-19 23:39:05 +00:00
drh
542a176d5e
Fix an off-by-one assert() in the virtual table argument tokenizer.
...
FossilOrigin-Name: c83052e48bbae0f45db2a44155b4e5482ee4a901
2015-04-19 23:11:10 +00:00
drh
992590be1c
Fix a broken assert() and comparison for INSERT INTO ... SELECT when the
...
SELECT uses an unknown collating sequence.
FossilOrigin-Name: e73ac0cbac257d2d2b28e51423e30d7449b6c7b5
2015-04-19 22:41:22 +00:00
drh
7520996965
Silently ignore parser stack overflow when parsing a malformed schema in
...
PRAGMA writable_schema mode.
FossilOrigin-Name: 2cb37b959c66b5ae3535ab81ba14a4ebf9732df7
2015-04-19 22:31:45 +00:00
drh
5f1d2fa4d2
Fix another assert() that is not true if the database schema is corrupt.
...
FossilOrigin-Name: bc97cec6338b16a4e9b1a9457d01bb7fe462934d
2015-04-19 21:59:19 +00:00
mistachkin
8e18922f12
Fix harmless compiler warnings seen with MSVC 2015.
...
FossilOrigin-Name: d05becd873a03a366843a34e7f4c732dd8f88c86
2015-04-19 21:43:16 +00:00
drh
33c59ecafb
Fix a faulty assert in the schema parsing logic.
...
FossilOrigin-Name: b1ed949584a2526c04952b98c3aa283427f45e10
2015-04-19 20:39:17 +00:00
mistachkin
1c89a7710e
Document the NMAKE_ARGS environment variable as well.
...
FossilOrigin-Name: 977fd39c1509edec2e28cc8bac64e0994699f398
2015-04-19 19:53:43 +00:00
drh
d0c7305313
Fix a potential NULL pointer deference on a corrupt database schema.
...
FossilOrigin-Name: dc61b292d8eaf422ca8a2b18f1caccef1a5389fd
2015-04-19 19:21:19 +00:00
mistachkin
88eb7fa328
Improve documentation and comments in the MSVC batch build tool.
...
FossilOrigin-Name: ca64ef079811006f3e0526919871ffd286c3e714
2015-04-19 18:58:29 +00:00
drh
a21f78b93f
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
2015-04-19 18:32:43 +00:00
mistachkin
6bbe3dfaf2
Work in progress on making VSIX packages for the Visual Studio 2015 CTP.
...
FossilOrigin-Name: 8469d651a0442a2bc572a869a0457a6ea8c06bc7
2015-04-19 06:18:10 +00:00
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
dan
1c29c27bb0
Ensure that filenames passed to the VFS xOpen() function are terminated by 2 '\0' bytes.
...
FossilOrigin-Name: 66eff473c3634edb42f6ad6955acfba3e3a10def
2015-04-17 17:00:52 +00:00
dan
43030868e6
Fix a memory leak in sqlite3ota.c that can follow an OOM error.
...
FossilOrigin-Name: c3dc15e71782fc70e92b71ad9eec0cf8ffef611f
2015-04-17 16:29:11 +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