]>
git.ipfire.org Git - thirdparty/sqlite.git/log
dan [Mon, 27 Feb 2017 14:52:48 +0000 (14:52 +0000)]
Add an sqlite3_set_last_insert_rowid() method. Use it to work around fts4 and
fts5 modifying the last-insert-rowid unintuitively from within commit
processing.
FossilOrigin-Name:
fe41bb5632a5d438acfd682809f1bd12315b970a
dan [Mon, 27 Feb 2017 12:23:52 +0000 (12:23 +0000)]
Remove references to special handling in virtual table methods from the
documentation for sqlite3_last_insert_rowid().
FossilOrigin-Name:
660f9569d76e4ff1f5bd4f37f640e6a4fc2cf87d
dan [Sat, 25 Feb 2017 20:57:46 +0000 (20:57 +0000)]
Add an 'extern "C"' block to header file sqlite3userauth.h.
FossilOrigin-Name:
ffd61fb449a510b2fc90caf86b266733051cc365
dan [Sat, 25 Feb 2017 17:47:31 +0000 (17:47 +0000)]
Optimize defragmentPage() in the case where the page contains either one or
two free-blocks and a small number of fragmented bytes.
FossilOrigin-Name:
4cd2a9672c59ea4b3b4cf3d2f139af3c18a8e833
dan [Sat, 25 Feb 2017 16:24:02 +0000 (16:24 +0000)]
Tweak the code on this branch to detect b-tree page corruption in the same cases as the trunk.
FossilOrigin-Name:
f9863b39d96dce6cb5e49a5f3a445ff3d897a951
dan [Fri, 24 Feb 2017 19:58:22 +0000 (19:58 +0000)]
Optimize defragmentPage() in the case where the page contains either one or
two free-blocks and a small number of fragmented bytes.
FossilOrigin-Name:
202b1c0276aec6b8da64d3277de1ad91c9d62d80
dan [Thu, 23 Feb 2017 16:30:16 +0000 (16:30 +0000)]
Save a few bytes and a few cycles by setting Vdbe.expmask to zero for
statements prepared using legacy interface sqlite3_prepare().
FossilOrigin-Name:
a8fd705258643863493476f8b42ee981608a339f
dan [Wed, 22 Feb 2017 19:41:16 +0000 (19:41 +0000)]
Move a branch condition in analyze.c inside an #ifdef SQLITE_ENABLE_STAT4 block.
FossilOrigin-Name:
d6afd98de3ee8b714dfd6477ead955096f623972
dan [Wed, 22 Feb 2017 19:27:51 +0000 (19:27 +0000)]
Improve the performance of ANALYZE when SQLITE_ENABLE_STAT4 is defined.
FossilOrigin-Name:
737a82444065752785c643b1d29ca097c828effb
drh [Wed, 22 Feb 2017 18:53:13 +0000 (18:53 +0000)]
Improvements to PRAGMA integrity_check.
Verify CHECK constraints.
Verify NOT NULL constraints even on table that lack indexes.
Verify CHECK and NOT NULL constraints with PRAGMA quick_check.
FossilOrigin-Name:
aa02bd3c95e374008b930d296c88dfafaf11c65a
drh [Wed, 22 Feb 2017 18:04:42 +0000 (18:04 +0000)]
Cleanup and simplification of the output row count limit control of
PRAGMA integrity_check.
FossilOrigin-Name:
5af7d72ed9ec758283d78ceb46627d72021c1c60
drh [Wed, 22 Feb 2017 15:11:36 +0000 (15:11 +0000)]
Fix integrity_check so that it verifies NOT NULL constraints even for tables
that have no indexes. Enhance quick_check so that it verifies NOT NULL and
CHECK constraints.
FossilOrigin-Name:
5264844b069cdc20f456acee9f5b2b97c986120d
drh [Wed, 22 Feb 2017 14:15:37 +0000 (14:15 +0000)]
Enhance "PRAGMA integrity_check" so that it verifies CHECK constraints.
FossilOrigin-Name:
549bae0856004ff65b505175460abd598b30fe57
dan [Tue, 21 Feb 2017 21:24:05 +0000 (21:24 +0000)]
In sqlite3VdbeHalt(), return as soon as possible if
Vdbe.magic!=VDBE_MAGIC_RUN. This makes sqlite3_reset() slightly faster in some
cases.
FossilOrigin-Name:
80adc0cb4ed7bacc54b15ac8b5b205403939c8c4
dan [Tue, 21 Feb 2017 17:52:58 +0000 (17:52 +0000)]
Fix an FTS5 problem that could cause a crash when certain queries were
interrupted using sqlite3_interrupt().
FossilOrigin-Name:
e400909f313c317b7b67be6eb867ed61df7383dc
drh [Tue, 21 Feb 2017 15:27:22 +0000 (15:27 +0000)]
Very small enhancement to dispatch speed for SQL functions.
FossilOrigin-Name:
3c3228ed16ed8a72630bd56bb9192ee3c7f82093
mistachkin [Mon, 20 Feb 2017 23:32:04 +0000 (23:32 +0000)]
Correct a harmless typo in the previous check-in.
FossilOrigin-Name:
1589db012ef1389bf84399fccf96d143b2ac4c0f
mistachkin [Mon, 20 Feb 2017 19:13:37 +0000 (19:13 +0000)]
Avoid unsigned integer overflows for SQLITE_WIN32_HEAP_INIT_SIZE when the Win32 heap subsystem is used with very large values of SQLITE_DEFAULT_CACHE_SIZE and/or SQLITE_DEFAULT_PAGE_SIZE.
FossilOrigin-Name:
96b6a98e5e4cb0ddbfcd78b05bfbfcd8976e9f32
drh [Mon, 20 Feb 2017 14:30:17 +0000 (14:30 +0000)]
Small grammar simplification.
FossilOrigin-Name:
0d8a868acd74fb1d076f23fda58b841bb7e6900b
drh [Sat, 18 Feb 2017 13:47:11 +0000 (13:47 +0000)]
Add the SQLITE_BUG_COMPATIBLE_20160819 compile-time option to omit the error
message when an unrecognized argument is provided to the VACUUM command.
FossilOrigin-Name:
491814272dce7e937b4734fcbc2ad69e12377b56
drh [Fri, 17 Feb 2017 23:52:00 +0000 (23:52 +0000)]
Fix the #endif location for an #ifndef SQLITE_UNTESTABLE macro in the
command-line shell.
FossilOrigin-Name:
8cc9d74c176a78aeebfbb39198c21b5dd547ff52
drh [Fri, 17 Feb 2017 02:04:31 +0000 (02:04 +0000)]
Fix a test case that was made to fail by the LIKE optimization enhancement
in check-in [
158290c0ab ] but which went unnoticed because test builds were
running with ICU enabled and ICU disables the LIKE optimization.
FossilOrigin-Name:
218b2bbb0de07288889f6762d4461ea8acd78969
drh [Fri, 17 Feb 2017 01:43:51 +0000 (01:43 +0000)]
Enable the ".wheretrace" and ".selecttrace" extensions in the command-line
shell when compiled on Windows using DEBUG=3 or higher. Fix a harmless
warning in the shell that comes up when compiled this way.
FossilOrigin-Name:
8a03be1dc42737ba0712d33f639ea26dc243b20e
drh [Thu, 16 Feb 2017 20:52:52 +0000 (20:52 +0000)]
Change the name of WhereInfo.pDistinctSet to pResultSet, since it is now
used for more than just DISTINCT processing.
FossilOrigin-Name:
9fc5cd505fe6ab043519d68e999d2285e22452af
drh [Thu, 16 Feb 2017 17:18:07 +0000 (17:18 +0000)]
Change two MallocZero() calls into MallocRaw() to avoid unnecessary memset().
FossilOrigin-Name:
ff5e733cbffd73faa4046e0f1c7f24bb6e131738
drh [Thu, 16 Feb 2017 16:26:53 +0000 (16:26 +0000)]
Fix a comment on a field of the ExprList object. No changes to code.
FossilOrigin-Name:
bb8e264227175fc93f1c86a0083f8ad6c4ce2dc7
drh [Thu, 16 Feb 2017 15:57:30 +0000 (15:57 +0000)]
Increase Table.tabFlags from 8 to 32 bits.
FossilOrigin-Name:
7e14044c65f64322769bcad4640a5896be0a1687
drh [Thu, 16 Feb 2017 15:06:06 +0000 (15:06 +0000)]
Remove two redundant initializations from the virtual table logic.
FossilOrigin-Name:
6bd82b95a6b78bb60569af4da58ef4b9f997fe7b
drh [Thu, 16 Feb 2017 14:48:08 +0000 (14:48 +0000)]
Always use the IsVirtual() macro to determine if a Table object is a virtual
table. Slightly smaller and faster code.
FossilOrigin-Name:
6affb1c89d87288cad87dde5a533832cdf06b8aa
drh [Wed, 15 Feb 2017 22:36:15 +0000 (22:36 +0000)]
Query planner optimization to detect empty tables in a join early and bail out
without doing excess work.
FossilOrigin-Name:
58797e9bafa95709e0f706a15f42f93b409e2db5
mistachkin [Wed, 15 Feb 2017 18:30:57 +0000 (18:30 +0000)]
Minor enhancement to mutex tracing on Win32.
FossilOrigin-Name:
830b9235673be55f0c932fb157de03725e648c25
drh [Wed, 15 Feb 2017 15:09:09 +0000 (15:09 +0000)]
Remove the CLANG_VERSION macro, since we have learned that version numbers in
clang are "marketing" and are inconsistent and unreliable. Builds using clang
will still use the GCC_VERSION macro since clang works hard to be gcc
compatible.
FossilOrigin-Name:
810d29320b853b3a01aa50d8f2a0bceacf79e0aa
mistachkin [Wed, 15 Feb 2017 04:16:56 +0000 (04:16 +0000)]
Further reforms to Tcl_*Alloc() usage.
FossilOrigin-Name:
ee1e689633e517ce46307b9afbf1eda03482c928
mistachkin [Wed, 15 Feb 2017 01:39:28 +0000 (01:39 +0000)]
In the blob test code, avoid crashing on low-memory systems by using Tcl_AttemptAlloc().
FossilOrigin-Name:
1d267757a89d9267ee9c201373f801eb9772ab04
drh [Tue, 14 Feb 2017 21:47:46 +0000 (21:47 +0000)]
Clarification of the help text for the command-line shell.
FossilOrigin-Name:
ca4f1e4962df64ae756c286f3795af7d6f692cdd
drh [Tue, 14 Feb 2017 20:00:16 +0000 (20:00 +0000)]
Enable the SQLITE_ENABLE_NULL_TRIM option for WITHOUT ROWID tables.
FossilOrigin-Name:
54836270c9c0bfa5910f7ad74ec238b9d7ddee5f
drh [Tue, 14 Feb 2017 16:30:13 +0000 (16:30 +0000)]
More realistic lengths of string values in speedtest1 with --testset orm.
FossilOrigin-Name:
e4731fd65f9698817690b741cc454f25e8e871e6
drh [Tue, 14 Feb 2017 15:58:58 +0000 (15:58 +0000)]
Fix a testcase number on the ORM testset of speedtest1.
FossilOrigin-Name:
58b2f911eec2e3eb9944dd6d8573ff5c7bd43f70
drh [Tue, 14 Feb 2017 15:57:11 +0000 (15:57 +0000)]
Add the new "--testset orm" to the speedtest1 utility.
FossilOrigin-Name:
1836adc1d1f8e496ae0a07bf0fc933a19dc8fee5
drh [Mon, 13 Feb 2017 13:35:55 +0000 (13:35 +0000)]
Change all legacy instances of "#if SQLITE_DEBUG" to "#ifdef SQLITE_DEBUG" for
consistency.
FossilOrigin-Name:
670f10b24230863688270d12ac519609ade2302b
drh [Mon, 13 Feb 2017 13:26:33 +0000 (13:26 +0000)]
Fix typos in using the MSVC_VERSION macro.
FossilOrigin-Name:
f3b65926b1f439adb95e3bbce8e58785b8cf8427
drh [Mon, 13 Feb 2017 13:20:02 +0000 (13:20 +0000)]
Avoid a duplication #define in FTS5
FossilOrigin-Name:
c447441cff1884d6fe5f0a76d64b3e7d908584a1
drh [Sat, 11 Feb 2017 14:59:58 +0000 (14:59 +0000)]
Fix indexes on expressions so that they can be actually used with
a COLLATE clause.
FossilOrigin-Name:
e464b919f76520b45bb58983c6702db59d820ee4
drh [Sat, 11 Feb 2017 13:51:23 +0000 (13:51 +0000)]
Ensure that indexed expressions with collating sequences are handled
correctly. Proposed fix for ticket [
eb703ba7b50c1a5 ].
FossilOrigin-Name:
9689d04b8250139e32078b2aa9748edcc6231bcd
drh [Fri, 10 Feb 2017 21:40:04 +0000 (21:40 +0000)]
Bump the version number up to 3.18.0.
FossilOrigin-Name:
7520c238558346d421e3c24cb7d17a54d1aa56b2
drh [Fri, 10 Feb 2017 21:37:57 +0000 (21:37 +0000)]
Enhance the LIKE optimization so that it works for arbitrary expressions on
the LHS as long as the pattern on the RHS does not begin with a digit or
a minus sign.
FossilOrigin-Name:
158290c0abafde67ee3f2363f0b6646887841df3
drh [Fri, 10 Feb 2017 19:38:36 +0000 (19:38 +0000)]
Add the "," flag to printf().
FossilOrigin-Name:
064445b12f99f76e9a12957be97edd520ab3ae27
drh [Thu, 9 Feb 2017 17:12:22 +0000 (17:12 +0000)]
Cleanup the usage of the SQLITE_DISABLE_INTRINSIC compile-time option.
Remove the SQLITE_RUNTIME_BYTEORDER compile-time option. Use
-DSQLITE_BYTEORDER=0 instead. Fix a bug in R-Tree that occurs when compiling
on a known little-endian machine without the use of intrinsic byteswapping
functions.
FossilOrigin-Name:
798fb9d70d2e5f95e64237b04d6692360133381a
dan [Wed, 8 Feb 2017 19:12:36 +0000 (19:12 +0000)]
Avoid preparing a SELECT statement each time an UPDATE or DELETE by docid is
executed against an fts3 table.
FossilOrigin-Name:
1afec5758b624e6a066d4e7ef50695095e9d7ff1
dan [Wed, 8 Feb 2017 19:10:47 +0000 (19:10 +0000)]
Avoid preparing a SELECT statement each time an UPDATE or DELETE
by docid is executed against an fts3 table.
FossilOrigin-Name:
9962c10a5c6672bd82b2bf640d878fcdac0b815a
mistachkin [Wed, 8 Feb 2017 18:13:46 +0000 (18:13 +0000)]
Typo fixes in comment. No changes to code.
FossilOrigin-Name:
c09dd5c0befaf5028abfead8114bd74a30ffe5d4
drh [Wed, 8 Feb 2017 16:01:57 +0000 (16:01 +0000)]
Always invoke the xRoundup() method of the memory allocator before calling
xMalloc().
FossilOrigin-Name:
77b470b0df73dc5ae5ad2f0170ef7c50558c7c88
drh [Wed, 8 Feb 2017 12:18:05 +0000 (12:18 +0000)]
Round up the size of all memory allocations to a multiple of 8 bytes when
using the system memory allocator.
FossilOrigin-Name:
c46e06fab4465128ac3364bafef5fa3d016796d0
drh [Tue, 7 Feb 2017 21:44:40 +0000 (21:44 +0000)]
When generating the hash on the sqlite_master table in dbselftest, use an
ORDER BY clause, since the sqlite_master table is reordered by VACUUM.
FossilOrigin-Name:
c8bfd99b96608a08f934f46b4e1a4d0f1cc69ea7
mistachkin [Tue, 7 Feb 2017 21:09:34 +0000 (21:09 +0000)]
MSVC makefile enhancments for several command line tools and the session extensions.
FossilOrigin-Name:
fc1dfe870279531d77ffb18a9ca4b4dcbc7aab8d
drh [Tue, 7 Feb 2017 21:00:44 +0000 (21:00 +0000)]
Fix harmless compiler warnings in dbfuzz.
FossilOrigin-Name:
61242267824135a9d5438ec15e3352a2f21dc2fc
drh [Tue, 7 Feb 2017 20:57:00 +0000 (20:57 +0000)]
Fix harmless compiler warnings in kvtest.c
FossilOrigin-Name:
db6b39937dd9d6fcd5fcc582c8dd529caad755da
drh [Tue, 7 Feb 2017 20:51:38 +0000 (20:51 +0000)]
The dbselftest utility now generates hashes in the selftest table with --init.
It also accepts multiple database files on the command-line.
FossilOrigin-Name:
e68829c9bbc69bf4a0dc057e0a6e977f2fac79be
dan [Tue, 7 Feb 2017 19:36:14 +0000 (19:36 +0000)]
Omit fts5fault1.test from the inmemory_journal permutation.
FossilOrigin-Name:
cb1e83f9583bf93ce7583d9f5e97272e2d43cfb8
dan [Tue, 7 Feb 2017 19:23:51 +0000 (19:23 +0000)]
Update a test parameter in malloc5.test to account for the increase in default
lookaside buffer size.
FossilOrigin-Name:
be82d5ae20ba62a165bdc28766a8dc8049abcac6
drh [Tue, 7 Feb 2017 17:36:12 +0000 (17:36 +0000)]
Add the initial version of the "dbselftest" utility program.
FossilOrigin-Name:
1fcac8365e0f7bcfd55442d718da6626c864d45a
dan [Tue, 7 Feb 2017 16:15:48 +0000 (16:15 +0000)]
Update an error message in corruptC.test.
FossilOrigin-Name:
722e57fe61162a82b8001c7b1d3e06174caa90b9
dan [Tue, 7 Feb 2017 14:45:18 +0000 (14:45 +0000)]
Fix a build problem affecting non-amalgamation rtree builds.
FossilOrigin-Name:
bb7f445ba1df53cd4a169612b18fc533016102b7
dan [Tue, 7 Feb 2017 14:22:39 +0000 (14:22 +0000)]
Fix a test case to account for the fact that sqlite3_blob_reopen() now returns
SQLITE_IOERR_NOMEM instead of SQLITE_NOMEM if an OOM occurs in the VFS layer.
FossilOrigin-Name:
e11cc52389f61f6421179281877b119c02286121
drh [Tue, 7 Feb 2017 13:51:48 +0000 (13:51 +0000)]
Fix SQLITE_BYTEORDER #defines in R-Tree when compiled separately from the
amalgamation.
FossilOrigin-Name:
a136609c98ed3cc673c5a3c2578d49db3f2518d1
drh [Tue, 7 Feb 2017 12:58:38 +0000 (12:58 +0000)]
Make the cellMargin() routine of R-Tree slightly smaller and faster while also
fixing a harmless compiler warning.
FossilOrigin-Name:
07fe6228208684d579c4f6c334c90eb6262a9233
drh [Tue, 7 Feb 2017 03:44:42 +0000 (03:44 +0000)]
Back out [
ec8ff892ac ] which is causing missed OOM errors on some tests.
FossilOrigin-Name:
0611770d6a2fcb9fa0bedee19df9916820ae8f3b
drh [Tue, 7 Feb 2017 00:55:47 +0000 (00:55 +0000)]
Fix a minor typo in a comment in R-Tree. No changes to code.
FossilOrigin-Name:
f77ee9e941f22b0b2e88871df4466fdde9cde131
drh [Mon, 6 Feb 2017 16:52:32 +0000 (16:52 +0000)]
Remove a small amount of unnecessary code from R-Tree.
FossilOrigin-Name:
e5aea894267addb4dc9b21de24a20417b0be508a
drh [Mon, 6 Feb 2017 15:27:44 +0000 (15:27 +0000)]
Add the "max-limits" utility program to the tools/ subdirectory.
FossilOrigin-Name:
c54173b6c1acbb41ed9c323099e94b8e02c6c895
dan [Mon, 6 Feb 2017 07:37:50 +0000 (07:37 +0000)]
Fix a bug in kvtest causing "init --variance 0" runs to generate single byte
blob values only.
FossilOrigin-Name:
6b0276f968d3c6430076c6e540907cf840d0f398
drh [Mon, 6 Feb 2017 01:19:07 +0000 (01:19 +0000)]
Remove incorrect testcase() macros from R-Tree.
FossilOrigin-Name:
853a58a75ecbd01ebbf7e07fbd8c4fc9bef54a99
drh [Sat, 4 Feb 2017 20:15:51 +0000 (20:15 +0000)]
Simplification to the error handling to extension loading in
sqlite3_open().
FossilOrigin-Name:
ec8ff892ac9c6a8f81bcf69f1933f4bb69faa743
dan [Sat, 4 Feb 2017 17:33:30 +0000 (17:33 +0000)]
Allow sqlite3session_apply() to apply changesets to tables that have been
extended using ALTER TABLE ADD COLUMN.
FossilOrigin-Name:
b20ff81ff9c8af500ea96e0ba9d34524220a89f1
drh [Sat, 4 Feb 2017 14:24:05 +0000 (14:24 +0000)]
In RTREE, use an sqlite3_blob object rather than an sqlite3_stmt object
for reading content out of the %_node shadow table.
FossilOrigin-Name:
97ccf3e4de11ffea46993cb7fb7ab559b9810705
drh [Sat, 4 Feb 2017 13:12:12 +0000 (13:12 +0000)]
Close sqlite3_blob objects on xSync rather than waiting until xCommit.
FossilOrigin-Name:
95ee745fceb4a48c683f34c404c380fe5e7d684a
drh [Fri, 3 Feb 2017 20:54:57 +0000 (20:54 +0000)]
Improved performance and stack usage when processing VALUES clauses with
a very large number of rows.
FossilOrigin-Name:
5706d4708a30eb54da0ecbb6eb02f54746c390d9
dan [Fri, 3 Feb 2017 19:16:39 +0000 (19:16 +0000)]
Avoid a performance problem when very large "VALUES(..), (..), (..)" terms are
used in queries.
FossilOrigin-Name:
f5306ad6816cc377036685cdae227e762885229c
drh [Fri, 3 Feb 2017 15:16:25 +0000 (15:16 +0000)]
Improved tests for the carray() table-valued function.
FossilOrigin-Name:
83a099f139aba03edac19c890a0019e922032a25
dan [Fri, 3 Feb 2017 14:44:52 +0000 (14:44 +0000)]
Modify the sqlite3SelectDup() routine to avoid recursing on Select.pPrior.
FossilOrigin-Name:
a7674ead5be986c66f7d61d598adc7e5728bcd30
drh [Thu, 2 Feb 2017 20:32:28 +0000 (20:32 +0000)]
Ensure that all cursors have their positions saved prior to rolling back
a savepoint.
FossilOrigin-Name:
8e03a8e95fada5c24d369672a71f6e02288051da
mistachkin [Thu, 2 Feb 2017 19:24:05 +0000 (19:24 +0000)]
Fix issues in the sha1 extension seen with MSVC.
FossilOrigin-Name:
5a0da77c22ebc7db5e63b1520d30f3ad97b9bb3b
drh [Thu, 2 Feb 2017 16:30:25 +0000 (16:30 +0000)]
Remove the unused pReadNode prepared statement from each RTREE object.
FossilOrigin-Name:
e51dc0ec60d45cd57564735b6b2bb254a588533e
drh [Thu, 2 Feb 2017 16:08:27 +0000 (16:08 +0000)]
Fix a potential uninitialized (though harmless) variable in RTREE.
FossilOrigin-Name:
a1c74e09d63aca630d022ed074866433eed6b493
drh [Thu, 2 Feb 2017 15:35:54 +0000 (15:35 +0000)]
The sqlite3_blob_close() interface can cause recursive invocations of
nodeBlobReset() in RTREE. Make sure that does not cause problems.
FossilOrigin-Name:
88333441cbf26bfde2acebf2a3f75b5ebbdfb0ae
drh [Thu, 2 Feb 2017 14:40:06 +0000 (14:40 +0000)]
Change RTREE so that the sqlite3_blob object is closed whenever the cursor
count drops to zero and there is not a pending write transaction.
FossilOrigin-Name:
9bb4eafe1a60176ed2e731bb7e3067c0b8a46615
drh [Thu, 2 Feb 2017 02:28:45 +0000 (02:28 +0000)]
Use the sqlite3_blob interface for reading values from the %_node shadow
table in RTREE. This is a work in progress. There are still some minor
problems.
FossilOrigin-Name:
fc4917d730b29b0bf60fea5e0166728635783e9c
drh [Thu, 2 Feb 2017 00:46:55 +0000 (00:46 +0000)]
This is an experimental patch that ensures that all cursors have their position
saved prior to starting a ROLLBACK TO.
FossilOrigin-Name:
01d97e5b6502b1811b52a681f445e1aaae6c0ee6
mistachkin [Wed, 1 Feb 2017 23:06:17 +0000 (23:06 +0000)]
Fix harmless compiler warnings seen with MSVC.
FossilOrigin-Name:
0c66cf0f0a9ada2ddcb8d61001ef791b86226416
mistachkin [Wed, 1 Feb 2017 23:03:54 +0000 (23:03 +0000)]
Backout the change in [
02f6293f27 ] as it causes MSVC to complain.
FossilOrigin-Name:
aaae74d06f4865818465cfdb440258ae8a5b985a
mistachkin [Wed, 1 Feb 2017 22:59:29 +0000 (22:59 +0000)]
Fix C99-style variable declaration issue seen with older versions of MSVC.
FossilOrigin-Name:
54d285464a222c59327eb6c917c1cc0125a55a27
mistachkin [Wed, 1 Feb 2017 22:43:08 +0000 (22:43 +0000)]
Fix harmless compiler warnings seen with MSVC.
FossilOrigin-Name:
997f765bc6706769ae15f3e719354473e02bd78b
mistachkin [Wed, 1 Feb 2017 22:32:49 +0000 (22:32 +0000)]
Add an option to the MSVC makefile to enable treating warnings as errors.
FossilOrigin-Name:
6a378c29b43d61313ca9daa599e59d8eeeed9a27
drh [Wed, 1 Feb 2017 17:08:56 +0000 (17:08 +0000)]
Unwind the RTREE dimension loop inside of rtreeCallbackConstraint().
FossilOrigin-Name:
4854ea9c18e7d8066c90b41568d0fae97b01ea6d
drh [Wed, 1 Feb 2017 16:41:30 +0000 (16:41 +0000)]
Completely unroll the dimension loop inside of cellArea() in RTREE.
FossilOrigin-Name:
3c4c0126c287f844220b65e00fec17c059fbb7c8
drh [Wed, 1 Feb 2017 15:49:02 +0000 (15:49 +0000)]
Precompute the nDim2 value in the Rtree object and use that to make loops
over coordinates faster.
FossilOrigin-Name:
f1f3c8cc733a05c12dd980f2dfa0ab4ccd76c04b
drh [Wed, 1 Feb 2017 15:24:32 +0000 (15:24 +0000)]
Use compiler intrinsic functions (when available) for byteswapping in RTREE.
FossilOrigin-Name:
82fcd54a5941c20895ffc22d8009c1ebdae44eda
drh [Wed, 1 Feb 2017 15:19:29 +0000 (15:19 +0000)]
Fix the build by making the OPFLAG_ISNOOP macro available unconditionally.
FossilOrigin-Name:
510933cb24c5bf883265af3a6075e60a4b5ffa37
dan [Wed, 1 Feb 2017 14:19:43 +0000 (14:19 +0000)]
Update the documentation comment in sqlite.h.in for sqlite3_preupdate_hook().
FossilOrigin-Name:
7f8570208c06c056d426e9299d9930181a0464f8
dan [Wed, 1 Feb 2017 14:10:24 +0000 (14:10 +0000)]
Changes so that the pre-update hook and the sessions module work with WITHOUT
ROWID tables.
FossilOrigin-Name:
964bdc27f8f1b1db2e5c0c2a65c8156614cbe087