drh
b5895e50f9
sqlite3PCachePerecentDirty() should return 0 if the pcache is empty.
...
FossilOrigin-Name: 85f3d80eb7319754792eef76996b2c740a2b0073
2016-04-18 13:30:50 +00:00
drh
1454b26c17
Merge enhancements from trunk via tempfiles-lazy-open.
...
FossilOrigin-Name: ae16310c4e9a9b7e94874bd912fc6a4324cfaa2b
2016-04-13 19:20:23 +00:00
dan
0f52455a35
On commit, flush dirty temp-file pages only if the file is already open and 25% or more of the cache is dirty.
...
FossilOrigin-Name: f6babf2920340f25815c0a3c58de1e902c2f5542
2016-04-13 16:52:11 +00:00
drh
8ca7b177bb
Merge enhancements from trunk.
...
FossilOrigin-Name: e2edd34e79af906e7069e3e837730b12de0b73fe
2016-04-13 16:02:28 +00:00
drh
0cb64edc95
Fixes for harmless compiler warnings.
...
FossilOrigin-Name: 68142dc541b7a0a36fcb075a26f10f03c1e7c422
2016-04-13 15:52:16 +00:00
drh
4926fec967
Add the --indent option to the .schema and .fullschema commands in the shell,
...
to enable simple but effective pretty-printing.
FossilOrigin-Name: 83cfe82cd6d31ec0a6193525fd92e63a2a43b142
2016-04-13 15:33:42 +00:00
mistachkin
02d436b1f6
A couple more compiler warning fixes.
...
FossilOrigin-Name: 929fa4c31e7c5b8c6cbb1412478ea91b15ad5529
2016-04-12 20:26:51 +00:00
mistachkin
c5896b5cbb
Even more compiler warning fixes.
...
FossilOrigin-Name: 7faec9ea335c53953338886398b85aef87348a1c
2016-04-12 20:15:12 +00:00
mistachkin
77fac879d2
More harmless compiler warning fixes.
...
FossilOrigin-Name: ab69527c1608da0b668f3b49e967661dd99cc3d4
2016-04-12 20:05:06 +00:00
mistachkin
02267cc213
Compilation fix for a C99-ism in the 'fts3view' tool.
...
FossilOrigin-Name: bedb88a4b9c808ea781ae69058399a1a3a3d15fa
2016-04-12 19:30:31 +00:00
mistachkin
74f598b677
Fix harmless compiler warnings in the 'session' module.
...
FossilOrigin-Name: a18a6ce2271865d04cd75a8a5baa63798b7393db
2016-04-12 19:20:22 +00:00
dan
199f56b984
Once a temporary database file has been opened, flush all dirty pages to disk when comitting a transaction.
...
FossilOrigin-Name: bbac71aa2aa2380d393cda3be64b0208b464b27e
2016-04-12 19:09:29 +00:00
drh
741c2772db
Fix speedtest1 so that it automatically unlinks its test database prior
...
to startup.
FossilOrigin-Name: b65b69f6b686c6555876b6fc701da95cc49120b5
2016-04-12 17:13:33 +00:00
drh
2160ca5f8d
Add the --temp option to the speedtest1.c performance test program.
...
FossilOrigin-Name: 8053a6e2bf616fc9326f0323962176e318d7d2a5
2016-04-12 16:59:39 +00:00
drh
e11003d5ba
Improved localtime() support for WindowsCE
...
FossilOrigin-Name: 662c32af0276a9ef4eea2d29e2523ccc44b6d128
2016-04-12 16:23:30 +00:00
mistachkin
8366ddf242
Add and adjust comments.
...
FossilOrigin-Name: 541c6da23850673f5d2a2e31c3967b796ee2effc
2016-04-12 16:11:52 +00:00
drh
8a878f239c
Merge enhancements from trunk.
...
FossilOrigin-Name: 9682c0433c04713c28bd9105a7e20af7372f873e
2016-04-12 16:10:10 +00:00
drh
752b102e9b
Add the sqlite3_snapshot_cmp() interface (available only with
...
SQLITE_ENABLE_SNAPSHOT).
FossilOrigin-Name: 7e7289655185e7643ead6d685922528bc4d9e0ae
2016-04-12 16:04:07 +00:00
dan
745be369c7
Update the documentation for sqlite3_snapshot_cmp() to make the circumstances under which the comparison is valid clearer. Add tests for the same.
...
FossilOrigin-Name: 8fc834741bf6c8a832a180795c3d6f5c3dcfcd62
2016-04-12 15:14:25 +00:00
drh
70b8d6bbcc
Update the header comment on the memjournal.c file. No code changes.
...
FossilOrigin-Name: 07f10deabb0f4207408142541e3913d638dfcdeb
2016-04-12 11:58:18 +00:00
drh
6f07734349
Performance optimization the Vdbe allocator.
...
FossilOrigin-Name: e2c4995bf1099cc02bcb1dc4a4631f06a870d171
2016-04-12 00:26:59 +00:00
drh
f3c57ff54c
Avoid unnecessary calls to object destructors for a small performance gain.
...
FossilOrigin-Name: aec94b6ee68fe50e2cc14388281e2ef531e21d68
2016-04-12 00:16:54 +00:00
drh
926957f0a6
Performance improvements in sqlite3WhereExprUsage().
...
FossilOrigin-Name: fdf752394b48fb7b9afe7b8a7d83f859985cc2d2
2016-04-12 00:00:33 +00:00
mistachkin
0cedb963a3
Further refinements.
...
FossilOrigin-Name: b35bb928b25492f6dd71ccf9c250cb9f0cce09ff
2016-04-11 22:45:45 +00:00
mistachkin
9cdd401d37
Merge updates from trunk.
...
FossilOrigin-Name: b8094166b3c6a8ec7913b403e08b5e6790fb03c1
2016-04-11 22:24:03 +00:00
mistachkin
4f2c822cc5
Fix typo in the MSVC makefile.
...
FossilOrigin-Name: 3189a7f1851f823218d85a2455bf218d00d81543
2016-04-11 22:23:04 +00:00
mistachkin
0e188e1d1e
Fix some compilation issues.
...
FossilOrigin-Name: 016481b39f8b23b4f0f851053068d8eaee6122e1
2016-04-11 22:10:26 +00:00
dan
ad2d5baf1f
Add the sqlite3_snapshot_cmp() API.
...
FossilOrigin-Name: c698a21af740ca1019c3a771fb83e569cd6bf23e
2016-04-11 19:59:52 +00:00
dan
0e55da2ef8
Fix a typo in temptable2.test.
...
FossilOrigin-Name: 04b1890fbc19eb3fa935083c1664fbbfb67dad93
2016-04-11 19:24:56 +00:00
dan
b5a2592a9e
Add tests for wal mode to temptable2.test.
...
FossilOrigin-Name: c6d0d441a1ab4873caedf2f23543444cea5d7f5a
2016-04-11 19:23:36 +00:00
drh
244b9d6ec6
Performance optimization to sqlite3Dequote() and its callers.
...
FossilOrigin-Name: 9efe2265b1e70172778d333c5b9d9a76095427ab
2016-04-11 19:01:08 +00:00
dan
7180de2aa4
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: ffc62af1d503c6e7fc0059d9c2ee57a3bef9dd32
2016-04-11 18:50:25 +00:00
dan
b9f11f932d
Add extra tests to temptable2.test.
...
FossilOrigin-Name: 7dd9d4c15bb6b6ef9127dc7c80a189c55e714dc9
2016-04-11 18:49:37 +00:00
drh
affa855c94
Performance optimization for the sqlite3ExprListDelete() routine.
...
FossilOrigin-Name: 2764aeaa11f38cf2ff4d6191e6d5466ddb203022
2016-04-11 18:25:05 +00:00
drh
bea119cdeb
Performance optimizations in the column cache of the code generator, and
...
especially the sqlite3ExprCacheRemove() routine.
FossilOrigin-Name: e35b345cf858018ae0c07f79725f8d58062168db
2016-04-11 18:15:37 +00:00
dan
67330a1224
Fixes for OOM and IO error handling with temp file databases.
...
FossilOrigin-Name: 4eb06e843af60d5e533793618c6e0e9b7ef7a1a6
2016-04-11 18:07:47 +00:00
drh
3c19469ca2
Simplification and performance improvements in sqlite3ExprDup() and its
...
subroutines. More work is possible in this area.
FossilOrigin-Name: 476cc2838824e0667e80ce527b9caa551dee4a77
2016-04-11 16:43:43 +00:00
drh
c310db39ff
Rename the OP_MX_JUMP macro to SQLITE_MX_JUMP_OPCODE to avoid confusing the
...
opcode name generator.
FossilOrigin-Name: e554a4c38bda9c73bf129bb7c665c53ccc4d96a8
2016-04-11 16:35:05 +00:00
drh
4f0010b1bc
Performance improvement in sqlite3ExprDelete().
...
FossilOrigin-Name: 60ad80e3af4bae9f5c74fedf09eec9689e2e3dbf
2016-04-11 14:49:39 +00:00
drh
7cc84c2cdd
Remove the VdbeOp.opflags field and its associated initialization overhead.
...
Update mkopcodeh.tcl to reorder opcode numbers to help the resolveP2Values()
routine run faster.
FossilOrigin-Name: 099478fa7521ba52262ef2bf24dd8f0114ce92e1
2016-04-11 13:36:42 +00:00
dan
7082371de7
Update this branch with the latest changes from the trunk.
...
FossilOrigin-Name: 982b753d0b6a3ed9fba33ed41523b2cd42280276
2016-04-11 09:39:25 +00:00
drh
8679fbabaa
Back off of the parser optimization in the previous check-in, slightly, to
...
preserve some backwards compatibility regarding some undocumented behavior
in the '#AAA' style query parameter.
FossilOrigin-Name: ef1966c2469a0f5dbdb31a0287bd37badb2b8f28
2016-04-11 01:43:33 +00:00
drh
8f3b137fa6
Small size reduction and performance improvement in the parser.
...
FossilOrigin-Name: 16df71284bf081c8b3d3aa57c129a07067ddbed3
2016-04-11 01:26:31 +00:00
drh
08de4f7933
Factor out the common operation of setting the Expr.x.pSelect field of an
...
Expr object into a subroutine.
FossilOrigin-Name: 6a5cceee486c5e3625556e4c7076ff90e9d8fa43
2016-04-11 01:06:47 +00:00
drh
ba26faa33f
Fix a problem in the code generator for joins on virtual tables where the
...
outer loop of the join uses the IN operator.
FossilOrigin-Name: 6c56b3a04778bc62ca50307ad838dd301cd91ac2
2016-04-09 18:04:28 +00:00
drh
bfc7a8bb01
Fix the sqlite3BtreeDelete() routine so that it preserves the correct
...
key even when the row being deleted is not on a leaf page.
Fix for ticket [a306e56ff68b8fa56]
FossilOrigin-Name: ca2ef8a86cf806cbbcc64db03251b1df5b2c5501
2016-04-09 17:04:05 +00:00
drh
53801efcdf
Limit the number of digits shown in the "prereq" mask for ".wheretrace"
...
debugging output.
FossilOrigin-Name: 3686ed7413ae6cdbc8020c0023205e0455e87467
2016-04-09 14:36:07 +00:00
drh
11b264019c
Update documentation for sqlite3_snapshot_open(). No code changes.
...
FossilOrigin-Name: 1dfa5234d3ee38c6af2d18a6294afa93232821e7
2016-04-08 19:44:31 +00:00
drh
dca595c4a3
Add test cases for ticket [7f7f8026eda387d544].
...
FossilOrigin-Name: 87aa9357fbe6749bae60e30af54ca16e48678802
2016-04-07 21:14:35 +00:00
drh
38b3dde00e
Prevent the in-memory journal read cursor from entering an inconsistent state
...
when it reads the last few bytes out of the journal file. Fix for
ticket [7f7f8026eda38].
FossilOrigin-Name: c4b9c611bdcd85f31d68aaf114ee34a9f27eba6d
2016-04-07 18:42:23 +00:00