drh
19eb77bbe0
Update the wordcount.c test program and add a new script "time-wordcount.sh"
...
for additional performance testing.
FossilOrigin-Name: d8ef9f58643f13dd3d16dcde0d829ae08324f04b
2016-08-01 21:17:53 +00:00
drh
b0df540d7a
Fix other harmless compiler warnings.
...
FossilOrigin-Name: 90d2c490fc2ed4e073711b84f989ca4d496dcfb5
2016-08-01 17:06:44 +00:00
dan
4df049faec
Remove a duplicate typedef from loadext.c (remaining copy is in sqlite3ext.h).
...
FossilOrigin-Name: fd184e5a8f4577aa9a817eb55e771d8d1021b946
2016-08-01 16:57:30 +00:00
dan
d7d19b7137
Add an extra compiler switch to loadext.test to ensure that it picks up the correct version of sqlite3.h when building a test extension.
...
FossilOrigin-Name: e57fa6af32a1d1bf7be64b26850730f7e714b6c6
2016-08-01 16:50:50 +00:00
drh
8ef24b8deb
Update releasetest.tcl to automatically do one round of tests with
...
USE_STDCALL=1 when running on Windows with MSVC.
FossilOrigin-Name: a6a112de485eb9d15f6fa75568dcb876f00abb64
2016-08-01 15:00:00 +00:00
drh
32c83c8b9e
Avoid making unnecessary changes to the signatures of the
...
sqlite3_auto_extension() and sqlite3_cancel_auto_extension() interfaces.
FossilOrigin-Name: b6ea2f21f602031ef4dbd47462ac11b0bb0d5de6
2016-08-01 14:35:48 +00:00
mistachkin
19e76b2a7c
Fix harmless compiler warning seen with MSVC.
...
FossilOrigin-Name: 390a38a142d36d2c57b3f21aab72edcde450125d
2016-07-30 18:54:54 +00:00
mistachkin
11f69b879c
Using the header file 'intrin.h' requires MSVC 2005 or later.
...
FossilOrigin-Name: 9fae75c08b7d3b3e13734193ad8398ef6971cbac
2016-07-29 17:36:27 +00:00
mistachkin
be56ad31b7
For test 'shell1-5.0', disable round-trip testing for characters in the range 0xE0 to 0xEF on Linux, due to intermittent shell portability issues.
...
FossilOrigin-Name: 544c990afd3b64064cc4d970ec5d7eb23eeb9914
2016-07-29 04:12:18 +00:00
mistachkin
d62c07d42e
Fix typo in a test file interactive output string.
...
FossilOrigin-Name: 4fedd7902371935e1374ca7df3ffd4c4cf93959b
2016-07-29 02:04:36 +00:00
drh
50972b71e1
Merge additional linkage macro changes from the branch.
...
FossilOrigin-Name: 8b0eb22ee12b23421dcb8dbeb46909d813788a0b
2016-07-29 01:55:42 +00:00
drh
e363d50db8
Further refinement to the calling convention macros.
...
FossilOrigin-Name: 45588de385d2a721b3e9f04beb6c7b789dd27d42
2016-07-29 01:49:36 +00:00
mistachkin
df27352e37
Merge updates from trunk.
...
FossilOrigin-Name: 71ffa195f5a48280ee522d80ab82e8cdea636961
2016-07-29 01:47:18 +00:00
mistachkin
fefe82876c
Update the autoconf makefile for MSVC.
...
FossilOrigin-Name: 2daf20980d4cb9ed36372778ae1f3e595e503549
2016-07-29 01:46:57 +00:00
drh
99bbcc8287
Undo some unhelpful changes to skip-scan scoring that were added
...
by the check-in [9e2b2681] that improved scoring of index scan.
FossilOrigin-Name: c7d51934a4f30d096bb79fc509fc9dd0df5d89a4
2016-07-29 01:32:36 +00:00
mistachkin
c08556844e
Add macro necessary for building several extensions when the __stdcall calling convention is not in use.
...
FossilOrigin-Name: bc8c9b55ddf5227dc6b2116486f4a19bf54fce2b
2016-07-29 01:31:49 +00:00
mistachkin
2d45d7bfab
Missed a couple Tcl command deletion callbacks.
...
FossilOrigin-Name: fc5c187602acceedf7152b6927616d134f779a8f
2016-07-28 23:58:25 +00:00
mistachkin
afe18262b4
Use the SQLITE_TCLAPI macro in several extensions that were missed in the previous check-in.
...
FossilOrigin-Name: df2543652b835353c03956dfbd3e35e5b191372e
2016-07-28 23:54:45 +00:00
mistachkin
85bd982ba0
More compiler warning fixes for GCC related to the auto-extension mechanism.
...
FossilOrigin-Name: b8218129bc848c61fa6910feae4141dac6ad86fc
2016-07-28 22:53:10 +00:00
mistachkin
78d5e02f99
The return type used by the auto-extension entry points is 'int', not 'void'.
...
FossilOrigin-Name: bf9c86c74f30136a106f37603a6c7dcc76caf41d
2016-07-28 22:46:53 +00:00
mistachkin
177d0f0b47
Make sure all the auto-extension mechanism function signatures match up precisely.
...
FossilOrigin-Name: 87ba69b5ca4a8e4ef2bbaaf07a0ff13fc5cd4721
2016-07-28 22:38:31 +00:00
mistachkin
44e95d4f02
Make the extension auto-loading mechanism work with the __stdcall calling convention. Also, fix a couple Tcl command calling conventions missed in the previous check-in.
...
FossilOrigin-Name: 3ea567c4b07b2a7a027b9b5cb8250ab687803698
2016-07-28 22:23:26 +00:00
mistachkin
e37f7397c9
The 'sqlite3ext.h' content should be processed before being included in the amalgamation.
...
FossilOrigin-Name: cbe1de4799df4d512bc175f51ed99c6ec6d5a4d1
2016-07-28 19:28:35 +00:00
drh
3a22fdab9a
Decorate all interfaces with calling convention macros.
...
FossilOrigin-Name: fd784887e125bf95f4799ad09cbcba6795173487
2016-07-28 18:55:57 +00:00
mistachkin
c0bebc1dcf
All SQLite API functions and callbacks in the 'sqlite3ext.h' header file must be decorated with the calling convention.
...
FossilOrigin-Name: 97fc6e4328fe72cdd10f11a4b4bc9ce14bdc537f
2016-07-28 18:49:20 +00:00
drh
a8914faaaa
Disable the authorizer callback when reparsing the schema. This avoids
...
undesirable authorization failures following an ALTER TABLE.
FossilOrigin-Name: 805d01cdabb48a69eb986a7f084e53eb25d76b7f
2016-07-28 18:38:13 +00:00
mistachkin
7c60b26691
Fixup reserved function pointers in the Tcl stubs table and several macros containing Tcl function pointers.
...
FossilOrigin-Name: 959cd0131a5c717679b6e250229794679efe7f69
2016-07-28 18:18:53 +00:00
mistachkin
a121cc7c60
Adjustments to get 'testfixture.exe' compiling with Tcl 8.6 when __stdcall is enabled.
...
FossilOrigin-Name: 90e89ec9c8efff057a9e43c612427fc5c97ab52d
2016-07-28 18:06:52 +00:00
drh
aa0325872f
Improvements to the way the COMPILER compile-time option is set when compiling
...
with Clang.
FossilOrigin-Name: 81f9cf86c48f3cd43755ded4dc97388ec650f8af
2016-07-28 17:24:16 +00:00
mistachkin
7617e4a8a4
Make sure the SQLITE_TCLAPI macro is always defined.
...
FossilOrigin-Name: f2f1323cc4d2ad2d6794dbfae8d50b747213e85d
2016-07-28 17:11:20 +00:00
mistachkin
f27a80cf18
More work on getting the 'testfixture.exe' target to work correctly.
...
FossilOrigin-Name: 36b72fd609cf151f3db0e65b450d7cd515f2ac49
2016-07-28 16:09:52 +00:00
mistachkin
fe0c0d2088
Modify the mksqlite3h.tcl tool to handle the syscall typedef specially.
...
FossilOrigin-Name: 478a84efa6ea13629227ba8970c8ef8545d31074
2016-07-28 15:38:34 +00:00
drh
4194ff6598
Change mksqlite3h.tcl to automatically insert the SQLITE_CALLBACK calling
...
convention macros.
FossilOrigin-Name: 11ab9c9ab562df98c20abf126a8bac178aef77a8
2016-07-28 15:09:02 +00:00
mistachkin
52b1dbb5fc
Allow the 'testfixture.exe' target to be compiled with the __stdcall calling convention.
...
FossilOrigin-Name: e8be3dfeabaa31b3490793cf8230faae1204be15
2016-07-28 14:37:04 +00:00
drh
4aff119f3a
New test case to insure legacy CREATE TABLE syntax is supported.
...
FossilOrigin-Name: 6feff15cae8f0427be790355841d49c479c1c586
2016-07-28 12:52:30 +00:00
mistachkin
69def7ff2f
Work in progress on setting a calling convention for all callback functions.
...
FossilOrigin-Name: 02b8040e1add02734d2dbc6c59737ab74ff8fb18
2016-07-28 04:14:37 +00:00
drh
5f26e00761
Enhance the query planner cost estimation for index scans to take into account
...
WHERE clause terms that can be computed using only the index and that do not
require looking up rows in the original table. This fixes an obscure
performance regression that arose when the ORDER BY LIMIT optimization was
added by check-in [bf46179d44843].
FossilOrigin-Name: 9e2b26811452a5011d0a97a689636fa4409da856
2016-07-27 19:30:53 +00:00
drh
e604ec0be0
Add test cases and fix a comment.
...
FossilOrigin-Name: 50f8ea37fb9647c4a9da2c269a4d6f54b10ce96b
2016-07-27 19:20:58 +00:00
drh
2409f8a112
When estimating the cost of an index scan, factor in the cost savings of
...
being able to use the index to evaluate some WHERE clause terms without
having to do a table lookup.
FossilOrigin-Name: a59b5622f7cc6e502d71aabc12c053582cd03609
2016-07-27 18:27:02 +00:00
dan
d93ba6271b
Initialize a variable in where.c to avoid a valgrind warning.
...
FossilOrigin-Name: 4d59df02d3713b3e3804e1a88e676749b2794286
2016-07-27 16:03:54 +00:00
dan
2900a6222f
Ensure that the sqlite3_scrub_backup() extension creates a backup database at least as large as indicated by the database header, even if the last page of the input database is a free-list leaf.
...
FossilOrigin-Name: 483994a54dee3c7a3801e0e9d3c96fa9dbd8d2fd
2016-07-26 10:46:21 +00:00
drh
9d60875901
Copy the cache_spill setting from the main database over to the
...
vacuum_db transient database when running a VACUUM.
FossilOrigin-Name: c0e7d98ef2a13ede5ae865083ede1aaffdf43310
2016-07-26 04:49:43 +00:00
drh
426f4ab009
Make sure affinity is applied correctly on lower-bound range constraints
...
in the min() optimization. Fix for ticket [a0bac8b3c3d1bb].
FossilOrigin-Name: b819bace9c2a0b0159122b26db96a8f50a6f0eac
2016-07-26 04:31:14 +00:00
drh
2b62b5def8
In the VACUUM command, set the cache_size of the transient vacuum_db database
...
to be the same as the database being vacuumed.
FossilOrigin-Name: b78d99548ac53ac10dcc38368cc4b29c8cbcb09b
2016-07-25 22:40:12 +00:00
drh
07d9a03187
Fix a test case in FTS5 to make it compatible with Tcl 8.5.
...
FossilOrigin-Name: a495f8e77e14241150f79e746c7303284f04621a
2016-07-25 21:11:53 +00:00
drh
422dded5a9
Minor test infrastructure changes to better support SEE testing.
...
FossilOrigin-Name: 8dcb9d506b5eef3a21d97877217e0df69966a915
2016-07-25 16:10:43 +00:00
drh
a522473c65
Add a new %ifdef to parse.y so that the build works with SQLITE_OMIT_SUBQUERY.
...
FossilOrigin-Name: 38a48cfb9a8212970c4a4f8458643c22ed067e8b
2016-07-25 14:40:43 +00:00
drh
017256802b
Changes to test scripts to get them all running on OpenBSD.
...
FossilOrigin-Name: 9e7bedeee444cbf0b1a9165e88928c5d85088de1
2016-07-25 14:20:01 +00:00
drh
2aed979592
Disable the DBSTATUS_CACHE_USED_SHARED tests on mac when memsys3/5 is disabled
...
due to differences in the allocation sizes for the Darwin memory allocator.
FossilOrigin-Name: d6f6c87c9c0acf609a9d5bea818bb7a5437109a1
2016-07-25 12:10:25 +00:00
drh
26fe413be6
Update the vacuummem.test script so that it works on mac as well as on linux.
...
FossilOrigin-Name: ea7fb98b96f13f7dc5ed83ec5e8ad8857e20e06e
2016-07-25 12:01:18 +00:00