drh
4245c405ea
The sqlite3_close() interface returns SQLITE_OK even if there are outstanding
...
sqlite3_stmt and sqlite3_backup objects. The connection becomes a zombie.
Resource deallocation is deferred until the last sqlite3_stmt or
sqlite3_backup object closes. This is intended to help SQLite play nicer
with garbage collectors.
FossilOrigin-Name: e276a02b7f54e804caa553dca99023416a415e1c
2012-06-02 14:32:21 +00:00
drh
14bcd7d25e
Merge the unicode61 tokenizer and the shared-cache-memory database changes
...
into the sessions branch.
FossilOrigin-Name: df817e70afc3f41e680d8f84dfa5772d5b3ae4d9
2012-05-28 18:22:41 +00:00
drh
9c67b2aae0
Add the mode=memory option to URI filenames, which when present forces the
...
database to be an in-memory database. This enables named in-memory databases.
FossilOrigin-Name: 651520fa84ee0c488bef660bab9865500309d5e9
2012-05-28 13:58:00 +00:00
drh
2bfcce45eb
Merge into trunk the changes that permit :memory: databases to use shared cache.
...
FossilOrigin-Name: e72179f3a43e4df36b7c2955eaacce6c804272c6
2012-05-27 22:42:57 +00:00
drh
d4e0bb0e65
Have user interfaces report out the filename of in-memory databases as an
...
empty string, as it always has. This simplifies the changes.
FossilOrigin-Name: 595dfdbffefb2598cba89980f885289d1c5f5833
2012-05-27 01:19:04 +00:00
drh
4ab9d254e0
Only allow :memory: databases to share cache if there are created using a
...
URI filename. This minimizes the risk of breakages in legacy applications
that have shared-cache enabled but also use :memory: databases which they
expect to keep separate.
FossilOrigin-Name: e3ad61e0308a8442c2bdb7cdb3465576cd39ed4a
2012-05-26 20:08:49 +00:00
dan
7946c53009
If SQLITE_DISABLE_FTS3_UNICODE is defined, do not build the "unicode61" tokenizer.
...
FossilOrigin-Name: e71495a817b479bc23c5403d99255e3f098eb054
2012-05-26 18:28:14 +00:00
drh
afc8b7f0c1
Enable the use of shared cache for an in-memory database, so that separate
...
database connections can share the same in-memory database.
FossilOrigin-Name: 4590e433f2a595bb80fb061024b0a3d2ca25b7b2
2012-05-26 18:06:38 +00:00
dan
7a796731db
Add coverage tests for fts3_unicode.c.
...
FossilOrigin-Name: 07d3ea8a3cb179fab6c48934fc6751f53b507d36
2012-05-26 16:22:56 +00:00
dan
cf9f6f1375
Add fault-injection tests that use the unicode61 tokenizer. Fix a problem revealed by the same.
...
FossilOrigin-Name: ed28c48a3dd7e766e60db0d96ef5460bf9913e6b
2012-05-26 15:44:08 +00:00
dan
ab322bd21e
Change the name of the "unicode" tokenizer to "unicode61" to emphasize that the case folding and separator-character identification routines are based on unicode version 6.1.
...
FossilOrigin-Name: 8f3e60aa2253f21bcee5d03982cfdd7f16c00060
2012-05-26 14:54:50 +00:00
dan
3d403c71a8
Add an experimental tokenizer to fts4 - "unicode". This tokenizer works in the same way except that it understands unicode "simple case folding" and recognizes all characters not classified as "Letters" or "Numbers" by unicode as token separators.
...
FossilOrigin-Name: 0c13570ec78c6887103dc99b81b470829fa28385
2012-05-25 17:50:19 +00:00
mistachkin
86ab48fcfc
Use the new test suite helper procedure 'get_pwd' to query the current directory from tests.
...
FossilOrigin-Name: 1dd01e408161f5c1ab6b4fd449bee147d7e00744
2012-05-22 19:25:51 +00:00
drh
ba67e31752
Merge the 3.7.12.1 trunk changes into the WinRT branch.
...
FossilOrigin-Name: b9ed0b26debd225a4530eb17d25b857e8e883a85
2012-05-22 17:39:00 +00:00
drh
e56467fc9f
Version 3.7.12.1
...
FossilOrigin-Name: d07b7b67d1b3bf65cfe8d96d45a7f1d387bea7ce
2012-05-22 13:01:39 +00:00
drh
b24c61a232
Increase the version number to 3.7.12.1. Minor changes to test scripts.
...
FossilOrigin-Name: 5519cc5ef471e32a59995a34be811b46478dca1e
2012-05-21 22:45:35 +00:00
drh
bbabe19767
Mark and always-true conditional as such. Add the fuzz-oss1.test test module.
...
FossilOrigin-Name: bdc01fd0fa0c15efbb32bf18527c71e3e4dc48ed
2012-05-21 21:20:57 +00:00
drh
3a8c4be7d4
Candidate fix for the nested aggregate query problem of ticket
...
[c2ad16f997ee9c8e].
FossilOrigin-Name: f3dd1fafd4718558de1f06139419a8c560d727f5
2012-05-21 20:13:39 +00:00
drh
ac43e98d61
Change the ".schema" command of the shell to output VIEWs in declared order,
...
rather than alphabetical order, so that nested views will appear in the
correct order. Fix for ticket [cfe84e86839e59e8].
FossilOrigin-Name: e092ff69e25363f97495adc622f4250041ca9708
2012-05-21 03:15:06 +00:00
drh
5a3eff702d
Fix a test case in the shell1.test script so that it works even for very
...
long pathnames.
FossilOrigin-Name: 0c0a03987cc144fa017b0a0f9cf45c36e74fbd9f
2012-05-20 20:14:18 +00:00
mistachkin
4ec0100f35
Merge updates from trunk.
...
FossilOrigin-Name: 224c65e4a5c6ede076c364c93933cedd17f1e70b
2012-05-17 21:04:26 +00:00
dan
ca8b9bac3b
Return SQLITE_MISUSE if an application attempts to register a virtual table module with the same name as an existing module.
...
FossilOrigin-Name: ea2cd55e098b21cd8997fd6c1978131d3ef2fab4
2012-05-16 14:29:11 +00:00
dan
bba02a95d9
When a connection disconnects from a shared-cache database, only delete the in-memory schema if there are no other connections.
...
FossilOrigin-Name: 46f4eb5430d7bc9a339cdf7124ff4bd518eaa39b
2012-05-15 17:15:34 +00:00
drh
7b9370a445
Version 3.7.12
...
FossilOrigin-Name: be71d2f6678c5dd8a165a67ef6d3f64678227260
2012-05-14 01:58:36 +00:00
drh
ab35eaed1f
Parser bug fix: Make sure the table constraints allowed by prior releases
...
can still be parsed, even if they are technically not allowed by the
syntax diagram.
FossilOrigin-Name: e536ac041815b118c461ceee798f9b7283269f58
2012-05-12 18:29:53 +00:00
dan
3581020e53
Update sessions branch with trunk changes.
...
FossilOrigin-Name: 3f4848a871a4229ff6951eefaf7673de46d2c43f
2012-05-12 11:50:41 +00:00
dan
64b95bbcdc
Before running each test script, make sure the FTS enhanced query syntax is disabled.
...
FossilOrigin-Name: f84d87bcc0e4f6f56d01556b2b1dc27ebef9ce26
2012-05-12 05:30:29 +00:00
drh
e4d3195734
Use the regexp result option for a test case in shell1.test.
...
FossilOrigin-Name: 93061c6e063fddfa6b5d21064a36b58cc97599f1
2012-05-12 01:14:27 +00:00
drh
0971140bec
Adjust some of the pager tests to accommodate longer database pathnames.
...
FossilOrigin-Name: 22eef1d8a81ea95612f7973e242fa333c51ae399
2012-05-11 23:03:44 +00:00
drh
957ed0b3fe
Fix the wal2.test script so that it works on big-endian machines.
...
FossilOrigin-Name: c4ab72f75090a420f73b85334b4c42a85af951a5
2012-05-11 23:01:33 +00:00
drh
ed1d84e395
Fix a bug in the wal.test script so that it works on big-endian systems.
...
FossilOrigin-Name: 40fe9088fb73eee7b37b574a1dda422266a58638
2012-05-11 20:43:47 +00:00
dan
5cfed52dd1
Have the FTS auxiliary functions correctly handle terms that appear in non-matching branches of the FTS expression. Fix for [bdc6bbbb38].
...
FossilOrigin-Name: 4d3e1673b309a3d6a6cac01d67dfd79a8007f991
2012-05-10 17:43:14 +00:00
drh
882f87d826
Merge the table constraint parser fixes from trunk.
...
FossilOrigin-Name: 12bb31dd6f0d8544406710d6f02f0b7c0fe6c537
2012-05-10 13:03:28 +00:00
drh
caee673b0d
Merge in the windows AV-defense enhancements for open() and the table
...
constraint parser fixes for legacy schemas, all from trunk.
FossilOrigin-Name: 323570b8bd52c7e1b0c8c7a0e4f57f6fdebead11
2012-05-10 12:17:18 +00:00
drh
aeb281c2ea
Further changes to constraint parsing to support legacy syntax.
...
FossilOrigin-Name: 38bf90af1ede6ee64ef7be66392e895e60c9126e
2012-05-08 11:17:33 +00:00
mistachkin
b60803f4b9
Merge parser adjustments from the trunk.
...
FossilOrigin-Name: 0d8b920b2c195f3735608e7a08f5d23724cdf806
2012-05-07 22:29:19 +00:00
drh
4dc330dd33
Adjust the parser so that certain legacy schema constructs (that are not
...
valid according to the syntax diagram) continue to be accepted, so that
older databases that happen to use those constructs are still readable.
This fixes an issue introduced by check-in [1b75f301affac6]
FossilOrigin-Name: a1c014d8a87c8940b3a037d8d8cc4d5678809802
2012-05-07 19:21:36 +00:00
drh
0d7706f41a
Update the sessions branch with all the latest changes from trunk.
...
FossilOrigin-Name: 0f347fbfc7d8821f56f1ae0d1a9472a375631e65
2012-05-04 23:31:14 +00:00
drh
3badf8a96d
Sync the latest trunk changes into the winRT branch.
...
FossilOrigin-Name: be4ab188cffbe97ae4f1f0520591bb7f0df185de
2012-05-04 23:11:21 +00:00
dan
7a9fc59efa
Update a test in io.test to account for [05f98d4eec].
...
FossilOrigin-Name: bfa61e781cb442be641486e7e55a1518e888d830
2012-05-01 14:21:57 +00:00
drh
70331cd725
Enhance the processing of ORDER BY clauses on compound queries to better
...
match terms of the order by against expressions in the result set, in order
to enable better query optimization.
FossilOrigin-Name: a49e909c8738317c8383ce93771c0a9c4cf270bc
2012-04-27 01:09:06 +00:00
drh
3f17aefb35
Enhance the do_test proc in the test suite so that if the expected result
...
is of the form "/.../" or "~/.../" then regular expression matching is done
between result and the "..." part of the expectation. In the ~/.../ case,
we expect there to be no match.
FossilOrigin-Name: c9a734406c016329e80d887f7438206e41c52ce7
2012-04-27 01:08:02 +00:00
drh
5128e85cde
New test cases for the ".dump" and ".mode insert" commands of the shell.
...
FossilOrigin-Name: dfce8569765614462a3952d1761c10d579984665
2012-04-24 13:14:49 +00:00
drh
8df9185ce4
Move the shell test scripts into the test/ subfolder so that they are
...
run automatically by "make test".
FossilOrigin-Name: 9fb7da6904e479f4671eeebf1a4b7e4e4e4f2b7b
2012-04-24 12:46:05 +00:00
mistachkin
045f09cbb9
Merge the latest trunk changes into the WinRT branch (fixes for tickets [2a5629202f] and [385a5b56b9]).
...
FossilOrigin-Name: 25478dcff59690a5f59c3b96600374184057eae9
2012-04-21 00:31:21 +00:00
dan
6a36f43586
Do not consider a DISTINCT clause redundant unless a subset of the result-set is collectively subject to a UNIQUE constraint and it can be guaranteed that all columns of the subset are NOT NULL (either due to NOT NULL constraints WHERE clause terms). Fix for [385a5b56b9].
...
FossilOrigin-Name: 7b8548b1872cc1225355ba8311e93dd08d6526e2
2012-04-20 16:59:24 +00:00
dan
99f8fb66a4
Fix for 2a5629202f. When considering whether or not a UNIQUE index may be used to optimize an ORDER BY clause, do not assume that all index entries are distinct unless there is some reason to believe that the index contains no NULL values.
...
FossilOrigin-Name: 9870e4c4fef10112c987c40cb1b95255a7214202
2012-04-20 15:24:53 +00:00
mistachkin
c2f2d9280b
Merge the latest trunk changes into the WinRT branch (fixes various MSVC compiler warnings).
...
FossilOrigin-Name: 294a5cca5087b510c2483792631bbf98a415e254
2012-04-20 08:23:32 +00:00
drh
efa50bdac1
Merge the latest trunk changes into the sessions branch.
...
FossilOrigin-Name: 2b7a91e61794ce9ffe210bad584454e52c79924e
2012-04-19 20:00:31 +00:00
drh
7ed243b71a
Fix a harmless compiler warning in tclsqlite.c for MSVC x64. Fix a test
...
case associated with the FTS4 merge feature.
FossilOrigin-Name: de3f7187eb2ff24683a1854ae523e7d30c290893
2012-04-19 17:19:51 +00:00