drh
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
drh
e1e9766dee
Merge recent trunk changes into the NGQP branch.
...
FossilOrigin-Name: aebe1f2603ee04d792af73aaf59625bda99d5cd1
2013-05-30 11:48:36 +00:00
drh
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
dan
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
drh
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
drh
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
drh
4580d759fb
Remove the obsolete and unused sqlite3.inTrans field.
...
FossilOrigin-Name: c3381cd4957013d46075996c3b865177c888d2a8
2013-05-28 17:25:48 +00:00
drh
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
dan
c7ac8c0f1f
Merge autoconf-package branch with trunk.
...
FossilOrigin-Name: a72f50ef76a5f8a3d5a6a758ec88009c12127f06
2013-05-28 10:52:22 +00:00
dan
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
drh
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
dan
f6f8ac6104
Add the files used to build the amalgamation-autoconf package.
...
FossilOrigin-Name: 048865e8fdd2bef6b43b6cebd45fae94c8a1ab20
2013-05-27 17:19:58 +00:00
dan
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
drh
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
drh
7c4ac9860c
Merge the latest trunk changes into the NGQP branch.
...
FossilOrigin-Name: 7c8f992c04504a132686ad0652efdff19e43480d
2013-05-24 13:55:23 +00:00
drh
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
drh
c2bed0a2c9
Fix harmless compiler warnings in the shell.
...
FossilOrigin-Name: 9e2c17c5358b156b588542dbba38da7fedf5302b
2013-05-24 11:57:50 +00:00
drh
17f37c7d5a
Add OGC GeoPackage files to the magic.txt database.
...
FossilOrigin-Name: dab6a32847ce17f12e3a2b09a3567945b2154f67
2013-05-23 20:52:16 +00:00
dan
7a7083cf70
Have the "make fulltest" command run the "mmap" permutation test.
...
FossilOrigin-Name: 82ad373f85aa0a87d24c6dbb2ea7dca8c5aff56a
2013-05-23 10:15:46 +00:00
dan
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
drh
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
drh
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
drh
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
drh
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
drh
d15cb17174
Enhanced "wheretrace" output in the NGQP solver routine.
...
FossilOrigin-Name: 04dfb85a2a7025d4b5056b73fa8477691323919f
2013-05-21 19:23:10 +00:00
drh
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
drh
81ec8c910b
Merge in all trunk changes up through the 3.7.17 release.
...
FossilOrigin-Name: 14ab6675e5eab3761256a06dad23d2b11220788a
2013-05-20 15:14:42 +00:00
drh
d399fb3de8
Version 3.7.17
...
FossilOrigin-Name: 118a3b35693b134d56ebd780123b7fd6f1497668
2013-05-20 00:56:22 +00:00
drh
f15d23da6e
Remove a stray tab character from the transitive_closure extension source code.
...
FossilOrigin-Name: 7a9aa21c3506a10ab9465540e81071b39bca447d
2013-05-17 20:16:41 +00:00
drh
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
dan
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
drh
4c275b1fe7
Use sum() instead of total() in mptest/multiwrite01.test too.
...
FossilOrigin-Name: d0c2288c723e276957318be433e25746811b0ff7
2013-05-17 12:52:58 +00:00
drh
e314733295
Use sum() instead of total() in the mptest/crash01.test script.
...
FossilOrigin-Name: 8ba0fc98115f05ebed7ea945e156379c39e92de2
2013-05-17 12:51:49 +00:00
dan
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
dan
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
dan
4c5aeecc90
Fix minor test script issues causing releasetest.tcl to fail.
...
FossilOrigin-Name: d8ded9d8a1052885ce223c70efa55c0dd8b9920e
2013-05-16 19:15:07 +00:00
dan
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
dan
5b04dc517a
Several releasetest.tcl related fixes to test cases. No code changes.
...
FossilOrigin-Name: e97d744ba1138e6c4c1fc657c32f4391ea7479f1
2013-05-16 14:28:47 +00:00
mistachkin
6e8752d487
Fix compilation with SQLITE_OMIT_WAL on Win32.
...
FossilOrigin-Name: 6d45a79fb18dcd305cc41c525060e42f2402bd77
2013-05-16 12:41:49 +00:00
dan
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
drh
58a450c041
Treat identifiers in the HAVING clause the same as in the WHERE clause.
...
Only consider AS names from the result set to match if there are no other
matches. Continuation of the fix for [2500cdb9be05]. This check-in
fixes a bug found by [http://www.sqlite.org/sqllogictest/ | SqlLogicTest]
during release testing for version 3.7.17.
FossilOrigin-Name: 9ffff3d05226bbd01a0745dd0a511776358253c0
2013-05-16 01:02:45 +00:00
mistachkin
0600663346
Apply compilation fix from [a58af81483] to the other makefiles as well.
...
FossilOrigin-Name: 7e76889d675e4c646158f7f9188d25f155c18876
2013-05-15 20:35:13 +00:00
dan
11f71d6ae4
Fixes to allow testfixture to be compiled with SQLITE_OMIT_VIRTUAL_TABLE defined.
...
FossilOrigin-Name: 00231fb0127960d700de3549e34e82f8ec1b5819
2013-05-15 18:34:17 +00:00
drh
6fdd3d8aa0
The sqlite3ExprCollSeq() function can no longer be called while parse
...
the schema, so remove the code path inside of sqlite3ExprCollSeq() that
dealt with that case.
FossilOrigin-Name: 867b3e3b29a357f68e48f0898bf323c5dd0575a4
2013-05-15 17:47:12 +00:00
drh
f7d2573d7c
Merge the shared-cache-fixes branch into trunk.
...
FossilOrigin-Name: 5cc1cc55d28a73d390d51fdf6f2c026f1cab1d75
2013-05-15 17:08:46 +00:00
dan
d58792e0f0
Extra test for commit [6dae62c4e5].
...
FossilOrigin-Name: b10b9e758b171b0f514592bba70c3ecd17c8c47f
2013-05-15 16:24:46 +00:00
dan
f2614145ec
Add main.c to the list of files compiled with SQLITE_TEST defined when building testfixture.
...
FossilOrigin-Name: a58af81483a5facb09d2a80385fc8815b259a10d
2013-05-15 16:16:25 +00:00
drh
2ab2d55f01
Fix the sharedA.test module so that it does not attempt to run TCL callbacks
...
on a different thread from where the interpreter was originally created.
FossilOrigin-Name: 65ff754e3521aa8ee9135d235166cac2a8f57ebd
2013-05-15 16:08:33 +00:00
dan
d5dd3305a1
Do not run sharedA.test if the system is not threadsafe.
...
FossilOrigin-Name: d484eaf8d6dfaf2c1065b93b2a52a6db91c09fa4
2013-05-15 15:53:52 +00:00
dan
91cf9ba339
Merge latest trunk changes with this branch.
...
FossilOrigin-Name: 47dd65a890955f333d431e275f3f4d95d34a5ba5
2013-05-15 15:42:14 +00:00
dan
911ce41818
When loading a database schema that contains an index definition that includes a COLLATE clause for which the collation sequence is unavailable, do not assume that that index uses BINARY instead. Fix for [0fc59f908b].
...
FossilOrigin-Name: 6dae62c4e505a9a1a22c2771ef3e1921407c4748
2013-05-15 15:16:50 +00:00
drh
15912e70b7
Add the rot13.c loadable extension.
...
FossilOrigin-Name: 8f9bd8e7a88eb11fb17d29954fa4b8c2840a5019
2013-05-15 13:05:03 +00:00
dan
6743081784
When closing a connection, avoid tripping active cursors belonging to a different shared-cache client. Also, if sqlite3_close() is called while there are still active statements belonging to the connection, return SQLITE_BUSY and do not roll back any active transaction.
...
FossilOrigin-Name: 6071b7cce067c807e040283fc4b7449dc6eca498
2013-05-15 10:21:50 +00:00
drh
35cbe7f523
Merge together the fork in this branch.
...
FossilOrigin-Name: 164e3d4da20cc16d2a04d602b5a8229e0db99d9d
2013-05-14 23:13:41 +00:00
drh
85ec3b63d8
Fix an assert() in unlockBtreeIfUnused() so that it checks for the existance
...
of an untripped cursor, not for the existance of any cursor at all.
FossilOrigin-Name: a6f851d0fe01d8c8d44a2fe0b716ff7a5194c63b
2013-05-14 23:12:06 +00:00
dan
bf0e57a7d0
Avoid deleting a b-tree "has-content" vector belonging to another shared-cache connection from within sqlite3_close().
...
FossilOrigin-Name: 93462df78247f5634b9f53752cf80056bbfe9aac
2013-05-14 20:36:31 +00:00
drh
319f677d57
First attempt to get ORDER BY optimization working in NGQP.
...
FossilOrigin-Name: 9fe20292558bb9422de91e35648cb834cbf3b306
2013-05-14 15:31:07 +00:00
dan
cd7b91a7f1
Candidate fixes for problems revealed by notify2.test. Notify2.test is still failing at this point.
...
FossilOrigin-Name: ea0428f9b6e63066e7444a2ba2f8c12a2e3ab7e4
2013-05-13 18:23:15 +00:00
drh
0823c89c9b
Minor fixes to the OR-clause processing in the NGQP.
...
FossilOrigin-Name: d6946f33c7851aa7efb04b93ac2ae1ac50c26eec
2013-05-11 00:06:23 +00:00
drh
cf8fa7a65b
Now generating OR-clause plans.
...
FossilOrigin-Name: e17003fcfec0c0b524b1b9ff8e15e7ee83efa571
2013-05-10 20:26:22 +00:00
drh
eb04de3224
Update the NGQP so that it can produce plans that include automatic indices.
...
FossilOrigin-Name: 586b55d8d7722de1c0530b3b832bae0511e6d05c
2013-05-10 15:16:30 +00:00
drh
b2a90f09b8
Factor out common operations into whereLoopAddAll(). Add stubs for
...
missing features.
FossilOrigin-Name: 0278e420614e02fb2d8474ed99b0904275882dfe
2013-05-10 03:30:49 +00:00
drh
2b344c7220
Merge in the latest trunk changes.
...
FossilOrigin-Name: 5ed31c8279a4f465b982df5dc20cefc286928b93
2013-05-10 02:11:40 +00:00
drh
6b7157bbd5
Free up bits of wsFlags for reuse. Install the ORDER BY optimization
...
infrastructure for the NGQP.
FossilOrigin-Name: 82d50e198025a2fdb8ee733edb8419d388ee5362
2013-05-10 02:00:35 +00:00
drh
6cf9d8d63a
Add assert()s to the implementation of xRead() in the built-in VFSes to
...
verify that the offset parameter is always non-negative.
FossilOrigin-Name: cf5c3642247fdd34d87f0368594cd7b8f081636a
2013-05-09 18:12:40 +00:00
drh
b3129fa560
Do not move WHERE clause terms inside OR expressions that are contained
...
within an ON clause of a LEFT JOIN. Fix for ticket [f2369304e47167e3e].
FossilOrigin-Name: 1128575d0ab24f7023a0f6e6ce4828b9a09a7c6c
2013-05-09 14:20:11 +00:00
mistachkin
0bf3bc6c64
Refine and reform all Windows OSTRACE macro usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes.
...
FossilOrigin-Name: 610425f19008b8b5d4bf027c8b14d97ec3115a54
2013-05-09 00:40:13 +00:00
drh
c718f1c894
Fix memory leaks in the NGQP logic for virtual tables.
...
FossilOrigin-Name: 3c2e83a4a2c5e85202162feeb37ef7a3911c05a3
2013-05-08 20:05:58 +00:00
drh
92692d32ad
Fix a couple of harmless compiler warnings in the fts3_tokenize virtual
...
table.
FossilOrigin-Name: 1fa8c457394c94864f7584e4c893ec09e685fba4
2013-05-08 17:06:28 +00:00
drh
e6f450177b
Make sure the ORDER BY collating sequences are compatible with the
...
comparison collations before using the merge algorithm for compound
SELECT statements. Fix for ticket [6709574d2a8d8].
FossilOrigin-Name: ce853a75068073d6acc8bec0819505a22c4c7e69
2013-05-08 16:57:48 +00:00
drh
8c15d99a9a
Fix the wholenumber virtual table so that it returns higher costs for
...
unconstrained usage. Cherrypick from [ceff8955020cd13].
FossilOrigin-Name: 7227b61512a534645c73883c2e37b4e647592e5d
2013-05-08 14:20:28 +00:00
drh
5346e95dda
NGQP working with virtualt tables, though many legacy tests fail and there
...
are yet some memory leaks.
FossilOrigin-Name: bd9327a9684b99978734ccd561eea1ad864ab13b
2013-05-08 14:14:26 +00:00
drh
4f58074a80
Fix the wholenumber virtual table so that it returns higher costs for
...
unconstrained usage.
FossilOrigin-Name: ceff8955020cd1314bf1ab0af7d075fe2c0863e5
2013-05-08 14:13:51 +00:00
drh
a184fb87b8
More bug fixes to the WhereLoop generator and the solver in NGQP.
...
Now finds the best plan for TPC-H Q8. This seems to prove the
concept, but there is still much work to be done.
FossilOrigin-Name: 8e5aad37529ec3042e3468acf15186f566e2df8a
2013-05-08 04:22:59 +00:00
drh
f204dac1e3
Bug fixes in the solver.
...
FossilOrigin-Name: b36034bbd19bc5677b26a6f60ca96eb2b37db373
2013-05-08 03:22:07 +00:00
drh
a18f3d271e
Add the NGQP solver.
...
FossilOrigin-Name: 5d37587c50d8932b6357bfd03152a851510a4317
2013-05-08 03:05:41 +00:00
drh
43fe25fcef
Continued progress on generating good WhereLoop objects for the new query
...
planner.
FossilOrigin-Name: 15cc8a16482777d8e138c4d0863faf8d54fef33a
2013-05-07 23:06:23 +00:00
drh
f1645f0843
Inserting a few WhereLoop objects without leaking memory. Costs are
...
not correct. Inequality and IN constraints are not implemented.
FossilOrigin-Name: e8881a8b2f25f38bc8ff77619f96f38fe530d13b
2013-05-07 19:44:38 +00:00
drh
c01b7306ae
Make sure the ORDER BY collating sequences are compatible with the
...
comparison collations before using the merge algorithm for compound
SELECT statements. Candidate fix for ticket [6709574d2a8d8].
FossilOrigin-Name: fc3630cdef6e2cdbfb4e7b373d1a094753e55016
2013-05-07 17:49:08 +00:00
dan
e8dee7d1ed
Modify the fts3tokenize table implementation so that it does not use the SQL function fts3_tokenizer. The user may have installed an authorizer callback that prohibits this.
...
FossilOrigin-Name: 0ba67b64de258883e4c43db09e131bb67083855e
2013-05-07 12:16:48 +00:00
drh
1ba00291a3
In the command-line shell, output the elements of the schema in the order
...
that they appear in the sqlite_master table. This is necessary in some
cases to make the schema parsable.
FossilOrigin-Name: e5b3cd747bb0b484e38b8611a81925e2cc144435
2013-05-06 21:01:06 +00:00
drh
151b7d5bad
In the command-line shell, make sure the output of dot-commands goes to
...
the same redirected output stream as the result of queries.
Ticket [2f96536e7ff7dba]
FossilOrigin-Name: b72d365920dbe45e61d8b1cff708a8858c2b3e33
2013-05-06 20:28:54 +00:00
drh
acf9c2b555
Add an assert() to fts3_expr.c in order to silence a clang warning.
...
FossilOrigin-Name: d8dc2c5fb554eb5898ddc8d703c6a360af7fe023
2013-05-06 14:57:48 +00:00
drh
2722898c6c
Make sure the authorizer callback gets a valid pointer to "ROWID" for the
...
column-name parameter when doing an UPDATE that changes the rowid.
Fix for ticket [0eb70d77cb05bb2272].
FossilOrigin-Name: 26a59bb88d4082758eb281b365b57f9a0c059d89
2013-05-06 13:22:50 +00:00
drh
1c8148fffb
In where.c, make findTerm() a wrapper around methods to a new WhereScan object
...
which is capable of finding all suitable matching terms, not just the first.
This check-in includes some prototype functions for building WhereLoop objects.
FossilOrigin-Name: dd92b8fa929badaf2f79e8a00c83667a9d589096
2013-05-04 20:25:23 +00:00
drh
178e7ee76f
Add magic numbers for Bentley Systems application files.
...
FossilOrigin-Name: 9314b08099e7ac99a507a4799f2c6cdd6d597abb
2013-05-03 20:08:16 +00:00
drh
bce5beee18
Allocate meta(8) in the header as the "application ID" and add the
...
"PRAGMA application_id" command to query and set it.
FossilOrigin-Name: b2efe4f225adc5f4c2e3080bf459cc52fff82e18
2013-05-03 15:23:24 +00:00
dan
32c12fe2bb
Minor fixes for compilation with SQLITE_OMIT_WAL defined.
...
FossilOrigin-Name: b81e87e72b976e7157a53a50abc5422e2a6c4c39
2013-05-02 17:37:31 +00:00
drh
f1b5f5b855
Begin inserting some experimental code for the next generation query planner.
...
FossilOrigin-Name: ccaf4c3f7e1ec45e058d594d9b5c26818a37722a
2013-05-02 00:15:01 +00:00
drh
8a28a31028
Fix comments in the magic number file.
...
FossilOrigin-Name: 5a500848d2fa96fc7397e2acb64d5ae6551b5b1e
2013-05-01 20:40:46 +00:00
drh
b8a67ec827
Preserve the application-ID across VACUUM. Updates to the magic number
...
file.
FossilOrigin-Name: 4a190bea18e156b6fa4dc9f21c3ad32409049603
2013-05-01 20:36:23 +00:00
drh
4ee09b4bcc
Allocate 4 bytes of unused header space for an "Application ID". Add
...
the "PRAGMA application_id" command to set and query this identifier.
Add the "magic.txt" file to show how the posix file command might use
this application id.
FossilOrigin-Name: 28c9e7fdee2471a3026ee05ff591194d5f398131
2013-05-01 19:49:27 +00:00
drh
a309552e2c
Do not use a transitive constraint to an IN operator where the RHS is a
...
constant if there exists a direct == operator to another table in an outer
loop.
FossilOrigin-Name: faedaeace9c7ed9a8aaf96700caee09db0c0c061
2013-05-01 17:58:35 +00:00
drh
5c10f3b38e
Avoid redundant constraint checking due to transitive constraints.
...
FossilOrigin-Name: 329478cbed06f93652de50abdb31a6b41af02b9e
2013-05-01 17:22:38 +00:00
drh
9a1eccb621
Update the documentation to explain that when the 3rd parameter to
...
sqlite3_bind_text() and friends is NULL the result is to bind a NULL
SQL value. Ticket [19b44e35753ba]
FossilOrigin-Name: bd92de0e8d922b96513c5d431493800dda7e7562
2013-04-30 14:25:32 +00:00
drh
3c449c6b6b
Make sure extra parentheses around subqueries in the FROM clause are harmless.
...
Ticket [28c6e830f239ea5].
FossilOrigin-Name: 1c79569226db3d5a73e65a35877635ea8b478866
2013-04-30 14:06:57 +00:00
mistachkin
dd08ca0ff9
Add the #ifdefs for sqlite3ErrName() to sqliteInt.h as well.
...
FossilOrigin-Name: 400fc4c37ff34e84f5a129a083a567bda840278e
2013-04-30 07:58:15 +00:00
mistachkin
10269dc676
Define the sqlite3ErrName() function only when necessary. More robust handling of unknown return codes.
...
FossilOrigin-Name: e47cd314371c2be6e00d96392b3892a7f3015f98
2013-04-30 07:54:42 +00:00
dan
3a01b600d3
Improve the error message issued when an FTS query exceeds the maximum allowable tree depth.
...
FossilOrigin-Name: f480b1fe6012f36c59cd0525efdc6df74143ccd0
2013-04-29 18:07:37 +00:00
dan
181f4f789d
Fix an off-by-one in the code for limiting the depth of FTS expression trees.
...
FossilOrigin-Name: 72ac73189c3577740a77d2ea2fc7118391c0703f
2013-04-29 17:12:06 +00:00
mistachkin
a3514f1027
Merge mmap test fix from trunk.
...
FossilOrigin-Name: 95811877fdcbede4f61269ff1c7a6d9554f669cd
2013-04-29 09:20:06 +00:00
dan
f054396b38
Fix mmap1.test so that it passes on windows as well as unix.
...
FossilOrigin-Name: 52417eac3ecaec2dbbde170334358f5ddbd32501
2013-04-29 09:17:42 +00:00
mistachkin
56749cd1ba
Adjust a WAL test result due to changes in the corresponding return code name.
...
FossilOrigin-Name: 9272009f7932b3f18006f73776e36b8ef8770d3e
2013-04-29 08:58:00 +00:00
mistachkin
84edc19a67
Merge updates from trunk.
...
FossilOrigin-Name: 3a245a832d4843802c3c57f8cda3e4e1d0d52622
2013-04-29 08:56:49 +00:00
mistachkin
4eb9b72151
Update 'fuzzerfault' test for its new module loading command. Fix several test names in 'io.test' and make sure the database gets closed between tests.
...
FossilOrigin-Name: e81e9ca11db09424dd310bbc91686a5daa618cb1
2013-04-29 07:01:23 +00:00
mistachkin
e84d8d3219
More refinements to Windows OSTRACE usage. Replace all usage of sqlite3TestErrorName() with sqlite3ErrName() and add missing return codes.
...
FossilOrigin-Name: 05ba5e23fcc5da416d47a8ad5e667ed6a0c7a34a
2013-04-29 03:09:10 +00:00
mistachkin
f2c1c99f15
Initial work on reforming usage of OSTRACE by the Windows VFS.
...
FossilOrigin-Name: b347b5d1a01301f44e6fd20ee03a9529ffd25788
2013-04-28 01:44:43 +00:00
drh
015db9c859
Remove spellfix virtual table documentation from the source tree.
...
Reference the separate documentation on the website instead.
FossilOrigin-Name: adcf78909ff9064b6e3c4dd15ccd3245c8cf270b
2013-04-27 18:06:40 +00:00
drh
c5797545de
Untested fix for building on VxWorks.
...
FossilOrigin-Name: f14d55cf358b0392d3b8cd61dc85f43a610a8edf
2013-04-27 12:13:29 +00:00
drh
a13090fee9
Fix a formatting typo in a comment. No changes to code.
...
FossilOrigin-Name: 7a97226ffe174349e7113340f5354c4e44bd9738
2013-04-26 19:33:34 +00:00
dan
8e4714b303
Avoid unnecessarily reseting the pager cache after committing a transaction that takes advantage of the SQLITE_IOCAP_ATOMIC related optimization.
...
FossilOrigin-Name: c47144e98c0a0f9e09780c945de10c57b6a495ea
2013-04-26 18:36:58 +00:00
dan
77b428aa33
Avoid using posix_fallocate() in WAL mode, as it is not supported by all file-systems.
...
FossilOrigin-Name: 1bbb4be1a25947f75b2b0c6f368199016b6f7de3
2013-04-26 17:00:52 +00:00
dan
47a2b4a0b0
Avoid using posix_fallocate() in WAL mode, as it is not supported by all file-systems.
...
FossilOrigin-Name: 9c7523dabf4aee609287732ce787c9b9a9087e7f
2013-04-26 16:09:29 +00:00
drh
9ea88b2b48
Update documentation with new hyperlinks. No changes to code.
...
FossilOrigin-Name: 640eb54ad6aac9bc7109cba167389a9bcec3f21e
2013-04-26 15:55:57 +00:00
dan
5e2f28c1aa
Rebalance FTS expressions after parsing to limit recursion during evaluation. Avoid recursion when deleting FTS expression trees. Enforce a limit (currently 12) on the depth of an expression tree.
...
FossilOrigin-Name: 49d23ef61f9ce2ffe13237b51a0e01b0b46ba96b
2013-04-26 14:13:15 +00:00
dan
2ea54000a1
Merge another trunk change.
...
FossilOrigin-Name: 2648966f17bc1b783ef6d3b2368c613f6e02945e
2013-04-26 14:04:28 +00:00
drh
6f77140f78
Fix harmless compiler warnings in the FTS expression parser.
...
FossilOrigin-Name: 3c78af8c535e16518f18733325f4cd1df7ec8282
2013-04-26 13:14:19 +00:00
drh
2bba8c249a
Reduce the default SQLITE_MAX_MMAP_SIZE slightly so that it fits in a
...
signed 32-bit integer.
FossilOrigin-Name: 460752b8575320163d2659bb7ff24aff41e2bb66
2013-04-26 12:08:29 +00:00
dan
0d02dd8292
Merge latest trunk changes.
...
FossilOrigin-Name: 4d08e74d34e82f3be588049c9576a5c1008435e7
2013-04-26 06:58:06 +00:00
dan
aa29c86e49
Rebalance FTS expressions after parsing to limit recursion during evaluation. Avoid recursion when deleting FTS expression trees. Enforce a limit on the depth of an expression tree.
...
FossilOrigin-Name: f968d43f80cc2f236e7d09ba1e8278343e2b6976
2013-04-25 20:34:02 +00:00
drh
ea41dc44c5
Added the nextchar.c extension. Minor changes to the spellfix.c extension
...
so that it can be appended to an amalgamation and compiled without duplicating
symbols.
FossilOrigin-Name: 56b9a417f5451631f11c5206d625f11472ee65f9
2013-04-25 19:31:33 +00:00
drh
e67f418d10
Fix the tool/build-shell.sh script to remove references to files that are
...
now loadable extensions.
FossilOrigin-Name: aabeea98f53edde68f484f1794ae70789dac3889
2013-04-25 17:27:08 +00:00
drh
d9555a7927
Add wiki documentation files for the spellfix1 virtual table.
...
FossilOrigin-Name: 381564e91bbf619f99a48b0b7a94ac586cb9ee79
2013-04-25 17:07:26 +00:00
drh
c140a6b40d
Merge the std-ext branch into trunk. This merge adds several new extensions
...
to the ext/misc folder, including transitive_closure, ieee754, and amatch,
and it convers some older src/test_*.c file into extensions in the ext/misc
folder.
FossilOrigin-Name: bbe607c7d17c50b667990360e2ccfab8dd22f161
2013-04-25 16:52:19 +00:00
drh
8416fc7fc7
Added the transitive_closure, ieee754, and amatch extensions.
...
FossilOrigin-Name: 84018099c8715b982cd24ce9221f93c7379e8c08
2013-04-25 16:42:55 +00:00
drh
b7045ab2ed
Move the test_spellfix.c module to ext/misc/spellfix.c.
...
FossilOrigin-Name: de556add10150140981a2e34b3712e96a7c262e3
2013-04-25 14:59:01 +00:00
drh
1fb64af1dc
Fix the MSVC makefile so that it works with the ext/misc/*.c extensions.
...
FossilOrigin-Name: 680822e892f3efdb702eea3b321bc5785239dd56
2013-04-25 14:36:28 +00:00
drh
e50db1c5d2
Convert the fuzzer virtual table into a loadable extension and move it
...
to the ext/misc/fuzzer.c file.
FossilOrigin-Name: c8c69307f60c1d07ac666ae3797b7e3f286fd491
2013-04-25 14:31:46 +00:00
drh
24b6422dcb
Make test_wholenumber.c into a loadable extension and move it to
...
ext/misc/wholenumber.c.
FossilOrigin-Name: efcc9dd012b5f193324dfc2ee9c2410c16fc1b3b
2013-04-25 11:58:36 +00:00
drh
aa87f9a68b
Make sure the affinity and datatype of sub-subqueries are initialized
...
prior to subqueries as the latter relies on the former.
FossilOrigin-Name: 39b4e6ff9316cc78ea88349091e195b8104d1e9e
2013-04-25 00:57:10 +00:00
drh
ed17167e1d
Fix a simple comment typo. No changes to code.
...
FossilOrigin-Name: f136bd95824dc95b9e6acdc4d55db263ba13fbaa
2013-04-24 13:50:09 +00:00
drh
248f2be91a
Make "test_regexp.c" into a loadable extension and move it over to
...
ext/misc/regexp.c. Add the "load_static_extension" command for testing
purposes.
FossilOrigin-Name: 860fc393bff27045e0593c3c51bf5577accd0b79
2013-04-23 20:10:13 +00:00
drh
da8caa0b2d
Fix harmless compiler warnings.
...
FossilOrigin-Name: 1a1cf5aa86734c832d845e07780262a178188d56
2013-04-22 23:38:50 +00:00
drh
d99aaf10df
Do not allow a virtual table to cancel the ORDER BY clause unless all
...
outer loops are guaranteed to return no more than one row result.
Candidate fix for ticket [ba82a4a41eac1].
FossilOrigin-Name: 49cfa14fceeef2d55b449eb927c283ce6f650c07
2013-04-22 19:56:12 +00:00
drh
4d648c777b
Update MSCV makefile for the fts3tokenize virtual table. Clear some
...
harmless compiler warnings in the fts3tokenize code.
FossilOrigin-Name: 2b3fed09eb89f1e9d6a5f7487ef526b46eb51490
2013-04-22 17:07:56 +00:00
dan
d7a959c694
Add virtual table module 'fts3tokenize' to fts3. fts3tokenize provides SQL access to FTS tokenizer implementations.
...
FossilOrigin-Name: c5a4b21a15bd8a184380817ff41657acbccb866d
2013-04-22 15:30:37 +00:00
drh
b9830a1454
Enhanced documentation for the SQLITE_CONFIG_SQLLOG mechanism and the
...
test_sqllog.c demonstration file. No changes to code.
FossilOrigin-Name: 206caf21f6f6963aa38a9aa0f6ea11c7230bb726
2013-04-22 13:51:09 +00:00
drh
0c41d22920
Use transitivity to move constraints into the outer loops of a join whenever
...
possible, thereby reducing the amount of work that needs to occur in
inner loops.
FossilOrigin-Name: 5f4907e1c6230e3dd904bd99e1c48c576c669f63
2013-04-22 02:39:10 +00:00
drh
cca17c303b
Add the "warning" command to the TCL test infrastructure. Fix problems
...
with the loadext.test module.
FossilOrigin-Name: 514adbbd8cf3e296f55e8f803bddaac8ad8b2c96
2013-04-19 12:32:52 +00:00
drh
f8b1c69e93
Enhance the extension loading mechanism so that the same source code
...
can be used for run-time loadable extensions and statically linked
extensions, and to mask architectural differences in shared libraries.
FossilOrigin-Name: a85b6ecefa14fcfe6ebfceabf910f00c3721be7d
2013-04-19 02:47:05 +00:00
drh
08ef8d7311
Make the SQLITE_EXTENSION_INIT1 and SQLITE_EXTENSION_INIT2 macros into
...
no-ops if the extension is statically linked.
FossilOrigin-Name: 86eb3eed4c70730dba0e319f243f8cb4fa8de06c
2013-04-19 01:23:06 +00:00
drh
c288e442e3
Experiments in making loadable extensions easier to program. The
...
shared library filename tries various operating-system specific extensions
if the bare library name does not work. And the entry point is derived
from the filename is the legacy entry point name "sqlite3_extension_init"
is not found.
FossilOrigin-Name: 6cfa1d73d79b9f0be8157f0a37c264dd95b031c8
2013-04-18 22:56:42 +00:00
drh
93c8c457e8
Fix an incorrect comment (a copy/paste error) in the mptester. No code
...
changes.
FossilOrigin-Name: e94783f36ade43ef9d5b94db278622bcbce4179b
2013-04-18 20:33:41 +00:00
drh
bc08281954
Add the --breakpoint and --show-sql-errors commands to mptester.
...
FossilOrigin-Name: d0898fd76a54512894418e53ba28703e250c9ed3
2013-04-18 15:11:03 +00:00
drh
a956af67e1
Fix a compiler warning in sqlite3_compileoption_used().
...
FossilOrigin-Name: e9f9d84b223b69d36688cd7a4c7c696bfda8a1ad
2013-04-18 03:10:43 +00:00
drh
83b5bfc7d3
Do not suppress the ORDER BY clause on a virtual table query if an IN
...
constraint is used. Fix for ticket [f69b96e3076e]. Testing done on
TH3 using cov1/where37.test.
FossilOrigin-Name: 61b2a7be3b9c04bf45bffa93a7d3a480fc5c947a
2013-04-18 02:55:54 +00:00
drh
44fddcad02
Fix the --match command in mptester so that it checks the entire result,
...
not just a prefix of the result.
FossilOrigin-Name: 3e3ecad2b5d6c97032f2a9fb920c1b8a16ab8ef5
2013-04-17 19:42:17 +00:00
drh
87f9caa85c
In the mptester, add --glob and --notglob and --testcase. Make --exit work
...
on the main thread. Enable the load_extension() SQL function.
FossilOrigin-Name: c273c171f511475045ef0aa68ecf8e22b8351996
2013-04-17 18:56:16 +00:00
drh
7a411f441b
In the command-line shell, allow a dot-command to occur after a
...
multi-line c-style comment.
FossilOrigin-Name: e2c94ab930f0e5a6dbe8cdd34ebb8cfeeedca56c
2013-04-17 17:33:17 +00:00
drh
4670f6d5f6
Improvements to some of the comments that are used to render documentation
...
concerning loadable extensions. No changes to code.
FossilOrigin-Name: 76f4e31245fd1676a4520a2f7488bca6eb981e4a
2013-04-17 14:04:52 +00:00
drh
99b390827b
Update the command-line shell to give an exit code of 0 when the ".quit"
...
command is run from the command-line.
FossilOrigin-Name: 467e218120d63d0f34c447f7324bac1364ac0eac
2013-04-17 12:19:48 +00:00
drh
d16d0bc58b
Omit sqlite3_compileoption_used() entries that are not explicitly stated
...
on the compiler command-line, except keep SQLITE_THREADSAFE around so that
there is always at least one compilation option.
FossilOrigin-Name: 109d6767d2626741db1d15ed55e699ac3184a536
2013-04-16 18:24:34 +00:00
drh
50287f5c0c
Remove the unused SQLITE_CURDIR macro.
...
FossilOrigin-Name: 16f7ba4afaa69f6150b4defd4ddf5800f5d23084
2013-04-16 14:58:52 +00:00
drh
0f2340132f
Disable memory-mapped I/O when the codec is enabled.
...
FossilOrigin-Name: 340cca3079cd7aac2f51071435666e9e00ed8bd5
2013-04-16 14:52:47 +00:00
mistachkin
5824e05315
Expand scope of the SQLITE_MAX_MMAP_SIZE define for the Win32 VFS.
...
FossilOrigin-Name: f4b8faab45e217f227bd7ce65d4741754731b8cd
2013-04-15 20:08:27 +00:00
drh
9b4c59fa1b
Refactoring the mmap interface. The controlling pragma is now "mmap_size"
...
instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and
SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and
SQLITE_FCNTL_MMAP_SIZE, respecctively.
The default mmap_size is now always 0, meaning that
memory mapped I/O is off by default. There is a new compile-time option
SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size.
Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic
and causes it to be omitted from the build. An extra argument is added
to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE
at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we
know that it does not work, meaning that it cannot be turned on by mistake
on those platforms.
FossilOrigin-Name: ea1404a10abd7f68e1f8e0708c8a3199d1f79665
2013-04-15 17:03:42 +00:00
drh
a1710cc2ea
Fix a formatting typo in a comment. No changes to code.
...
FossilOrigin-Name: 3412424990c93d2978e819e6099811f1cdde316d
2013-04-15 13:10:30 +00:00
drh
f9b70c4b1f
Only consider AS names from the result set as candidates for resolving
...
identifiers in the WHERE clause if there are no other matches.
In the ORDER BY clause, AS names take priority over any column names.
Fix for ticket [2500cdb9be].
FossilOrigin-Name: d0d5af79a005de30194863c57c5018ee75e03581
2013-04-14 23:51:27 +00:00
drh
a3a5bd9b62
Only consider AS names from the result set as candidates for resolving
...
identifiers in the WHERE clause if there are no other matches. In the
ORDER BY clause, AS names take priority over any column names.
Candidate fix for ticket [2500cdb9be].
FossilOrigin-Name: ad53924dcadffb95c6497c46c228c67e8f5370e4
2013-04-13 19:59:58 +00:00
dan
4b2ac35e5b
Add a test case for detaching a database referenced by an fts4aux table created in the temp schema.
...
FossilOrigin-Name: 6d6f0592abe237256dbdf30ab0ba0bb0c365dd95
2013-04-12 16:53:19 +00:00
dan
a8f60381a9
Change the fts4aux virtual table module so that fts4aux tables created in the temp database may report on fts3/fts4 tables in any attached database.
...
FossilOrigin-Name: 546a187f1361dad340ed8f6c28dd89e6c19f9c33
2013-04-12 16:47:27 +00:00
drh
739ee7ffac
In mptester: improve the way that child processes are dispatched. Pass
...
the --vfs option through to children. Log the command used to start
child processes when the tracing level is high enough.
FossilOrigin-Name: 55718ae3462b2b6e0774d49e1c4c74143bc9e3a5
2013-04-12 01:04:36 +00:00
mistachkin
fdd72c9a2f
For the multi-process tester on Win32, make use of the GetCurrentProcessId API.
...
FossilOrigin-Name: f1b524b9d9ea3db96d54ac55c39f15e6879085bd
2013-04-11 21:13:10 +00:00
drh
e82c6c39f4
Fix the xCheckReservedLock() method on the windows VFS so that it cannot
...
return a false positive when two or more processes use it at the same time
on the same file. Ticket [7ff3120e4fa54abb55]
FossilOrigin-Name: dd3510bb20ade173c81c9874c05466011c8a249d
2013-04-11 18:28:55 +00:00
drh
ef8e986bde
Fix pragma code generation so that it always outputs an OP_Trace opcode so
...
that pragmas are shown in sqlite3_trace() output.
FossilOrigin-Name: 663f04bd48bc6f302230a22bd22b82bde2353943
2013-04-11 13:26:18 +00:00
drh
e3be8c8627
Show the process-id on log messages from mptester.
...
FossilOrigin-Name: 6748a83dc5c02db37ecd963e678c5c69db142cac
2013-04-11 11:53:45 +00:00
drh
fbc7e8845d
Have the UNIX VFS issue warnings via sqlite3_log() if a database file is
...
renamed or unlinked or linked to more than one name while the file is open.
FossilOrigin-Name: e238dcf9189c029fbdcf89339e21d9cdd8fbf2c5
2013-04-11 01:16:15 +00:00
mistachkin
08d418904a
Enhance multi-process tester integration with the Win32 API.
...
FossilOrigin-Name: 0fdc743583c67a3a017b9ad812c62a5104b9aee7
2013-04-11 00:09:44 +00:00
drh
d040e76442
Add new primary error codes SQLITE_NOTICE and SQLITE_WARNING for use with
...
sqlite3_log(). Add new extended error codes SQLITE_NOTICE_RECOVER_WAL and
SQLITE_NOTICE_RECOVER_ROLLBACK to use with sqlite3_log() messages that occur
on each recovery.
FossilOrigin-Name: be7d2c5482c41baf000d7fb5dccc31b974e91064
2013-04-10 23:48:37 +00:00
drh
56282a5bc7
Add the sqlite3_strglob() interface.
...
FossilOrigin-Name: 41d6ff32a6dd1311dc3aabe5156335a64a886919
2013-04-10 16:13:38 +00:00
drh
4c5298f352
Use symbolic names for tasks in mptester.
...
FossilOrigin-Name: f0d95afc73f8dbce8943dceb4a14b7de650c8823
2013-04-10 12:01:21 +00:00
mistachkin
21c9b6bdc9
Fix typo in name of mptest executable files in clean targets.
...
FossilOrigin-Name: 4c7d9e1ed8722e0c75b5fdbeffb9030ccef0bd64
2013-04-10 03:06:43 +00:00
mistachkin
65eb64765c
Correct test numbering on several rtree tests.
...
FossilOrigin-Name: 0adf8a3a4f2ca370568b35c9e8ce0e18f18701a2
2013-04-10 02:56:24 +00:00
drh
7de96f7fc1
Limit integrity_check output to 10 lines in mptester scripts.
...
FossilOrigin-Name: 67ee0dc0f4de5dc2ae92fb98932f1fdda3e76bdf
2013-04-09 20:04:09 +00:00
drh
ab755ac81a
Change the rollback journal so that it invokes sqlite3_log() make a record
...
of a recovery, just as the WAL journal does.
FossilOrigin-Name: 7cd3f6cd3a39ed1c4bbf9e3508824150632c5bd9
2013-04-09 18:36:36 +00:00
drh
6e0b6d52da
Add extra #ifndef statements in os_unix.c and os_win.c to make sure the
...
memory mapped I/O really is disabled when SQLITE_DISABLE_MMAP is set.
FossilOrigin-Name: c1e2523c9051782569291fff998140f7e0b70b6d
2013-04-09 16:19:20 +00:00
drh
188d488409
Disable the use of memory-mapped I/O if the SQLITE_DISABLE_MMAP macro is
...
defined. Automatically define this macro for OpenBSD and QNX. Other
systems are likely to be added to the disabled list over time.
FossilOrigin-Name: 8a4314a398c6c6efb25e6993c826b7e60d9bb1f9
2013-04-08 20:47:49 +00:00
drh
f90e50f60b
In mptester, handle startScript no-change commits using a retry rather
...
than grabbing an exclusive transaction.
FossilOrigin-Name: ae8bb24bfb014bdcb8aaa8159ddae0cd376afe99
2013-04-08 19:13:48 +00:00
drh
6adab7a1a8
Still more tests using mptester. Added test cases that leave rollback
...
journals that must be recovered by other threads.
FossilOrigin-Name: 437b674f00610e2b925dc00ca27b5022e3858994
2013-04-08 18:58:00 +00:00
drh
023dd903cc
Adding tests to the mptester scripts.
...
FossilOrigin-Name: e121adceb1e267e032dcbadb74eaa692a12a65bb
2013-04-08 17:57:26 +00:00
drh
e5ebd22d99
Change mptester to avoid reporting SQLITE_BUSY errors if the busy handler
...
is turned off and the tracing level is set low.
FossilOrigin-Name: d77407ae6a9e09dea124dd59b14fdbbc36ed3d4e
2013-04-08 15:36:51 +00:00
dan
bcb8a868ce
Handle the case in os_unix.c where SQLITE_FCNTL_MMAP_LIMIT requests that the mmap limit be set to a value smaller than the current mapping.
...
FossilOrigin-Name: 360473493ec1a7094a2b1c5436f3b70914a6dfdd
2013-04-08 15:30:41 +00:00
drh
554052c600
Merge the multi-process tester into trunk.
...
FossilOrigin-Name: ea53c45d79772986d2ad289f4f56f333541747e7
2013-04-08 14:41:34 +00:00
drh
bc94dbb661
Add the "mptester" target to the makefiles. Make mptester run with
...
synchronous off by default.
FossilOrigin-Name: 1397830bfead3699a7e6b1858ae67ae15259b89e
2013-04-08 14:28:33 +00:00
drh
841810cef6
Fix harmless compiler warnings in mptest.c.
...
FossilOrigin-Name: 59bdbb10ed67bf79e0991e2ad58a28321dedb959
2013-04-08 13:59:11 +00:00
drh
1bf44c7acb
Add the vfsname() and eval() SQL functions to mptest.c.
...
Enhancements to the test/config01.test script.
FossilOrigin-Name: 91397a147ce4f67a7ea1182f06a7dda3a96ec465
2013-04-08 13:48:29 +00:00
drh
7dfe8e2bde
Add --if, --else, --endif processing to mptest.c.
...
FossilOrigin-Name: 51265acae3088a51ac0ce6ab8731e6e15a48d4ae
2013-04-08 13:13:43 +00:00
dan
fbfe388d31
Fix an incorrect type cast in an assignment in vdbe.c.
...
FossilOrigin-Name: 320b5295da57023399c7b9eed82eae40cf619803
2013-04-08 10:38:57 +00:00
drh
e348fc7fe8
Fix the --source command so that its argument is relative to the script.
...
Verify that the SQLite header and library match. Print SQLite version
and compile-time configuration information on startup.
FossilOrigin-Name: 15cb0db7583c3a24cbea0c72576047a93fba0801
2013-04-06 18:35:07 +00:00
drh
8f35eb024e
Merge trunk changes into the mptest branch. The mptest needs the
...
SQLITE_MAX_SCHEMA_RETRY fix in particular.
FossilOrigin-Name: fb7a7773965697855c12193408cb75300decc23c
2013-04-06 18:10:27 +00:00
drh
60625313b0
Increase the default SQLITE_MAX_SCHEMA_RETRY to 50. Make sure that macro
...
covers every case where a prepared statement might need to be reprepared due
to a schema change. The sqlite3_exec() interface now uses
sqlite3_prepare_v2().
FossilOrigin-Name: c1d7304c80c4a6244c8a9f6fad1eebd0f339c724
2013-04-06 18:06:51 +00:00
drh
1790bb36c5
Add SQLITE_CONFIG_LOG error logging to the mptest program.
...
FossilOrigin-Name: 716c25bd125c8934499c1fb59a60d7e844c0691c
2013-04-06 14:30:29 +00:00
drh
896be7d93a
Get the build of mptest working on mac.
...
FossilOrigin-Name: a0bae686c9d7f08afac00f66067f5147be6231e0
2013-04-06 14:16:41 +00:00
drh
f012ae0759
Get the mptest program running on windows.
...
FossilOrigin-Name: 3966b33284355325afda627ed6f4e26f967438f8
2013-04-06 14:04:22 +00:00
drh
3f5bc38037
Many improvements to the mptest program. Added a simple test script.
...
FossilOrigin-Name: 07b0401a9b61b1664fc6dcddac3b5969fc0f481a
2013-04-06 13:09:11 +00:00
dan
abd6d84a11
Add tests to "permutations.test coverage-pager" to cover uncovered branches.
...
FossilOrigin-Name: 07a0e4e9820a85bf1690214fef3577866c763f92
2013-04-06 11:03:09 +00:00
drh
27338e6ed7
Add a prototype TH3-script-style test harness that starts multiple processes
...
operating on the same database file at the same time.
FossilOrigin-Name: c318fafe686120d7fb8e487eb3bb4942d497665c
2013-04-06 00:19:37 +00:00
dan
d7a558a9fb
Improve the code coverage of "permutations.test coverage-pager".
...
FossilOrigin-Name: b095e2cdb61ca8487255687f58fb1024d40f3986
2013-04-05 20:40:43 +00:00
dan
ced9813b12
Add further multi-client tests to mmap1.test.
...
FossilOrigin-Name: a107f75d93b8acd3403d8473a75137378041a833
2013-04-04 19:32:53 +00:00
drh
75f2d540ac
Disable memory-mapped I/O for the win32lock.test module
...
FossilOrigin-Name: 2b3d9805a28e51f646113e22c2dff2272342306e
2013-04-04 17:28:11 +00:00