6dc8cbe0d4
Improved handling of errors when doing run-time loading of an SQLite
...
shared-library into TCL.
FossilOrigin-Name: b3f23d186425d2362b756708cbaf422ba3c751f9
2013-05-31 15:36:07 +00:00
ae70cf1816
Allow tracing of whereLoopInsert() when the 0x8 bit is set on ".wheretrace".
...
Remove the use of sqlite_query_plan from where2.test. Fix a bug in the
code generator for OR clause optimizations.
FossilOrigin-Name: 707f0323264c35be14847a6adc49a0dc5eaf4ad2
2013-05-31 15:18:46 +00:00
84f1414b1a
Enhance the shell to provide more flexibility when entering numeric arguments
...
on dot-commands. In particular, allow hex arguments to .wheretrace.
FossilOrigin-Name: b9578c371ee569dca6a0964019959a93407c8ef9
2013-05-31 14:31:11 +00:00
0afb423fd3
Futher enhancements to the ORDER BY optimizer.
...
FossilOrigin-Name: d8efa5f8b60bc4c8df8bfad077f87f76f7ee9bf6
2013-05-31 13:36:32 +00:00
d044d209f3
Improved detection of unnecessary ORDER BY clauses.
...
FossilOrigin-Name: 58805eb36b9975706e2c4e382689519454e9a504
2013-05-31 12:43:55 +00:00
53b52f7f2e
Fix the constructAutomaticIndex() routine so that it works with NGQP.
...
FossilOrigin-Name: 5e1e61399513b4a95fd93df2377a2603f1670063
2013-05-31 11:57:39 +00:00
dc3cd4b020
Improvements to the ORDER BY suppressor in the NGQP.
...
FossilOrigin-Name: 24a2e9ddcecd3926817d77abbb75d068ee7140ad
2013-05-30 23:21:20 +00:00
1b0f026dbb
Incremental check-in with various NGQP fixes. Many tests still fail.
...
FossilOrigin-Name: a51d8c92496436488e1a6eabd85785e8fedf2736
2013-05-30 22:27:09 +00:00
6fa978dade
Futher simplifications to the NGQP. Fix some test cases to use
...
EXPLAIN QUERY PLAN rather than the (now obsolete) sqlite_query_plan
global variable.
FossilOrigin-Name: ae985db4fa08b5efbef5a834e852f0b05101264b
2013-05-30 19:29:19 +00:00
70bdcc738e
The expected result in a test case can be of the form "*glob*" or "~*glob*" to
...
match or not match the GLOB pattern. This is useful for matching
EXPLAIN QUERY PLAN output that contains regular expression syntax characters
like "?", "(", and ")".
FossilOrigin-Name: a3b4e261bd7e278f150872cce7b020af5ad8d2ed
2013-05-30 19:28:34 +00:00
7ba39a921a
Cut over the NGQP query planner. Remove lots of legacy code.
...
This check-in compiles but does not work. The test suite gets incorrect
answers and crashes.
FossilOrigin-Name: 001539df4b74dc1cbceb010a91407003ab4d8735
2013-05-30 17:43:19 +00:00
e1e9766dee
Merge recent trunk changes into the NGQP branch.
...
FossilOrigin-Name: aebe1f2603ee04d792af73aaf59625bda99d5cd1
2013-05-30 11:48:36 +00:00
ee0231ef52
Updates to the Codec interface to support codecs on attached databases and
...
to allow rekeying in the middle of a transaction. These changes are only
applicable if SQLite is compiled with SQLITE_HAS_CODEC.
FossilOrigin-Name: d5b084e9d8cfe9c0c339aca076d472bb50aa764c
2013-05-29 17:48:28 +00:00
ba4f01edb3
Add tests for running FTS 'merge' and 'optimize' commands in shared cache mode.
...
FossilOrigin-Name: 09e5a7ad85dc592fce868a2d0f8719c6915ccb47
2013-05-29 14:22:19 +00:00
def3367e50
Add the percentile() SQL function as a loadable
...
extension in the ext/misc directory.
FossilOrigin-Name: a64d760d9290b1be78cdda7ae66d4f02c3b3fa53
2013-05-28 20:25:54 +00:00
cda73feaa2
Finish removing the sqlite3.inTrans field. In the previous check-in, it was
...
merely commented out because I failed to select File->Save on my text editor.
FossilOrigin-Name: 2f97e38a6611cb17c24d74332d3ac3777dc0dd3e
2013-05-28 17:30:52 +00:00
4580d759fb
Remove the obsolete and unused sqlite3.inTrans field.
...
FossilOrigin-Name: c3381cd4957013d46075996c3b865177c888d2a8
2013-05-28 17:25:48 +00:00
f7b5496e8e
Many small harmless comment changes. Removal of obsolete comments and
...
fixing misspelled words. No changes to code.
FossilOrigin-Name: a0d5cc9315dc6e9ef7dee4c3dfabf4e562d64376
2013-05-28 12:11:54 +00:00
c7ac8c0f1f
Merge autoconf-package branch with trunk.
...
FossilOrigin-Name: a72f50ef76a5f8a3d5a6a758ec88009c12127f06
2013-05-28 10:52:22 +00:00
555c939dc7
Add the "dist" target to main.mk. For building the amalgamation autoconf package.
...
FossilOrigin-Name: 3fdc8b56493350fc4854fb1eaefe29ac87784f91
2013-05-27 18:37:33 +00:00
88da644f2c
Update the NGQP to record which loops need be run in reverse order to
...
satisfy ORDER BY clauses.
FossilOrigin-Name: 211f7a5374fe20a02535edc8b799a8a7136ff6b3
2013-05-27 17:59:37 +00:00
f6f8ac6104
Add the files used to build the amalgamation-autoconf package.
...
FossilOrigin-Name: 048865e8fdd2bef6b43b6cebd45fae94c8a1ab20
2013-05-27 17:19:58 +00:00
87ddfeb079
When writing to an FTS table, take an exclusive shared-cache lock on the %_segdir table before writing. Otherwise, an xCommit() call may report an SQLITE_LOCKED error.
...
FossilOrigin-Name: 3cd2da42e9403b1e6243ad53f3f2bbf89c0fb9b0
2013-05-27 10:11:53 +00:00
3bd26f0543
Record in the WhereLoop object the set of virtual table constraints that
...
need not be separately checked.
FossilOrigin-Name: b49fa74561f38c945be6149693678fd6518c2de4
2013-05-24 14:52:03 +00:00
7c4ac9860c
Merge the latest trunk changes into the NGQP branch.
...
FossilOrigin-Name: 7c8f992c04504a132686ad0652efdff19e43480d
2013-05-24 13:55:23 +00:00
40b521f847
Set _XOPEN_SOURCE to 600 so that fchmod() will (hopefully) work on FreeBSD.
...
FossilOrigin-Name: 61a10452399db28cd5ea4ba9d416b87a34c2eddb
2013-05-24 12:47:26 +00:00
c2bed0a2c9
Fix harmless compiler warnings in the shell.
...
FossilOrigin-Name: 9e2c17c5358b156b588542dbba38da7fedf5302b
2013-05-24 11:57:50 +00:00
17f37c7d5a
Add OGC GeoPackage files to the magic.txt database.
...
FossilOrigin-Name: dab6a32847ce17f12e3a2b09a3567945b2154f67
2013-05-23 20:52:16 +00:00
7a7083cf70
Have the "make fulltest" command run the "mmap" permutation test.
...
FossilOrigin-Name: 82ad373f85aa0a87d24c6dbb2ea7dca8c5aff56a
2013-05-23 10:15:46 +00:00
3719f5f600
Avoid unnecessary calls to FCNTL_SIZE_HINT. Return an error to the user if the file-control invoked by "PRAGMA mmap_size" returns a value other than SQLITE_OK or SQLITE_NOTFOUND.
...
FossilOrigin-Name: 40cfde8b4a59a09e52e62f9f029f8d3b32eb15fa
2013-05-23 10:13:18 +00:00
34e258c942
Cause the mmap_size PRAGMA to immediately change the mmap space if the
...
database connection is already active. In particular, reducing mmap_size
will immediately free up process address space.
FossilOrigin-Name: 761177927cb51e4f5e66061ca39cf37edbe8346b
2013-05-23 01:40:53 +00:00
ef86637655
Use the NGQP plan for EXPLAIN QUERY PLAN output. This change causes 207
...
errors in veryquick.test, many of which are benign.
FossilOrigin-Name: f783e8e6b10de44029c7c5f57e4648a4a677ca1b
2013-05-22 20:49:02 +00:00
0f133a4832
Allow the rowid at the end of an index to be used in a constraint on that index.
...
FossilOrigin-Name: 9bf0524df7ca2e7fcd92b2878a8457264b3c7f6e
2013-05-22 17:01:17 +00:00
a50ef114f4
Improvements to ORDER BY handling in the NGQP. Fix an "exit" mistakenly
...
left in a test script during the previous check-in.
FossilOrigin-Name: 12c709b4369c7d94d7fb743d0d0da7a9350a3d16
2013-05-22 02:06:59 +00:00
d15cb17174
Enhanced "wheretrace" output in the NGQP solver routine.
...
FossilOrigin-Name: 04dfb85a2a7025d4b5056b73fa8477691323919f
2013-05-21 19:23:10 +00:00
23f98daabb
Work toward improving the NGQP's ability to optimize out ORDER BY clauses.
...
FossilOrigin-Name: 67367f1e1f0c3eb6be65eea9873910aa62b49884
2013-05-21 15:52:07 +00:00
81ec8c910b
Merge in all trunk changes up through the 3.7.17 release.
...
FossilOrigin-Name: 14ab6675e5eab3761256a06dad23d2b11220788a
2013-05-20 15:14:42 +00:00
d399fb3de8
Version 3.7.17
...
FossilOrigin-Name: 118a3b35693b134d56ebd780123b7fd6f1497668
version-3.7.17
2013-05-20 00:56:22 +00:00
f15d23da6e
Remove a stray tab character from the transitive_closure extension source code.
...
FossilOrigin-Name: 7a9aa21c3506a10ab9465540e81071b39bca447d
2013-05-17 20:16:41 +00:00
e8601c6561
Fix a bug in SQLITE_TRACE_SIZE_LIMIT that was introduced by
...
check-in [1a1cf5aa86734c8]. That check-in was to remove harmless
compiler warnings. So once again, we have introduced a real bug
into SQLite by attempting to eliminate a harmless compiler warning.
FossilOrigin-Name: cec2bcb45aa3f0438e19381ac863f0f876a1d1ad
2013-05-17 17:15:34 +00:00
5b15b75ada
In test file test_syscall.c, include sqliteInt.h before any tcl or system include files. This ensures that the magical defines in sqliteInt.h really do enable large file support (and set things up so that sizeof(off_t)==8).
...
FossilOrigin-Name: 0f355bb17f256c6322e63a95835a67949aa48fb3
2013-05-17 16:41:15 +00:00
4c275b1fe7
Use sum() instead of total() in mptest/multiwrite01.test too.
...
FossilOrigin-Name: d0c2288c723e276957318be433e25746811b0ff7
2013-05-17 12:52:58 +00:00
e314733295
Use sum() instead of total() in the mptest/crash01.test script.
...
FossilOrigin-Name: 8ba0fc98115f05ebed7ea945e156379c39e92de2
2013-05-17 12:51:49 +00:00
cf8489fe2f
Add extra "PRAGMA mmap_size = N" statements to mmap1.test and mmap2.test.
...
FossilOrigin-Name: cec0a06c17435d5a35e76b52d6901ecda98f9916
2013-05-17 12:25:00 +00:00
ede01a97d3
In os_unix.c and os_win.c, initialize the default mmap-limit of a new file descriptor to the current global default mmap-limit, not the current global maximum allowable mmap-limit.
...
FossilOrigin-Name: 1def4ea3a02afc19648f4cd928b247f8fa55da80
2013-05-17 12:10:52 +00:00
4c5aeecc90
Fix minor test script issues causing releasetest.tcl to fail.
...
FossilOrigin-Name: d8ded9d8a1052885ce223c70efa55c0dd8b9920e
2013-05-16 19:15:07 +00:00
cf5db44ab6
Fix a typo in Makefile.in preventing compilation with the --disable-amalgamation option.
...
FossilOrigin-Name: 8ffbefe7d72d25984440c0e7c92a5e9c472ed55e
2013-05-16 18:33:06 +00:00
5b04dc517a
Several releasetest.tcl related fixes to test cases. No code changes.
...
FossilOrigin-Name: e97d744ba1138e6c4c1fc657c32f4391ea7479f1
2013-05-16 14:28:47 +00:00
6e8752d487
Fix compilation with SQLITE_OMIT_WAL on Win32.
...
FossilOrigin-Name: 6d45a79fb18dcd305cc41c525060e42f2402bd77
2013-05-16 12:41:49 +00:00
617dc8602d
In sqlite3_close_v2(), do not attempt to roll back a transaction if there exist active statement objects. Any open transaction will be rolled back when the last of these statement objects is finalized.
...
FossilOrigin-Name: d11e76072a17fe833b87595d9d79f2c4b0b09cb3
2013-05-16 11:57:28 +00:00