shaneh
0a7905295c
Added option to dump pages.
...
FossilOrigin-Name: 08c545f03082421166a21274b39e07bb348c17e6
2010-01-08 04:50:22 +00:00
shaneh
d61fa23290
Minor tweaks to restore_jrnl.tcl utility script.
...
FossilOrigin-Name: b97aca1200d959a1e7c08dd4e9dbce4724342119
2010-01-07 22:02:34 +00:00
shaneh
ea6800c5c4
Small tool that attempts to repair a journal header.
...
FossilOrigin-Name: 05b18b5f6a38f513ff49656faada725eb44715b7
2010-01-07 21:49:48 +00:00
drh
1d9da70ad7
Fix the expression comparison logic to take the COLLATE operator into account.
...
Ticket [360c6073e197]
FossilOrigin-Name: 44bb1bfe5dedd8054ddd933941ee4112ed8d3b68
2010-01-07 15:17:02 +00:00
dan
93a696f61b
Changes to test code so that testfixture compiles when OMIT_SHARED_CACHE and OMIT_UTF16 are defined.
...
FossilOrigin-Name: d6ee5ff6c815e3aadd92d331560b529394eae661
2010-01-07 11:27:30 +00:00
dan
3174598a64
Fixes to problems in FTS3 snippet() function found by th3 tests.
...
FossilOrigin-Name: 3b5ccd2682176929f4da8a3f39a7e8f58b179f18
2010-01-07 10:54:28 +00:00
drh
8dc3e8f3e6
Another attempt at fixing the table generator in lemon. Again, this does
...
not effect the SQLite grammar.
FossilOrigin-Name: e22c090f35b3a2bac64781d33aa1123ed765dbbf
2010-01-07 03:53:03 +00:00
dan
c06013dca7
Fix a segfault that can occur following an OOM in the FTS3 snippet() function
...
FossilOrigin-Name: c7e5966e3b031672f149d0b6e1f75f9bc40868fa
2010-01-06 18:36:27 +00:00
dan
b023b04fcb
Change the fts3 snippet function to return (hopefully) more relevant snippets in less time.
...
FossilOrigin-Name: 8a208223a74d451f60d9cd707d63fb7d157d1737
2010-01-06 17:19:21 +00:00
drh
cf3e518506
Fix an issue with lemon generating incorrect grammars. This issue does
...
not effect SQLite.
FossilOrigin-Name: 077a6bee2dd4668a5b13c37aa7d4c052350ec782
2010-01-06 13:07:30 +00:00
drh
ac0e8fe946
Version 3.6.22 Release Candidate 2
...
FossilOrigin-Name: 28d0d7710761114a44a1a3a425a6883c661f06e7
2010-01-05 15:30:36 +00:00
shaneh
bb6b9878d7
Removed compiler warnings in MSVC.
...
FossilOrigin-Name: 4ecb4725b76042ac414caf90039d5d0a5f8f7068
2010-01-05 14:18:54 +00:00
drh
3918795951
Make sure new pages are zeroed even when loading a freelist page using the
...
noContent option. This prevents a harmless valgrind warning.
FossilOrigin-Name: e47e213369a2652d7eb6bddd58617959e21ca82b
2010-01-05 13:40:35 +00:00
dan
4564cedd80
Fix a problem in the shell tool. In some cases sqlite3_errmsg() was being called before sqlite3_finalize(), causing error messages to be more generic than they should be.
...
FossilOrigin-Name: e5d07045fabe0803715cfb291aa9e971235cb08a
2010-01-05 04:59:56 +00:00
drh
10f864e8ef
In the debugging memory allocator, initialize new memory allocations to
...
pseudo-randomness in an effort to find problems with memcmp() of structures
that have uninitialized pad bytes.
FossilOrigin-Name: 6462817b2f817a6105449b0ea3e1e336e42571d1
2010-01-05 03:30:15 +00:00
drh
9061ad10bc
Fix a case in os_unix.c where two structures that might have uninitialized
...
padding bytes are compared using memcmp().
FossilOrigin-Name: e02f25560216c7c96c5e1c7e71a8531650b3a96f
2010-01-05 00:14:49 +00:00
drh
6070f7eed4
Version 3.6.22 Release Candidate 1
...
FossilOrigin-Name: 9d8ab0f1f5ea4f05a685ea6541f501532514e8c5
2010-01-04 13:30:15 +00:00
dan
a98af17af6
Add experimental implementation of FTS3 functions matchinfo() and snippet() (not enabled by default).
...
FossilOrigin-Name: 51f7ee844057086789dcfcdcba7daf45343cae62
2010-01-02 19:02:02 +00:00
drh
855787a1b3
Fix a bug in the new sqlite3_test_control case of the previous check-in.
...
FossilOrigin-Name: 3b77701bc854997346e9cc33fe64d00d4b6332bd
2010-01-02 03:46:43 +00:00
drh
0e857739c4
Add a new sqlite3_test_control() verb that facilitates testing that all
...
keywords are shown in the documentation. (Two keywords were found to
be missing while testing the change.)
FossilOrigin-Name: d3cdc4b12be7f1ed2249ad210482200868956d12
2010-01-02 03:21:35 +00:00
drh
c79c761f84
Add evidence marks associated with autoincrement.
...
FossilOrigin-Name: 0e918c54893c361fb005295847f89aadcbfae35d
2010-01-01 18:57:48 +00:00
drh
5cfa584831
Add comments and an assert() to help clarify the operation of the
...
sqlite3VdbeList() routine used to implement EXPLAIN.
FossilOrigin-Name: e1ccdb93d79a6f7b16f1f59cc3ad78f8d02eae84
2009-12-31 20:35:08 +00:00
shaneh
f33a7a8cef
Minor changes to test scripts to support various SQLITE_OMIT options.
...
FossilOrigin-Name: 97f8a886b6314b044a0522a88f569798fdfb3ef9
2009-12-31 19:48:29 +00:00
shaneh
46aae3c0da
Changes to remove warnings in MSVC build.
...
FossilOrigin-Name: 6cf76c2ae25d6e58926637ecd42eed6b300b1a25
2009-12-31 19:06:23 +00:00
drh
9ede952ab5
Change evidence marks to track requirement number changes in the foreign-key
...
documentation.
FossilOrigin-Name: 6b4fcd81e775ff4c5d7bc454378555cf73cf5772
2009-12-31 15:51:38 +00:00
drh
faceaf1ffd
Change the version number to 3.6.22.
...
FossilOrigin-Name: 96919a46bbd63cb1794c8eb96b6ad23ecc09ba6b
2009-12-30 14:19:11 +00:00
drh
f49f352320
Adjustments to column cache handling in order to restore 100% branch
...
test coverage.
FossilOrigin-Name: cc6b959bc1f968e08eea1afd387201d70a0c1e80
2009-12-30 14:12:38 +00:00
drh
27ee406e2c
Remove some code in the column cache that is no longer used. Replace it with
...
an assert().
FossilOrigin-Name: 1f890efb7863bd743b9f6ef841e0c0c4e67d76e1
2009-12-30 01:13:11 +00:00
drh
c82b7513bf
Remove obsolete comment text from expr.c. No functional code changes.
...
FossilOrigin-Name: 84058be0beb799bc989d73a8d4cd8791ab709395
2009-12-30 00:12:39 +00:00
drh
25e978df92
Within the special new.* and old.* tables of a trigger, recognize all the
...
original table names even if those names overload the "rowid", "oid", or
"_rowid_" special names. Ticket [34d2ae1c6d0].
FossilOrigin-Name: 1a0e5fa9f0ff792c678c99d49960601a0cef925b
2009-12-29 23:39:04 +00:00
dan
8718183ea5
Fix a bug triggered by optimizing an FTS3 table when there are no segments on disk but pending terms in the hash table.
...
FossilOrigin-Name: a3b50e4f80ca2dacc1f72435b8c72d55ffdb64e7
2009-12-29 10:32:36 +00:00
drh
b6da74ebd5
Immediately purge entries from the column cache when the associated register
...
undergoes an affinity change. Ticket [eb5548a849]. Enhance the
SQLITE_TESTCTRL_OPTIMIZATIONS setting of sqlite3_test_control so that it
can disable the column cache for testing purposes, in an effort to prevent
future problems of a similar nature to this one.
FossilOrigin-Name: ea4e57e1c1b6663ceb12872e31a8503f6c14e3d8
2009-12-24 16:00:28 +00:00
drh
07096f68ae
Move the query flattener turn-off from a pragma to an sqlite3_test_control()
...
call. Make provisions (not yet implemented) to turn off other optimizers
using the same call.
FossilOrigin-Name: 4a97c623f4e190134de4b2ca406e311034a74797
2009-12-22 23:52:32 +00:00
dan
3540c1f7b8
Add the experimental FTS3 matchinfo() function. Provides details of the match that may be used for result ranking and other purposes.
...
FossilOrigin-Name: 37a1de02d1d8a34604f1bee896eaf579d4ba149a
2009-12-22 18:56:19 +00:00
drh
7b688ede64
Add a pragma to disable the query flattener - for use during testing.
...
FossilOrigin-Name: 1d8550e5c88db0ea76aea579c1a5bf99d48fbe43
2009-12-22 00:29:53 +00:00
dan
bf3e3a06cf
Change many comments in e_fkey.test to include the full text of the corresponding statement in foreignkeys.html.
...
FossilOrigin-Name: 4b489ecb250ea0e80d5bf8806f07259e1107f8ad
2009-12-21 08:53:18 +00:00
dan
e61fc3b6a8
Fix a problem in FTS3 phrase queries. Add tests to check that it really is fixed.
...
FossilOrigin-Name: 956de051f43dfc2f178a7820981da4bf69927190
2009-12-20 15:00:19 +00:00
shaneh
c7d526e92b
Modified statement machine in sqlite3_complete() to return 0 on empty string.
...
Added/updated tests for same. Ticket 356c885b0b.
FossilOrigin-Name: 76eca7295cf7df4bef013af6c8c37251300cd383
2009-12-17 22:17:38 +00:00
shaneh
4e7b32f37f
Fixed some TCL test cases to work if SQLITE_OMIT_TRIGGER is defined.
...
FossilOrigin-Name: 85e3c73497d72d09becf728efe81041277ca1730
2009-12-17 22:12:51 +00:00
shaneh
ca7dfda1d4
Updated and added new test cases for CLI.
...
FossilOrigin-Name: 29e3c8da1bd3971215036e5f5cfa5b25c6caa81f
2009-12-17 21:07:54 +00:00
shaneh
13b3602e1c
In shell.c (CLI), modified local_getline() to remove '\r' as well as '\n' from end of lines.
...
FossilOrigin-Name: b1b48be1cf55f3179eab8824cf5fee8100518845
2009-12-17 21:07:15 +00:00
shaneh
d77f56efe5
Fix typo in comment of prepare.c.
...
FossilOrigin-Name: 333c3ffe6d4d2293d01958812b9c02b0bf9796a4
2009-12-17 21:05:42 +00:00
drh
702b919a67
Disable trace when recursively running commands while vacuuming.
...
FossilOrigin-Name: 69a1348a3c88ffbf401cf72bbec8b4a76557bd11
2009-12-17 03:49:56 +00:00
drh
6695f47e93
Change the REGEXP function in ICU to require exactly 2 arguments.
...
FossilOrigin-Name: c34cf23efb92d9bbb7cf4245d372e47182771f63
2009-12-17 02:13:39 +00:00
drh
b057e56f22
Remove unreachable code that was added by the fix to the "(xANDy)OR(z)" bug
...
in the previous check-in.
FossilOrigin-Name: 04915562a0c2cb377bc7baa0c06c5d9ac376563c
2009-12-16 23:43:55 +00:00
drh
c01a3c1775
Ensure WHERE clause terms involving tables on the right end of a join
...
are not prematurely evaluated when tables on the left end of the join
make use of the OR-clause optimization.
Fix for ticket [31338dca7e].
FossilOrigin-Name: 2c2de252666662f5459904fc33a9f2956cbff23c
2009-12-16 22:10:49 +00:00
dan
27298ffde4
Modify some comments in e_fkey.test. No changes to code or tests.
...
FossilOrigin-Name: 1ba4f412325fc2ce552ad7feecf93891f7f95059
2009-12-16 14:49:15 +00:00
drh
d3479b94e3
Add a few simple evidence comments to the tokenizer. No functional changes.
...
FossilOrigin-Name: 0daec3099d439ce8a8779260b12975f262037bc8
2009-12-14 17:42:12 +00:00
dan
c007646318
Handle an unhandled OOM error code that occurs in fts3 with SQLITE_TEST defined.
...
FossilOrigin-Name: 82b069998e10b1a9a1d5e6bd85877d7b654c78bd
2009-12-14 15:17:27 +00:00
dan
971742058f
Fix a broken assert() in fts3_write.c. Also fix a couple of compiler warnings in fts3 code.
...
FossilOrigin-Name: a730a05b39c45138765df98d34b9db1ab4e72152
2009-12-14 14:49:57 +00:00
drh
7a98b853da
Additional corrections to documentation comments. No functional code changes.
...
FossilOrigin-Name: b3740b0aa0a7c6932e33e02b37baed5a5960a0bd
2009-12-13 23:03:01 +00:00
drh
df6473aa7a
Minor documentation updates. No functional changes.
...
FossilOrigin-Name: 6ae7e40ba0f710609cf1bc8baa54e7839eb7a2d7
2009-12-13 22:20:08 +00:00
drh
9be37f691b
Fix some documentation comments in sqlite.h.in. No functional code changes.
...
FossilOrigin-Name: c16b9bec77c8b9120b728f8431648d95175a83b8
2009-12-12 23:57:36 +00:00
dan
ca6be31b69
Tests to cover a few extra branches in fts3.c.
...
FossilOrigin-Name: 06b72b007393dc34d75a8bb16ce0e4507d5f8faa
2009-12-12 19:15:27 +00:00
dan
55be7449f9
Further fts3 coverage tests.
...
FossilOrigin-Name: d2a8c0f683271f5fb8c9badfb13e4e46fd78db71
2009-12-12 16:04:32 +00:00
drh
350e41dca2
Rename tkt-d82e3f3721.txt to use the (correct) .test suffix.
...
FossilOrigin-Name: 68cccd62b71f7b55bf7f2f56dc8507cbe80229ba
2009-12-12 13:58:18 +00:00
dan
45bcd6c274
Extra tests for coverage of fts3 code.
...
FossilOrigin-Name: eee921a99e69a9cd868a89de620bf47c4e26e4b5
2009-12-12 13:16:09 +00:00
dan
f5fff2a7b2
Add coverage test cases for fts3.
...
FossilOrigin-Name: 8fcb0478c82507403165719724b62a308cb83b57
2009-12-12 09:51:25 +00:00
drh
fb43403641
Additional changes to C-language interface documentation.
...
FossilOrigin-Name: 1342916fd350d06e1c1f3d7d380249f0c9282c7b
2009-12-11 23:11:26 +00:00
dan
601cd9aa24
Change the fts3 test interface used to configure the advisory node size paraemeter.
...
FossilOrigin-Name: 87fc0ce151c89beb5a43b65c0b1706f340c0c173
2009-12-11 16:03:45 +00:00
dan
4f887abc4c
Rationalize some code in fts3 used by optimize operations, queries of the pending-terms hash table and segment merges. Add the "INSERT INTO tbl(tbl) VALUES('optimize')" syntax.
...
FossilOrigin-Name: 29476da353df4c67fe744c1c5f466ba5b9c1a54b
2009-12-11 12:29:04 +00:00
dan
1548f210ba
Add comment to fts3rnd.test to explain how the test works.
...
FossilOrigin-Name: 6b740c7cd57d618623ed028be4213dfef860054a
2009-12-11 07:07:36 +00:00
drh
d68eee04b4
Extensive edits to the comments in the sqlite.h.in source file to identify
...
testable statements of truth about the C-language interface.
FossilOrigin-Name: ea884e1ed8dba1aa0f3cf68fc71923954983f6c6
2009-12-11 03:44:18 +00:00
shaneh
ef4114dd24
Avoid declaring and freeing test variables if SQLITE_TEST not defined.
...
FossilOrigin-Name: c2d22960f652264c48ec41b9ca4047aa142d86f7
2009-12-10 21:11:28 +00:00
dan
dcf3cc1f91
Remove some unused macros and types from fts3.c.
...
FossilOrigin-Name: 83a80efe8a6c3d53a7f80b4c5f4e0f40aa0aa52f
2009-12-10 18:38:54 +00:00
dan
0502e56415
Fix handling of "WHERE col MATCH ? AND docid = ?" clauses in fts3.
...
FossilOrigin-Name: 6cbbae849990d99b7ffe252b642d6be49d0c7235
2009-12-10 18:29:04 +00:00
dan
2c11d597c7
Fix an OOM related problem in the snippet() and offsets() functions of fts3.
...
FossilOrigin-Name: 61efff414254f209f1c69728ae2da3b3888b7290
2009-12-10 18:20:31 +00:00
dan
b893721a45
Changes to fts3 to avoid flushing data to disk within a SELECT statement.
...
FossilOrigin-Name: 48c0db0eb2d134bb302bb5eca6beb0ec46736257
2009-12-10 16:04:25 +00:00
drh
0edb3cf53d
Only declare the sqlite3_mutex_held() and sqlite3_mutex_notheld() interfaces
...
in the header file if NDEBUG is not defined.
FossilOrigin-Name: ee9b1c05a7f12d3d668b804bd11ae0def984b66e
2009-12-10 01:17:29 +00:00
drh
c29c5aa1fd
Restore the incorrect legacy ON INSERT syntax to the parser as a no-op.
...
That way, older databases that actually use this meaningless syntax will
still be readable.
FossilOrigin-Name: 54b955c36ba5c139a63c6031855305b764d3fa6c
2009-12-09 21:43:36 +00:00
drh
81c1655775
Added test cases for the multi-way USING and NATURAL JOIN fix.
...
Ticket [f74beaabde].
FossilOrigin-Name: 0b34ab25624ae4b6c5fa7775328ff0e637d68bfc
2009-12-09 18:22:25 +00:00
drh
2179b43465
The USING clause and NATURAL JOIN look at all tables to the left when
...
searching for a match, not just the one table to the immediate left.
Tables further to the left are preferred.
Fix for ticket [f74beaabde]. Still need to add test cases to complete
the ticket.
FossilOrigin-Name: b558e96f0a3cd2cbbe86e44293246a4730960d52
2009-12-09 17:36:39 +00:00
dan
18ff7fa6b4
Improve test coverage of fts3.c.
...
FossilOrigin-Name: 56b6432f8622d53ffd3a4d9a2244114f8531ed71
2009-12-09 14:39:41 +00:00
dan
6d67e33776
Mark fts3ReallocOrFree and fts3InitVtab as static. Ticket [ff44d82f3b].
...
FossilOrigin-Name: a9038306c33c88120d8bef27209d8f0641c85c9b
2009-12-09 05:30:36 +00:00
drh
0e3c512bff
Change to order of two branches in vtab.c in order to a restore 100% test
...
coverage.
FossilOrigin-Name: fdfdc777c59a108496c7381c8b267b38485e2c13
2009-12-08 22:16:15 +00:00
drh
19875c8240
Add comments to better explain the two-pass memory allocation approach
...
for prepared statements.
FossilOrigin-Name: 0e5e18ea12c70559d4c63981c0bb5f9430c5bcbb
2009-12-08 19:58:19 +00:00
dan
84db21ec6a
Add tests to improve coverage of fts3. Associated bugfixes.
...
FossilOrigin-Name: f0eac4175aee6c50ee68acc253f76fbe44574250
2009-12-08 19:05:53 +00:00
drh
4800b2ee95
Avoid pointer aliasing in the allocSpace() routine in vdbeaux.c.
...
FossilOrigin-Name: d6ae27512229d95502c584b17bb2cbdba401f80a
2009-12-08 15:35:22 +00:00
drh
1e15c031ca
Begin updating API documentation to use the new MD5-hash based
...
automatic requirements numbering. Comment changes only. Many similar
changes will follow.
FossilOrigin-Name: 973c5c86eed31dcce54d14e71938f2e255f5f1c7
2009-12-08 15:16:54 +00:00
drh
972a23119e
Allow zero-length names for tables, columns, and indices.
...
Fix for ticket [78e04e52eaf].
FossilOrigin-Name: 7b1cfd65a6f7c85ef8f6e4622973457cff9d007c
2009-12-08 14:34:08 +00:00
drh
4413c43762
Add test cases for ticket [abe728bbc311].
...
FossilOrigin-Name: 4eb9bf0b93a564844f133691936593245aa792fc
2009-12-08 13:44:21 +00:00
drh
b290e1c75e
Avoid dereferencing a null pointer when doing a multi-database comment where
...
one or more of the databases is an ATTACH-ed TEMP database.
Ticket [abe728bbc311d].
FossilOrigin-Name: f43e37e0a4cc7c15c996f4404dc775636396567d
2009-12-08 13:36:55 +00:00
drh
2ba3cccf22
Add evidence marks for the abs() and soundex() SQL functions.
...
FossilOrigin-Name: 003f3ed10cdb64b73d6df00e28260dd3491e1f16
2009-12-08 02:06:08 +00:00
drh
9286c07daa
Version 3.6.21 release candidate 3.
...
FossilOrigin-Name: 1ed88e9d01e9eda5cbc622e7614277f29bcc551c
2009-12-07 16:39:13 +00:00
dan
7bf44fc018
Remove a redundant line from fts3.
...
FossilOrigin-Name: cd50acf37fd1e3b388f98fb2df7ed03cff454b24
2009-12-07 16:26:52 +00:00
dan
1a0edc1559
Add extra tests for parsing of whitespace in tokenizer declarations,.
...
FossilOrigin-Name: 5030ba2e308df6aeef2ed6b2e153f7baf2c81262
2009-12-07 16:23:42 +00:00
shaneh
0d935576a4
Move some SQLITE_TEST code down to avoid mixing code and variable declarations.
...
Fix a test for high-order bit handling in sqlite3Fts3InitTokenizer().
FossilOrigin-Name: fad43d290f9489726aaa2e999a17ea17ed78b27b
2009-12-07 16:18:37 +00:00
drh
e6656ed33f
Version 3.6.21 release candidate 2.
...
FossilOrigin-Name: 78f6baffb0289a173b0bb56bc54bf0f32e6c957d
2009-12-07 14:48:51 +00:00
dan
ff32e39c8e
Add some tests for OR, AND and NOT operations to fts3rnd.test. Add tests to check that errors are returned when bad arguments are passed to fts3 functions snippet, offsets and optimize. Minor fix for the same
...
FossilOrigin-Name: 5811df3f0412598d189d46b58de4deff24573651
2009-12-07 12:34:51 +00:00
drh
00ce39458d
Enhanced detection of database corruption in btree.c:allocateSpace().
...
FossilOrigin-Name: 5a511f98877f0f7f12d336b7831f3da901856b02
2009-12-06 03:35:51 +00:00
drh
dc9b5f8ee3
Fix to check-in [f221f31eff]: Make sure local variable rc is declared even
...
when compiled without SQLITE_DEBUG.
FossilOrigin-Name: 7a9a35327c55452e858335933ce11669fc888aeb
2009-12-05 18:34:08 +00:00
dan
d1f7e92624
Add test case for the obscure corruption detection added by the previous commit.
...
FossilOrigin-Name: f221f31efff83651b9af295b98cfe98bcba3ad54
2009-12-05 18:16:11 +00:00
dan
89e060e462
Catch an obscure case of database corruption.
...
FossilOrigin-Name: 0f9b17a6da42b4da667bbbc00f713effe92a66b5
2009-12-05 18:03:50 +00:00
dan
28f372f6d9
Fix another bug in 3-way NEAR queries.
...
FossilOrigin-Name: 3bb13a06521b54194c9f3eb44e0dc42bacf016a4
2009-12-05 14:29:22 +00:00
dan
6e053f9c23
Fix some problems with FTS3 and 3-way NEAR queries.
...
FossilOrigin-Name: 23dc6fb5b28712d1ba18dc7ddb3f2ef3b469d611
2009-12-05 11:37:19 +00:00
drh
8e14c59611
Add the SQLITE_4_BYTE_ALIGNED_MALLOC compile-time option which tells some
...
assert() statements that the underlying system only requires 4-byte alignment
of 8-byte data objects like double or int64 and that system malloc() only
guarantees 4-byte alignment of returned pointers.
FossilOrigin-Name: 08faee686eb2fabe0dde51231ee55880e78541e8
2009-12-04 23:10:12 +00:00
drh
44a1d92050
Remove an assert() in btree.c:releasePage() that is not necessarily true
...
when the btree is recovering from an OOM that occurs in the middle of
a balance().
FossilOrigin-Name: 04fc9c7661dd24d080f965e7eae9010a2d346e6a
2009-12-04 22:51:39 +00:00
dan
165b67cb36
Fix a problem involving a 3-way NEAR query.
...
FossilOrigin-Name: 507890a9139875b1b594225c432c714f67312c0e
2009-12-04 19:07:24 +00:00
drh
476bda7de4
In the OSTRACE debugging macros in os_unix.c, identify the VFS currently
...
in use.
FossilOrigin-Name: 082b8da005128f47f63e95b6b702bf4517221b2a
2009-12-04 14:25:18 +00:00
dan
acf28fbdd8
Modify [2ad1461f25] to avoid leaving a prepared statement in "active" state following an OOM error in FTS3.
...
FossilOrigin-Name: 69c21ee46aeeb624fd8638b17ff7259a3e5f9a46
2009-12-04 14:11:33 +00:00
drh
406a15ad8b
Fix an FTS3 problem where an OOM error was not being propagated back
...
out to the top-level interface.
FossilOrigin-Name: 2ad1461f255c2499367b706a5ec65b44c1fc1618
2009-12-04 13:42:59 +00:00
dan
19a99d7eef
Reset the state of the asynchronous IO module at the end of the tkt-94c04eaadb.test script.
...
FossilOrigin-Name: e8ae7e98977ff2a47237ad64f8a9a800a6d2797c
2009-12-04 08:40:59 +00:00
dan
64eac557f3
Do not run fts3rnd.test as part of quick.test.
...
FossilOrigin-Name: 3bb64842acdca2a4e81f1c72130a90c23b0804f1
2009-12-04 05:41:03 +00:00
drh
a43be915c2
Clear a conflicting TCL variable in the fts3rnd.test test script.
...
FossilOrigin-Name: f9047b2e88a26ed52a54c527cca2a8c1123805d1
2009-12-04 01:44:42 +00:00
drh
c9b9b8aab7
Fix an assert() in btree.c that might have fired on a corrupt database file.
...
FossilOrigin-Name: 5ab2b3e300b70bc04cdead69275f8f734ea2d885
2009-12-03 21:26:52 +00:00
drh
313aa5735a
Remove a NEVER() from btree.c that could occur in a very obscure tested
...
evaluation with an I/O error on fstat().
FossilOrigin-Name: d5861d9ffecca499d79d722b5f742ffe3a5aff44
2009-12-03 19:40:00 +00:00
dan
e2e5145441
Fix an incorrect assert() in fts3.c. Add further fts3 tests.
...
FossilOrigin-Name: 75863c2d55e0801add5b8dcf88d575c5c870af04
2009-12-03 17:36:22 +00:00
shaneh
e585b8f05c
Updates to FTS3 to correct compiler warnings under MSVC.
...
FossilOrigin-Name: 37495b55ffbdc2db4482367ac7d8e32d4d71d58e
2009-12-03 06:26:46 +00:00
shaneh
5e17e8b7dd
Fix a couple of compiler warnings under MSVC.
...
FossilOrigin-Name: e3aa0870fce0666bf8c67ad6ec23e135d03b604a
2009-12-03 04:40:47 +00:00
shaneh
5e0098513e
Fix cut-and-paste error affecting a couple of attach tests on Windows.
...
FossilOrigin-Name: 59e2e2c6301e189a1a6601c681bbb0937a5cd14e
2009-12-03 04:32:06 +00:00
drh
a94cc4206a
Add links from C/C++ interfaces to their equivalent SQL functions. Comment
...
changes only - no changes to code.
FossilOrigin-Name: acce10f77125b5ab05d10ec10aef68dffa4e826a
2009-12-03 01:01:02 +00:00
drh
c12075b3b2
Change an error message in FTS3 to avoid using an uninitialized variable.
...
FossilOrigin-Name: 620a8a2b38f5f2ad3db304b2bc88360285c174db
2009-12-02 20:25:57 +00:00
dan
19125aaf68
Fix an uninitialized value read in sqlite3async.c.
...
FossilOrigin-Name: 1cf2136c39239a6fea6ac2a555f55865dd517d93
2009-12-02 18:16:56 +00:00
drh
614d265038
Fix compiler warnings in test_hexio.c.
...
FossilOrigin-Name: 6a2e0725c20520aa90abb2bc04037ee7acebb930
2009-12-02 18:03:57 +00:00
dan
2432e561c4
Modify a test in fts3b.test to reflect the fact that the docid field may now be updated.
...
FossilOrigin-Name: ef5b7450292e6f89c2b36427a9cd6f8050ad16f4
2009-12-02 16:09:16 +00:00
dan
bc7c039ce2
Clear the Pager.dbModified flag when unlocking the database. Assert that it is clear when locking the database.
...
FossilOrigin-Name: d17ec16b7c5051c904c09580a856593b2fb85edc
2009-12-02 14:44:32 +00:00
drh
9f3962e7b5
Make sure a variable is cleared before use in the where8.test script.
...
FossilOrigin-Name: b34365296d65310bb015901d18ed463e73d47cbe
2009-12-02 02:49:49 +00:00
drh
fd7c9912b4
Add testcase() macros to make sure boundary cases in BEFORE UPDATE triggers
...
are well tested.
FossilOrigin-Name: 27175caa28919fe145d369f27f52346b8bbadb1e
2009-12-01 22:09:25 +00:00
drh
d8267b8925
Fix a faulty function prototype in test_intarray.c.
...
FossilOrigin-Name: 110956a6505a9f17d08142d47003cf3bc4e515d3
2009-12-01 18:46:06 +00:00
dan
6bd3b2aa64
Use #include "sqlite3.h" instead of <sqlite3.h> in fts3Int.h.
...
FossilOrigin-Name: 7737db490ceba02c29c36fe181b4e7895b40aa75
2009-12-01 17:08:09 +00:00
dan
8c4499764b
Add typedefs for i16 and u8 to fts3Int.h when not building via the amalgamation method.
...
FossilOrigin-Name: fa56c1c47296c2f9ba1de9450d421dd06fde5a6a
2009-12-01 17:05:50 +00:00
dan
63d18b478c
Add tests for the remaining examples in fts3.in.
...
FossilOrigin-Name: e381cd5229b30168769330cb201bae2689e1a549
2009-12-01 15:04:33 +00:00
drh
cfa35664a5
Reorder function declarations in mutex_os2.c. This is a blind change - we
...
have no capability of testing on OS/2.
Ticket [97214a34d814]
FossilOrigin-Name: c40e4ef094bb9d58f14354602785ccc228f8bc2a
2009-12-01 14:31:18 +00:00
drh
65e8c82e1a
Changes to the TCL interface header to allow it to be compiled independently
...
from the amalgamation.
FossilOrigin-Name: 58113932d93926b4aa037a7487105a55f883cd0a
2009-12-01 13:57:48 +00:00
dan
3acb07d6c3
Open a savepoint within the FTS3 optimize() function.
...
FossilOrigin-Name: 4924fbb244bd1b7103e29e045812cb1c4d2d81c8
2009-12-01 13:48:13 +00:00
dan
612b1d5cd0
Fix a segfault that can occur when querying an empty FTS3 table. Also restore the rowid/docid conflict handling to work as it did in version 3.6.20.
...
FossilOrigin-Name: c022f66b5a65aa54d5ebd55cfe941118a2042280
2009-12-01 12:00:22 +00:00
drh
ff3f307cd0
Test coverage improvements in the FTS3 porter stemmer.
...
FossilOrigin-Name: 6d112bfd53998b8f6693d3f2edbcd5ab4cdf5fb1
2009-11-30 19:48:16 +00:00
dan
63b94d64c3
Add test cases for examples recently added to documentation file fts3.html.
...
FossilOrigin-Name: 498922cc356316a3ec59320529b685728e407746
2009-11-30 08:55:03 +00:00
drh
0a62730d3f
Updates to snippet() and offsets() functions of FTS3 so that they work
...
sanely following an OOM fault.
FossilOrigin-Name: b939a37a8ce296785a300e79ab9d3d87ad91343f
2009-11-28 21:33:21 +00:00
drh
9287d93c17
Change FTS3 to detect when the RHS of the MATCH opertor encounters an OOM
...
during string format conversion and report back an SQLITE_NOMEM error.
FossilOrigin-Name: 31eed4f8f95f0799d634eccbd9e09cb58172d250
2009-11-28 17:23:47 +00:00
drh
44c1e5a13c
Remove all benign OOM failure opportunities from the FTS3 hash table
...
implementation. All OOM faults cause SQLITE_NOMEM to be returned.
FossilOrigin-Name: 80754d383a0e890ea3f315dab941b9f166481ddd
2009-11-28 17:07:42 +00:00
dan
8e9f6aedae
Add a test case for creating an FTS3 table with no module arguments or opening/closing brackets in the CREATE VIRTUAL TABLE statement.
...
FossilOrigin-Name: a9cba7ea0a06efa7a63a3069b219cc30fb127e98
2009-11-28 15:35:16 +00:00
drh
1e6349900d
Initialize a variable (unnecessarily) to avoid a compiler warning.
...
FossilOrigin-Name: db65fd5913aae4d83d2c2bc243653175be3c3d35
2009-11-28 13:46:51 +00:00
dan
81fa6dc319
Fix a bug introduced by the fts3 refactoring (segfault when creating a table with zero module args). Also a fix to handle an OOM error.
...
FossilOrigin-Name: eada284bc10cafcab9beb3473bb0c70b3b4de2f9
2009-11-28 12:40:32 +00:00
dan
c473b48b23
Change the test numbers in e_fkey.test so that they are in order.
...
FossilOrigin-Name: ca73be44cc2dab5edc48292c467adc8362ddf645
2009-11-27 18:31:40 +00:00
dan
f6d7b055fa
Remove a C++ism accidentally added to fts3.c.
...
FossilOrigin-Name: 97d332416069d2fbce323740b276d0e7523eeee5
2009-11-27 12:14:47 +00:00
dan
bb5f168f2e
Move [7d30880114] to the trunk. Add optimizations to reduce the number of opcodes used for BEFORE UPDATE triggers.
...
FossilOrigin-Name: 1b7c5250ccb63182324bfc3f1ea28f17b6db357a
2009-11-27 12:12:34 +00:00
drh
5f18a221a1
Simplifications to the sqlite3_trace() bound parameter substitution logic.
...
FossilOrigin-Name: cb4b928648504ce29d751834e9ee3b5278dfca65
2009-11-26 14:01:53 +00:00
drh
f7829ad0e9
Make sure the new fts3Int.h header file is added to the amalgamation.
...
FossilOrigin-Name: f25558f333637b83f98a649acbb8a0d5dbada9ba
2009-11-25 22:42:22 +00:00
drh
d65311b980
Support zeroblob in trace output.
...
FossilOrigin-Name: 5086bf8e838c824accda531afeb56a51dd40d795
2009-11-25 21:05:09 +00:00
drh
c1bd1b33a5
Get trace with parameter insertion working for UTF16 databases.
...
FossilOrigin-Name: 01d5451af0bd2743eb74b98f2e77dd2c75f403b6
2009-11-25 19:35:23 +00:00
drh
c7bc4fde3c
Initial check-in of code that inserts tokenizations of the values
...
for bound parameters into the output of sqlite3_trace().
FossilOrigin-Name: 545cfb3b63f482036ae152e6ebcce86d373585a8
2009-11-25 18:03:42 +00:00
drh
8965b50edf
Enhance the %q, %Q, and %w printf conversions so that the precisions
...
specifies the length of the input.
FossilOrigin-Name: 3ba773132d3baeb87acaee538b8fb0b0f4293673
2009-11-25 16:53:37 +00:00
drh
5ff44379b3
Fix a tracing macro in the VDBE in the VColumn opcode.
...
FossilOrigin-Name: cb74b81bb0322efdd66146d7de466c14564b18fd
2009-11-24 16:26:17 +00:00
drh
7ab641fb01
Fix SQLITE_SECURE_DELETE so that it overwrites content on the root pages
...
of tables and indices that are dropped using the truncate optimization.
FossilOrigin-Name: 02ef972a56aab1e61786000283193165d3968842
2009-11-24 02:37:02 +00:00
drh
a62bb8d4d7
Make sure registers computed for the VFilter opcode are marked invalid
...
after the VFilter opcode finishes. Ticket [16fbf14cb2].
FossilOrigin-Name: 83dc7d38c2695d1b2a7d4866a4df9be9e41d1abe
2009-11-23 21:23:45 +00:00
drh
1ac399e8eb
Rearrange the order of two branches in order to restore 100% branch coverage
...
after recent changes to in-memory database processing.
FossilOrigin-Name: 6ce6ff4402241d5c76acd0c60c85097dfcd7fd7c
2009-11-23 15:59:27 +00:00
dan
f6963f99dd
Change so that deleting an Expr structure requires only one frame per level in the expression tree, not two.
...
FossilOrigin-Name: a4380ab326e4b0de29271c824d041193e86b7139
2009-11-23 14:39:14 +00:00
drh
fc7e7c7c84
Bump the version number to 3.6.21.
...
FossilOrigin-Name: 39214aee6553db76309851e7aa74fcc02d4f59b7
2009-11-23 13:17:26 +00:00
dan
7eee299243
Add some missing comments to fts3 files. No source code changes.
...
FossilOrigin-Name: b6402b2065b844acb3f1bb94ad964568706bcb86
2009-11-21 03:03:21 +00:00