drh
1d96cc60d0
Remove unnecessary fields from the Parse object.
...
FossilOrigin-Name: 814e41da3563eecf5514811bc8ab2df4f5cc0d4b
2016-09-30 18:35:36 +00:00
drh
2a1df937ab
Avoid unnecessary Mem initializations when generating a new sqlite3_stmt
...
object.
FossilOrigin-Name: 47ae1cda8dc255d100aeb8cb90ea4c9e449509be
2016-09-30 17:46:44 +00:00
drh
dd3bfe8648
Small size and performance optimization to sqlite3VdbeChangeP5().
...
FossilOrigin-Name: 3c93c8f5bbf54ed2a331079b28fdd94eb0e59e69
2016-09-29 20:28:34 +00:00
drh
2831c4d123
Remove the peep-hole optimization of removing OP_Close opcodes that come
...
before OP_Halt, as the extra work of removing those opcodes uses more cycles
than just running them.
FossilOrigin-Name: 984a96d79656c1b095aba1f88aca4bb787ba0bd8
2016-09-29 19:50:02 +00:00
drh
42735c7d30
Size and performance optimization to sqlite3ValueFromExpr()
...
FossilOrigin-Name: 945f82bc44c5a431c0fef0d36cf016671d7ade1e
2016-09-29 19:27:16 +00:00
drh
22fa36dc04
Clarification and typo-fixes in comments. No changes to code.
...
FossilOrigin-Name: e2cd79aa3104c51035bf29c548c322564731b75f
2016-09-29 15:53:28 +00:00
drh
5f33eaa6a4
Use Knuth multiplicative hashing for the symbol table.
...
FossilOrigin-Name: cc29ddd6be60bdbf107f285c9eb57d5896ebca2d
2016-09-28 20:42:31 +00:00
drh
5e769a50ad
Two more typo fixes in comments.
...
FossilOrigin-Name: 40c0fb0af678797c39a99853f9f4102464c16f4b
2016-09-28 16:05:53 +00:00
drh
ed204d1f44
Fix typos in comments. No code changes.
...
FossilOrigin-Name: 5bbd071d57a8048e2ca17bf97761e4f27fc5a6bf
2016-09-28 16:04:22 +00:00
drh
96fdcb40af
Update requirements marks due to improvements in the wording of documentation.
...
No changes to code.
FossilOrigin-Name: bf903b2ecac5d7b25c9cc899cae41f1d69aafe4e
2016-09-27 00:09:33 +00:00
drh
2e34326555
Fix FTS3 test cases due to the flattener change of the previous check-in.
...
FossilOrigin-Name: 0c8b9b211f4285e2ab77cf5e0820088ef10e05c4
2016-09-27 00:03:25 +00:00
dan
4c5ebee0b5
When flattening a query of the form "SELECT * FROM (SELECT * FROM tbl WHERE x=?) WHERE y=?", ensure that the final WHERE clause is "x=? AND y=?" instead of "y=? AND x=?". Although it is still not guaranteed, this makes the order in which WHERE clause terms are processed comport more closely to users expectations.
...
FossilOrigin-Name: cf7f9e6d5abff273dd2f8a8dce27d52e1449b3be
2016-09-26 14:39:05 +00:00
drh
0cd874bd57
Inline the relevent parts of sqlite3ExprAlloc() into spanExpr(), for a
...
performance improvement.
FossilOrigin-Name: fe89225eab777c2c9cb1cbc31092b9e39f516842
2016-09-26 12:38:22 +00:00
drh
410c301fea
Omit the LikeOp object from the parser. Change more sqlite3PExpr() calls into
...
sqlite3ExprAlloc() calls.
FossilOrigin-Name: 795454a3fa5f9ccc486593b5e16e8fad38c934fb
2016-09-24 17:42:43 +00:00
drh
87f0e9863d
Add -DSQLITE_MAX_EXPR_DEPTH=0 to the --lean option on speed-check.sh.
...
FossilOrigin-Name: a8cb1390fc1234b2e925090c4d770cca5d587bea
2016-09-24 01:41:59 +00:00
drh
209bc522b0
Add the EP_Leaf flag bit to the Expr.flags field to indicate Expr
...
nodes that do not have substructure. Use that bit to avoid unnecessary
recursion.
FossilOrigin-Name: 8a6ea455cd1bf42ae0a7f1f1789baf88d782db13
2016-09-23 21:36:24 +00:00
drh
e1c03b6233
Use sqlite3ExprAlloc() instead of sqlite3PExpr() for leaf nodes in the
...
expression tree, where appropriate. This is both smaller and faster.
FossilOrigin-Name: afac0709cec577a7851e3711730712cf12eeb6af
2016-09-23 20:59:31 +00:00
drh
8dd099bbaa
New test case for the ORDER BY LIMIT optimization.
...
FossilOrigin-Name: 9a5a489d0d344274d0fc9fb9303503a454f42844
2016-09-23 18:13:01 +00:00
drh
28f17017ee
Fix a potential null-pointer dereference and crash in the case where one
...
thread is calling sqlite3_column_text() and another thread is calling
sqlite3_step() on the same prepared statement at the same instant.
FossilOrigin-Name: ee1382a36303eff8d94275ac3b12e5ce398ee620
2016-09-22 21:37:18 +00:00
drh
511f9e8d29
Remove the internal sqlite3CodeOnce() interface, replacing it with a
...
direct call to sqlite3VdbeAddOp0(v,OP_Once). Slightly smaller and faster.
FossilOrigin-Name: c3774c6a5fe48af91fda28e9e18c6ed9053ea992
2016-09-22 18:53:13 +00:00
mistachkin
5a0da94302
Makefile changes to support building winsqlite3.dll using STDCALL rather than CDECL.
...
FossilOrigin-Name: 5e892d60935e5c82234d1bfaef4c5026061acceb
2016-09-22 18:46:38 +00:00
drh
98ef26b0d4
Fix speedtest1.c so that it works with SQLITE_OMIT_DEPRECATED.
...
Add the --lean and --cachesize options to speed-check.sh.
FossilOrigin-Name: 7785b3a25778cc19861c01f4148f72e0f724f55d
2016-09-21 23:58:49 +00:00
dan
49377a8fb7
Fix a problem with the fts5 auxiliary function API causing a crash when a query contained a phrase of zero terms.
...
FossilOrigin-Name: 0741812d7fcd558479e4849fbb3ba8d03738d018
2016-09-21 19:43:34 +00:00
dan
30f8c23657
Do not run vacuummem.test if ENABLE_MEMORY_MANAGEMENT is defined.
...
FossilOrigin-Name: 4a613d856433ac48e8ee0cd7f0e774e484e8acf6
2016-09-21 19:00:37 +00:00
drh
fb04a36c20
Fix obsolete requirements marks. Add new tests for VACUUM of attached
...
databases.
FossilOrigin-Name: 2b44f9aa7d4e2089dacd6bfcf526dae9309b7af3
2016-09-21 18:18:57 +00:00
dan
b6ea12cc05
Avoid running vacuum5.test in auto-vacuum mode.
...
FossilOrigin-Name: be184befa09ef0a670a2a6d9c037b9a27bcf16d8
2016-09-21 17:53:47 +00:00
dan
b390681622
Do not run test "delete_db.test" with either the journaltest or inmemoryjournal permutations. Ensure that the multiplexor tests in delete_db.test are performed in non-autovacuum mode.
...
FossilOrigin-Name: 46b7d19e0282ecd7622344aafad8c2feb83c9658
2016-09-21 17:47:59 +00:00
dan
48a72ebfa3
Update the fts5vocab table to handle "ORDER BY term" efficiently.
...
FossilOrigin-Name: d4928fb5cd63a72808f01778fa5a11395385dedf
2016-09-21 14:41:09 +00:00
drh
09952c6490
Improved implementation of 64-bit signed integer multiply that correctly
...
detects overflow (and promotes to floating-point) in some corner cases.
Fix for ticket [1ec41379c9c1e400]
FossilOrigin-Name: db3ebd7c52cfc5fcc7be00f52e9d7c84719f7b93
2016-09-20 22:04:05 +00:00
mistachkin
d8992cef36
Fix harmless compiler warning.
...
FossilOrigin-Name: 72429063956614975d90cae2a829cfa4296694da
2016-09-20 17:49:01 +00:00
mistachkin
e0736da15a
Fix typo in comment.
...
FossilOrigin-Name: bd3ecbb5c1977744321f4bbac79fd7e2e7c1b5ba
2016-09-20 17:38:27 +00:00
drh
ff535a2499
Further performance enhancements in zeroblob() handling.
...
FossilOrigin-Name: 21b0e3b75c531a5ce33a1503f9bf647d56f56a5b
2016-09-20 01:46:15 +00:00
drh
8aaf7bcc8d
Avoid unnecessary calls to ExpandBlob() for smaller and faster code.
...
FossilOrigin-Name: 5e196fd18169e84806cd45dd1a8190339323e772
2016-09-20 01:19:18 +00:00
drh
fadd2b1972
Very small optimization in the bytecode engine.
...
FossilOrigin-Name: 46002511e52518bae14f210157f231c814c77c9e
2016-09-19 23:39:34 +00:00
drh
9a2e5169a4
Fix a segfault introduced by the row-value enhancement that comes up on
...
a skip-scan where the first term of the index is unconstrained and the
second term is of the form "columm IN (SELECT...)".
FossilOrigin-Name: 2401ea5acfeee8042489d1db38036ff86e8a6916
2016-09-19 11:00:42 +00:00
drh
c332cc30d9
Improved performance in sqlite3ExprCodeTarget().
...
FossilOrigin-Name: 75146165dcc1ae1faab46b1a7333ef795d5eeac5
2016-09-19 10:24:19 +00:00
drh
d43075bcaf
Small performance optimization in the expression walker.
...
FossilOrigin-Name: c6e6afb9391704d9119335f2ce17df3968acb514
2016-09-19 02:19:00 +00:00
drh
9e5eb9c8cc
Revise the implementation of OP_Once so that it is smaller, faster, and uses
...
less memory. This also fixes an obscure bug introduced 3 days ago by check-in
[5990a1bdb4a073].
FossilOrigin-Name: 6bf5ba10d28f1b0a32aa9a560ae3143a1235eadb
2016-09-18 16:08:10 +00:00
mistachkin
598f7c59e1
Minor enhancement to the TclKit batch tool: it should download the TclKit EXE alone when the TCLKIT_NOENV environment variable is set.
...
FossilOrigin-Name: baceb988c6f4e93134e6a63173e846af2b73531a
2016-09-17 22:46:13 +00:00
drh
85f071b850
Small performance optimization in the freeSpace() routine of btree.c.
...
FossilOrigin-Name: 63962e2a927963575be74c3ce11f39f722c07c72
2016-09-17 19:34:32 +00:00
drh
fd7459e0aa
Improved description of the ElseNotEq opcode in comments. No changes to code.
...
FossilOrigin-Name: e011435e2f57ddfe315d5da48e93185d6789fc80
2016-09-17 17:39:01 +00:00
mistachkin
8145fc6eda
Fix typo in the name of a Win32 string conversion routine. Replace several uses of raw_printf() with utf8_printf() in the shell.
...
FossilOrigin-Name: 6fc95dd7a0b44212f30e657a850892a85a12715c
2016-09-16 20:39:21 +00:00
drh
7152cc0641
If no KEY is specified on ATTACH, copy the main schema key if the key size
...
is non-zero. In other words, allow for -1 as a valid key size in support
of the --textkey to SEE.
FossilOrigin-Name: 03573887dbf357f8aa54e4a1cd03b82b0ded8139
2016-09-16 19:42:47 +00:00
drh
d145915a59
Fix problems with the fileRead() function in the command-line shell. Fix
...
a harmless memory leak in the command-line shell, to make validation testing
easier.
FossilOrigin-Name: e660402e5e654b7f37ad2ce201df5cbb2b9eb9a6
2016-09-16 19:11:03 +00:00
drh
0882da8001
Remove the #ifdef SQLITE_DEBUG from around the testcase_glob() routine
...
in the command-line shell.
FossilOrigin-Name: 9885dac4b98693c4d2ed643022127f1452f19dc6
2016-09-16 18:53:42 +00:00
dan
edc3537c61
Fix a problem causing incorrect code to be generated for IN constraints like "a IN (1, 2, 3)" where column "a" is a rowid column with an extra UNIQUE index created on it. Ticket [0eab1ac759].
...
FossilOrigin-Name: a92aee5520cfaf85ae896365a7e42bdd981f828d
2016-09-16 16:30:57 +00:00
drh
72d5003ed8
Replace a faulty assert() with a testcase() to assure the condition is
...
tested.
FossilOrigin-Name: a49bc0a8244feb08b83e716d81c2a9512c184539
2016-09-16 15:42:17 +00:00
drh
4313f045c2
Add WHERETRACE macros showing every entry and exit from
...
whereLoopAddBtreeIndex().
FossilOrigin-Name: e7653decdcee161d379ced40aa1b27246337b000
2016-09-16 14:50:38 +00:00
drh
a0daa751f8
Fix SQLITE_OMIT_AUTHORIZATION so that it compiles cleanly.
...
FossilOrigin-Name: a3e3b3e1c57178ccd38fc7375ec1de8e8ae45372
2016-09-16 11:53:10 +00:00
drh
760c8162ff
In the shell, make ".testcase" and ".check" available in all configurations,
...
not just SQLITE_DEBUG. All testcases to be named. Show the result of each
testcase on stdout.
FossilOrigin-Name: 792afefa9c750910082fd102f1ccd10309759dfc
2016-09-16 02:52:22 +00:00