]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Fri, 29 Apr 2016 10:13:22 +0000 (10:13 +0000)]
Fix an almost entirely harmless buffer overread in the sessions module.
FossilOrigin-Name:
89b0ee3351381f7bc666cb206f77a56f2e0d4a0e
dan [Thu, 28 Apr 2016 14:59:05 +0000 (14:59 +0000)]
Merge latest changes from trunk with this branch.
FossilOrigin-Name:
45467ee49872f495d5276cf830f10c3cf4ac8e3c
dan [Thu, 28 Apr 2016 14:54:54 +0000 (14:54 +0000)]
Avoid running sessionfault.test and sessionfault2.test as part of the "inmemory_journal" permutation.
FossilOrigin-Name:
5973d3bf2e5aa979ccc9a4a3a0eb08b67098b499
drh [Thu, 28 Apr 2016 14:15:12 +0000 (14:15 +0000)]
Use comments to mark several branches as optimizations. No changes to code.
FossilOrigin-Name:
33e627472780b872716c504f2d585cc057c390a5
dan [Thu, 28 Apr 2016 09:53:14 +0000 (09:53 +0000)]
Ensure that quota.test deletes the directory named "test.db" that it creates.
FossilOrigin-Name:
045edd4b17c6b76079ac90773c035d8c1f8d525d
drh [Thu, 28 Apr 2016 03:52:18 +0000 (03:52 +0000)]
Remove an unnecessary conditional from the sqlite3DecOrHexToI64() routine.
FossilOrigin-Name:
fcf85bfe50b254e825ee63a4cd0aa0b333b06eed
drh [Thu, 28 Apr 2016 00:32:16 +0000 (00:32 +0000)]
Change the sqlite3Atoi64() routine so that it returns failure if not all of
the input characters are consumed, even if it consumed all characters up to
the first 0x00. This has no impact on external APIs as far as I can tell.
FossilOrigin-Name:
46d4ffff3bd33d7e901e76cfac1cbde38d4f61d0
dan [Wed, 27 Apr 2016 18:54:49 +0000 (18:54 +0000)]
Modify the permutations.test script so as to set any permutation specific configuration values before running each individual test script.
FossilOrigin-Name:
2662d8fef791f7b8b3b14f9c27dfedec84620dee
drh [Wed, 27 Apr 2016 15:24:13 +0000 (15:24 +0000)]
More simplification of the sqlite3AtoF() routine. Add special comments
to indicate branches that are for optimization purposes only and that give
the correct answer even if always or never taken.
FossilOrigin-Name:
0065fe97cb8e5076acae1bf1560fd2f69dab9014
drh [Wed, 27 Apr 2016 02:35:03 +0000 (02:35 +0000)]
Remove still more unnecessary branches from sqlite3AtoF().
FossilOrigin-Name:
3adfe9f3e6ce7cc09fcb570d9b65e830a96cac15
drh [Tue, 26 Apr 2016 23:14:45 +0000 (23:14 +0000)]
Further simplifications to sqlite3AtoF() to remove unneeded branches.
FossilOrigin-Name:
dd69e53cb077873171af5312c633ca185595bf31
drh [Tue, 26 Apr 2016 21:02:53 +0000 (21:02 +0000)]
Remove an unnecessary line from the sqlite3AtoF() routine.
FossilOrigin-Name:
a9d007494cfe30a26dca5352655dc7702351476e
drh [Tue, 26 Apr 2016 18:58:54 +0000 (18:58 +0000)]
The pcache and the built-in VFSes should not use mutexes when
SQLITE_CONFIG_SINGLETHREAD is set.
FossilOrigin-Name:
12418b100196abbfbfb85e0ab4bb6b1cbf335df7
drh [Tue, 26 Apr 2016 13:13:53 +0000 (13:13 +0000)]
Fix the "checksymbols" target in Makefile.in to be able to deal with the
sqlite3changegroup family of interfaces.
FossilOrigin-Name:
d819bfbd46dc7f065d2a3ab0ef9f8322d8394e11
dan [Mon, 25 Apr 2016 19:25:12 +0000 (19:25 +0000)]
Update the RBU vacuum code so that databases that use custom collation sequences can be vacuumed.
FossilOrigin-Name:
7dd48c10790a7b9c4165214399c261a0aa701297
drh [Mon, 25 Apr 2016 02:20:10 +0000 (02:20 +0000)]
When checking for the WHERE-clause push-down optimization, verify that
all terms of the compound inner SELECT are non-aggregate, not just the
last term. Fix for ticket [
f7f8c97e97597 ].
FossilOrigin-Name:
ec215f94ac9748c0acd82af0cc9e7a92249462f9
mistachkin [Mon, 25 Apr 2016 01:43:24 +0000 (01:43 +0000)]
Fix a typo in the Makefile.
FossilOrigin-Name:
d0a579b35105810821bbfec6b50ecfebac7a17ee
drh [Sat, 23 Apr 2016 20:59:23 +0000 (20:59 +0000)]
Fix the fix to the temporary directory search algorithm so that it continues
to return "." as a fallback if that directory has the correct permissions.
FossilOrigin-Name:
b38fe522cfc971b37ca04e7b63a92bbb6e0b01e1
drh [Thu, 21 Apr 2016 23:37:24 +0000 (23:37 +0000)]
Change the temporary directory search algorithm on unix so that directories
with only -wx permission are allowed. And do not allow "." to be returned if
it lacks -wx permission.
FossilOrigin-Name:
67985761aa93fb613b87d340e75371fa55b0f778
dan [Thu, 21 Apr 2016 18:13:37 +0000 (18:13 +0000)]
Add the sqlite3rbu_vacuum() API, to create an RBU handle that can be used to rebuild a database in the same way as the VACUUM command.
FossilOrigin-Name:
bd4a6f8313eb71399a7141ebf7f2617d7b1464c3
dan [Thu, 21 Apr 2016 16:44:38 +0000 (16:44 +0000)]
If a call to sqlite3rbu_close() on an rbu handle opened by sqlite3rbu_vacuum() returns other than SQLITE_OK, delete the contents of the rbu_state table. This ensures that if an RBU vacuum operation either completes successfully or encounters an error, the next call to sqlite3rbu_vacuum() with the same parameters starts a new RBU vacuum operation.
FossilOrigin-Name:
6e4ac704f51bdd1e0b16814f6a45ab29f26400ee
dan [Thu, 21 Apr 2016 15:26:26 +0000 (15:26 +0000)]
Fix a problem in rbu vacuum on tables with a large sqlite_master table.
FossilOrigin-Name:
23eac52e987996afe8db847921aef434cebd25b5
drh [Thu, 21 Apr 2016 02:27:56 +0000 (02:27 +0000)]
Add the SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION method for enabling
sqlite3_load_extension() while leaving the load_extension() SQL function
disabled.
FossilOrigin-Name:
c4f165c460c4244ed434107feac005efa3c386cf
drh [Thu, 21 Apr 2016 01:58:21 +0000 (01:58 +0000)]
Test cases for SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION.
FossilOrigin-Name:
debafa5efd37ac60e030d0963ce8e7c4f51a0f10
drh [Thu, 21 Apr 2016 01:30:09 +0000 (01:30 +0000)]
Revert sqlite3_enable_load_extension() to its original long-standing behavior.
Add SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION which will enable only the C-API and
leave the SQL function disabled.
FossilOrigin-Name:
b2ae5bfa32e608625bd177907596df3dbc2212e1
dan [Wed, 20 Apr 2016 20:08:58 +0000 (20:08 +0000)]
Add a documentation comment for sqlite3rbu_vacuum() to sqlite3rbu.h.
FossilOrigin-Name:
da5c753ddac3cbfdf03710a82f5fd9fa2e29e819
drh [Wed, 20 Apr 2016 19:30:47 +0000 (19:30 +0000)]
When an error occurs while transitioning out of WAL mode, make sure the
locking state is not left at EXCLUSIVE.
FossilOrigin-Name:
3340f086510b08ce5b42a8781f1df51bf7c27701
drh [Wed, 20 Apr 2016 18:31:27 +0000 (18:31 +0000)]
Fix a locking race condition in Windows 10 that can occur when two or more
processes attempt to recover the same hot journal at the same time.
FossilOrigin-Name:
38a4e9d92887898b779493c71e4500f777a4e2e7
dan [Wed, 20 Apr 2016 17:47:52 +0000 (17:47 +0000)]
Add fault injection tests for rbu vacuum. Fix some problems revealed by the same.
FossilOrigin-Name:
f042fdd1ea7febec7228e51efc2b0281805e196a
drh [Wed, 20 Apr 2016 00:30:05 +0000 (00:30 +0000)]
<b>API Change:</b> Modify sqlite3_enable_load_extension() so that it only
enables/disables the load_extension() SQL function, and leaves the C-APIs
enabled at all times. In this way, applications can enable extension loading
for the C interface without having to expose that capability to the SQL.
FossilOrigin-Name:
edb454e45ae008e051e2f48d704a855b0c3e4be9
dan [Tue, 19 Apr 2016 19:27:09 +0000 (19:27 +0000)]
Updates to ensure the values of PRAGMA settings like "page_size", "auto_vacuum", "user_version" and "application_id" are not lost when a database is RBU vacuumed.
FossilOrigin-Name:
74ffea76b8c9ddd7699ce6ca77dce005bd7922ac
dan [Tue, 19 Apr 2016 17:11:05 +0000 (17:11 +0000)]
When an RBU vacuum is started on a db identified using a URI filename, pass the same URI parameters when creating the new version of the db. This ensures that RBU vacuum works with password protected databases.
FossilOrigin-Name:
ca021ba88106500f347ed65199a4832bc9eb5ef8
dan [Tue, 19 Apr 2016 16:20:24 +0000 (16:20 +0000)]
Detect attempts to use rbu vacuum on a wal mode database (not allowed). And attempts to write to a database in the middle of an rbu vacuum (which prevents the vacuum from resuming).
FossilOrigin-Name:
00b2f4b09ffca5156e43c4db2bfe0b2c979c49b0
dan [Mon, 18 Apr 2016 21:00:01 +0000 (21:00 +0000)]
Another fix to rbu vacuum for a zipvfs case.
FossilOrigin-Name:
29407d70e44ad9ea5ddaf1011d0e212b602a3ddf
dan [Mon, 18 Apr 2016 18:18:18 +0000 (18:18 +0000)]
Fix some zipvfs related problems in RBU vacuum.
FossilOrigin-Name:
d76f4aaa4caab713460421bd27365a82ac986c20
drh [Mon, 18 Apr 2016 15:46:14 +0000 (15:46 +0000)]
Remove quotes from identifiers used as datatype names in a CREATE TABLE
statement. Fix for ticket [
7d7525cb01b68 ]
FossilOrigin-Name:
eba27d4d17a76884292667d570d542e580ee3e77
drh [Mon, 18 Apr 2016 13:09:55 +0000 (13:09 +0000)]
The last parameter to pread64() and pwrite64() should be off64_t, not off_t.
FossilOrigin-Name:
3a7d72986fabe9434ff5bd02c93169314f072b23
dan [Mon, 18 Apr 2016 09:17:05 +0000 (09:17 +0000)]
Add the -vacuum switch to the "rbu" demonstration program.
FossilOrigin-Name:
9a0078a538c7e73a009960347b8953c5af99fefd
dan [Sat, 16 Apr 2016 19:02:53 +0000 (19:02 +0000)]
Changes so that rbu vacuum works with zipvfs databases.
FossilOrigin-Name:
bae7f875f476f6e01112751cb404fef42ba0a01c
dan [Sat, 16 Apr 2016 17:53:14 +0000 (17:53 +0000)]
Avoid creating any extra files ("<target>-vacuum") when running an RBU vacuum. Ensure that the OAL file created is "<target>-oal", not "<target>-vacuum-oal".
FossilOrigin-Name:
dc19aacc7e99213edca9bb57b5c11a8a1ac99113
dan [Sat, 16 Apr 2016 15:03:20 +0000 (15:03 +0000)]
Fix a couple of assert() statements that were failing with OOM error tests.
FossilOrigin-Name:
8eb3d7d8360530f364bbbebac53e1f0e6753d924
dan [Fri, 15 Apr 2016 20:46:41 +0000 (20:46 +0000)]
Add the experimental sqlite3rbu_vacuum() API function. For opening an RBU handle that rebuilds a database from scratch.
FossilOrigin-Name:
0216b48f28042ad86711e00802c2da8ce9be3044
drh [Fri, 15 Apr 2016 15:03:27 +0000 (15:03 +0000)]
CLI enhancement: Add the ".eqp full" option, that shows both the EXPLAIN
QUERY PLAN and the EXPLAIN output for each command run. Also disable
any ".wheretrace" and ".selecttrace" when showing EQP output.
FossilOrigin-Name:
3e217d6265ecd16db783bed7ce1d9d0f9c4828bb
dan [Thu, 14 Apr 2016 17:29:13 +0000 (17:29 +0000)]
In the ICU extension toupper() and tolower() SQL functions, avoid calling u_strToUpper() or u_strToLower() a second time if the buffer passed to the first invocation turns out to be large enough.
FossilOrigin-Name:
d23e581351fb8eea28e7b13b3dcadfc817c3a05f
drh [Thu, 14 Apr 2016 16:40:13 +0000 (16:40 +0000)]
Add the SF_HasAgg constant (currently unused). Also enhance the comments on
many other constant definitions to detail constraints on their values.
FossilOrigin-Name:
7b7a69d098f7581a43b818c251717c2450b797de
dan [Thu, 14 Apr 2016 15:44:37 +0000 (15:44 +0000)]
Correctly interpret negative "PRAGMA cache_size" values when determining the cache-size used for sorting large amounts of data (i.e. the functionality in vdbesort.c).
FossilOrigin-Name:
79147dca87cfd7eb62d57baa3b70fa2a8542232a
drh [Thu, 14 Apr 2016 15:38:33 +0000 (15:38 +0000)]
Add some missing testcase() macros to the pushDownWhereTerms() routine.
FossilOrigin-Name:
67d7f79c5e5be41a18817c802b5c4d349e3a83a4
drh [Thu, 14 Apr 2016 13:35:26 +0000 (13:35 +0000)]
Rename WhereInfo.pResultSet to pDistinctSet to more accurately reflect what
it represents.
FossilOrigin-Name:
5317961411695e107e8cefdeaba62280429979ca
drh [Thu, 14 Apr 2016 13:16:58 +0000 (13:16 +0000)]
Since the return value of sqlite3OsClose() is always ignored, we might as
well make it "void" instead of "int", and thereby save 50 bytes in the
compiled binary.
FossilOrigin-Name:
7ee570e7a9a2159a8c0d41805c00f91ca0de00e3
drh [Thu, 14 Apr 2016 13:06:49 +0000 (13:06 +0000)]
Additional ".selecttrace" debugging output when the query is transformed from a
DISTINCT into a GROUP BY.
FossilOrigin-Name:
5a46914510af4d5557b299db65c68d5df1070766
drh [Wed, 13 Apr 2016 21:00:36 +0000 (21:00 +0000)]
Fix compiler warnings by removing surplus local variables in the schema
pretty-printer logic of the command-line shell.
FossilOrigin-Name:
55a62483b9121a8b373d038a26fdebc4308661f6
drh [Wed, 13 Apr 2016 15:52:16 +0000 (15:52 +0000)]
Fixes for harmless compiler warnings.
FossilOrigin-Name:
68142dc541b7a0a36fcb075a26f10f03c1e7c422
drh [Wed, 13 Apr 2016 15:33:42 +0000 (15:33 +0000)]
Add the --indent option to the .schema and .fullschema commands in the shell,
to enable simple but effective pretty-printing.
FossilOrigin-Name:
83cfe82cd6d31ec0a6193525fd92e63a2a43b142
mistachkin [Tue, 12 Apr 2016 20:26:51 +0000 (20:26 +0000)]
A couple more compiler warning fixes.
FossilOrigin-Name:
929fa4c31e7c5b8c6cbb1412478ea91b15ad5529
mistachkin [Tue, 12 Apr 2016 20:15:12 +0000 (20:15 +0000)]
Even more compiler warning fixes.
FossilOrigin-Name:
7faec9ea335c53953338886398b85aef87348a1c
mistachkin [Tue, 12 Apr 2016 20:05:06 +0000 (20:05 +0000)]
More harmless compiler warning fixes.
FossilOrigin-Name:
ab69527c1608da0b668f3b49e967661dd99cc3d4
mistachkin [Tue, 12 Apr 2016 19:30:31 +0000 (19:30 +0000)]
Compilation fix for a C99-ism in the 'fts3view' tool.
FossilOrigin-Name:
bedb88a4b9c808ea781ae69058399a1a3a3d15fa
mistachkin [Tue, 12 Apr 2016 19:20:22 +0000 (19:20 +0000)]
Fix harmless compiler warnings in the 'session' module.
FossilOrigin-Name:
a18a6ce2271865d04cd75a8a5baa63798b7393db
drh [Tue, 12 Apr 2016 17:13:33 +0000 (17:13 +0000)]
Fix speedtest1 so that it automatically unlinks its test database prior
to startup.
FossilOrigin-Name:
b65b69f6b686c6555876b6fc701da95cc49120b5
drh [Tue, 12 Apr 2016 16:59:39 +0000 (16:59 +0000)]
Add the --temp option to the speedtest1.c performance test program.
FossilOrigin-Name:
8053a6e2bf616fc9326f0323962176e318d7d2a5
drh [Tue, 12 Apr 2016 16:23:30 +0000 (16:23 +0000)]
Improved localtime() support for WindowsCE
FossilOrigin-Name:
662c32af0276a9ef4eea2d29e2523ccc44b6d128
mistachkin [Tue, 12 Apr 2016 16:11:52 +0000 (16:11 +0000)]
Add and adjust comments.
FossilOrigin-Name:
541c6da23850673f5d2a2e31c3967b796ee2effc
drh [Tue, 12 Apr 2016 16:04:07 +0000 (16:04 +0000)]
Add the sqlite3_snapshot_cmp() interface (available only with
SQLITE_ENABLE_SNAPSHOT).
FossilOrigin-Name:
7e7289655185e7643ead6d685922528bc4d9e0ae
dan [Tue, 12 Apr 2016 15:14:25 +0000 (15:14 +0000)]
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
drh [Tue, 12 Apr 2016 11:58:18 +0000 (11:58 +0000)]
Update the header comment on the memjournal.c file. No code changes.
FossilOrigin-Name:
07f10deabb0f4207408142541e3913d638dfcdeb
drh [Tue, 12 Apr 2016 00:26:59 +0000 (00:26 +0000)]
Performance optimization the Vdbe allocator.
FossilOrigin-Name:
e2c4995bf1099cc02bcb1dc4a4631f06a870d171
drh [Tue, 12 Apr 2016 00:16:54 +0000 (00:16 +0000)]
Avoid unnecessary calls to object destructors for a small performance gain.
FossilOrigin-Name:
aec94b6ee68fe50e2cc14388281e2ef531e21d68
drh [Tue, 12 Apr 2016 00:00:33 +0000 (00:00 +0000)]
Performance improvements in sqlite3WhereExprUsage().
FossilOrigin-Name:
fdf752394b48fb7b9afe7b8a7d83f859985cc2d2
mistachkin [Mon, 11 Apr 2016 22:45:45 +0000 (22:45 +0000)]
Further refinements.
FossilOrigin-Name:
b35bb928b25492f6dd71ccf9c250cb9f0cce09ff
mistachkin [Mon, 11 Apr 2016 22:24:03 +0000 (22:24 +0000)]
Merge updates from trunk.
FossilOrigin-Name:
b8094166b3c6a8ec7913b403e08b5e6790fb03c1
mistachkin [Mon, 11 Apr 2016 22:23:04 +0000 (22:23 +0000)]
Fix typo in the MSVC makefile.
FossilOrigin-Name:
3189a7f1851f823218d85a2455bf218d00d81543
mistachkin [Mon, 11 Apr 2016 22:10:26 +0000 (22:10 +0000)]
Fix some compilation issues.
FossilOrigin-Name:
016481b39f8b23b4f0f851053068d8eaee6122e1
dan [Mon, 11 Apr 2016 19:59:52 +0000 (19:59 +0000)]
Add the sqlite3_snapshot_cmp() API.
FossilOrigin-Name:
c698a21af740ca1019c3a771fb83e569cd6bf23e
drh [Mon, 11 Apr 2016 19:01:08 +0000 (19:01 +0000)]
Performance optimization to sqlite3Dequote() and its callers.
FossilOrigin-Name:
9efe2265b1e70172778d333c5b9d9a76095427ab
drh [Mon, 11 Apr 2016 18:25:05 +0000 (18:25 +0000)]
Performance optimization for the sqlite3ExprListDelete() routine.
FossilOrigin-Name:
2764aeaa11f38cf2ff4d6191e6d5466ddb203022
drh [Mon, 11 Apr 2016 18:15:37 +0000 (18:15 +0000)]
Performance optimizations in the column cache of the code generator, and
especially the sqlite3ExprCacheRemove() routine.
FossilOrigin-Name:
e35b345cf858018ae0c07f79725f8d58062168db
drh [Mon, 11 Apr 2016 16:43:43 +0000 (16:43 +0000)]
Simplification and performance improvements in sqlite3ExprDup() and its
subroutines. More work is possible in this area.
FossilOrigin-Name:
476cc2838824e0667e80ce527b9caa551dee4a77
drh [Mon, 11 Apr 2016 16:35:05 +0000 (16:35 +0000)]
Rename the OP_MX_JUMP macro to SQLITE_MX_JUMP_OPCODE to avoid confusing the
opcode name generator.
FossilOrigin-Name:
e554a4c38bda9c73bf129bb7c665c53ccc4d96a8
drh [Mon, 11 Apr 2016 14:49:39 +0000 (14:49 +0000)]
Performance improvement in sqlite3ExprDelete().
FossilOrigin-Name:
60ad80e3af4bae9f5c74fedf09eec9689e2e3dbf
drh [Mon, 11 Apr 2016 13:36:42 +0000 (13:36 +0000)]
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
drh [Mon, 11 Apr 2016 01:43:33 +0000 (01:43 +0000)]
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
drh [Mon, 11 Apr 2016 01:26:31 +0000 (01:26 +0000)]
Small size reduction and performance improvement in the parser.
FossilOrigin-Name:
16df71284bf081c8b3d3aa57c129a07067ddbed3
drh [Mon, 11 Apr 2016 01:06:47 +0000 (01:06 +0000)]
Factor out the common operation of setting the Expr.x.pSelect field of an
Expr object into a subroutine.
FossilOrigin-Name:
6a5cceee486c5e3625556e4c7076ff90e9d8fa43
drh [Sat, 9 Apr 2016 18:04:28 +0000 (18:04 +0000)]
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
drh [Sat, 9 Apr 2016 17:04:05 +0000 (17:04 +0000)]
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
drh [Sat, 9 Apr 2016 14:36:07 +0000 (14:36 +0000)]
Limit the number of digits shown in the "prereq" mask for ".wheretrace"
debugging output.
FossilOrigin-Name:
3686ed7413ae6cdbc8020c0023205e0455e87467
drh [Fri, 8 Apr 2016 19:44:31 +0000 (19:44 +0000)]
Update documentation for sqlite3_snapshot_open(). No code changes.
FossilOrigin-Name:
1dfa5234d3ee38c6af2d18a6294afa93232821e7
drh [Thu, 7 Apr 2016 21:14:35 +0000 (21:14 +0000)]
drh [Thu, 7 Apr 2016 18:42:23 +0000 (18:42 +0000)]
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
drh [Thu, 7 Apr 2016 14:16:16 +0000 (14:16 +0000)]
Avoid decrementing a pointer off the front end of the buffer in OP_MakeRecord.
FossilOrigin-Name:
153135bfb3b8f7c407ccf36571e2d4d5afe28ea3
drh [Thu, 7 Apr 2016 14:05:20 +0000 (14:05 +0000)]
Instead of just commenting out the unneeded code in the previous check-in,
remove it completely.
FossilOrigin-Name:
8415d4848ab36ca33b23d1fad6b063544de04a3b
drh [Thu, 7 Apr 2016 14:01:10 +0000 (14:01 +0000)]
Remove an unnecessary test for a NULL pointer in freeP4().
FossilOrigin-Name:
e84e88e31b67afe42e2494d984ab1cafd107465a
drh [Thu, 7 Apr 2016 13:45:20 +0000 (13:45 +0000)]
Update comments on the unix file locking protocol. No changes to code.
FossilOrigin-Name:
716b20de4306de1653ba5bcdbfb8d210d2d46e1a
drh [Tue, 5 Apr 2016 23:39:53 +0000 (23:39 +0000)]
Remove an unnecessary branch in the sqlite3LogEstToInt() routine.
FossilOrigin-Name:
da81d7afeb0566a09a505ba5fce901e991e4a029
drh [Tue, 5 Apr 2016 20:59:12 +0000 (20:59 +0000)]
Carry table column types through into VIEW definitions, where possible.
FossilOrigin-Name:
fb555c3c2af7f5e62ff839658f4fba7b645d3a68
mistachkin [Tue, 5 Apr 2016 19:46:10 +0000 (19:46 +0000)]
Remove superfluous directories from the Makefile clean targets.
FossilOrigin-Name:
0bf9926c7a7865694edd48535777248e73d86bbf
mistachkin [Tue, 5 Apr 2016 17:59:56 +0000 (17:59 +0000)]
Merge updates from trunk.
FossilOrigin-Name:
00990020d07d7c87b922cdbfa5373298a86bb4b3
drh [Tue, 5 Apr 2016 15:59:23 +0000 (15:59 +0000)]
Incorrect version of build.c checked in at [
87e5f5a6c60e3 ] (because I
neglected to press the "Save" button on the text editor). There is no change
to the logic, just improved presentation.
FossilOrigin-Name:
cf569f9f2fab1828e4bfced111fd9a6ee23ea8c0
drh [Tue, 5 Apr 2016 14:02:16 +0000 (14:02 +0000)]
Make sure "0" intended as a NULL pointer is cast to a pointer when used
in a varargs functions parameter.
FossilOrigin-Name:
ed128e8b826cd9620b7146d01d461ed28b9a672d
drh [Tue, 5 Apr 2016 14:01:34 +0000 (14:01 +0000)]
Remove an unnecessary conditional from the index builder.
FossilOrigin-Name:
87e5f5a6c60e37e943b3ce80617e81b09852515e