shess
2670a173ed
Copy fts1/ to fts2/, changing reference from fts1 to fts2. For future
...
reference, the source versions copied were:
README.txt r1.1
fts1.c r1.37
fts1.h r1.2
fts1_hash.c r1.1
fts1_hash.h r1.1
fts1_porter.c r1.1
fts1_tokenizer.h r1.4
fts1_tokenizer1.c r1.6 (CVS 3471)
FossilOrigin-Name: d0d1e7cdcc1dd085f1e359ce35c441699d517b02
2006-10-10 17:37:14 +00:00
drh
0058d84432
VACUUM now uses a temporary file in the official TEMP folder instead of
...
a file in the same directory as the original database. (CVS 3470)
FossilOrigin-Name: b743429dd54e2dcae213ec1993e9e916a9ba678d
2006-10-10 13:07:36 +00:00
drh
1c50296188
Version 3.3.8 (CVS 3469)
...
FossilOrigin-Name: 0658bb9e3f57e6aff4745590821a0590abc815f6
2006-10-09 00:38:41 +00:00
drh
383736b7c9
Website changes for version 3.3.8. Remove a C++-ism from test8.c. (CVS 3468)
...
FossilOrigin-Name: 465ce5b2fe4462191dd02672838f3f903cd0f976
2006-10-08 18:56:57 +00:00
shess
9f4683cd42
Fix incorrect doclist initialization in term_select_all().
...
docListRestrictColumn() generates a DL_POSITIONS doclist, which means
that after the first doclist is processed, the second doclist is
initialized as DL_POSITIONS, but with DL_POSITIONS_OFFSETS data.
(Note that DL_DEFAULT is now DL_POSITIONS, which masks this bug.) (CVS 3467)
FossilOrigin-Name: 144e3f11e22c6efd6f2d960599ab2d93542db406
2006-10-05 21:48:56 +00:00
drh
bb2abb2c09
Fix another UTF conversion problem on x64. Ticket #2008 . (CVS 3466)
...
FossilOrigin-Name: d16523e555afa1e6e89409f614fd665261fa3865
2006-10-05 11:43:53 +00:00
drh
53c36d5444
The snippet generator adds ellipsis between text from different columns. (CVS 3465)
...
FossilOrigin-Name: 6cf1fb9f801dc1b2865c0d1f9afb1b2076d4246e
2006-10-04 17:35:28 +00:00
drh
a39f4c5c8b
Fix UTF conversions for -O2 on gcc 4.1.1. Ticket #2008 . (CVS 3464)
...
FossilOrigin-Name: 86a08bb7c5da42fbeb5a026287d67912a2ffb7f1
2006-10-04 15:23:21 +00:00
drh
d9910fe529
Tests cases automatically remove many of their temporary files. (CVS 3463)
...
FossilOrigin-Name: eef0ec0d7ae0743d29454567f539e46ad2d5008e
2006-10-04 11:55:49 +00:00
drh
b1b6d4a929
Make DL_POSITION the default mode in FTS1. Remove the need to compile
...
with SQLITE_CORE when SQLITE_ENABLE_FTS1 is used. (CVS 3462)
FossilOrigin-Name: df1a4b4834fdc88056371bcc767c5dfde2eaab72
2006-10-03 19:37:37 +00:00
drh
0c97940da6
Modify the makefile(s) to know about the FTS1 module - however FTS1 is
...
turned off by default. Bump the version number to 3.3.8. (CVS 3461)
FossilOrigin-Name: 288ff63783725a5d8f86b6171473bb4ae3c4e37b
2006-10-03 19:12:32 +00:00
drh
fa7d4acf0b
Report the error SQLITE_CORRUPT instead of SQLITE_IOERR if unable
...
to rollback a hot journal that was damaged (for example) by filesystem
corruption following a power failure. (CVS 3460)
FossilOrigin-Name: 70501e4ea588ed762e4f6bc211ce63397faa3367
2006-10-03 19:05:18 +00:00
drh
bfe6631e7a
Add the OS-X locking style patches to os_unix.c. Disabled by default. (CVS 3459)
...
FossilOrigin-Name: f4103dea5e1a87adccccca715946e174d1cc7450
2006-10-03 17:40:40 +00:00
drh
35c12830d1
Fix sqlite3_analyzer so that it works when compiled against Tcl8.5. (CVS 3458)
...
FossilOrigin-Name: e774adce8e461a70ead9474cd64cb05c2d633eb9
2006-10-03 12:08:54 +00:00
drh
f316c8c08b
Fix sqlite3_analyzer so that it works on databases containing virtual tables. (CVS 3457)
...
FossilOrigin-Name: 47c8567fcb6b184ca13fcb67f80d261205c66fc8
2006-10-03 12:04:11 +00:00
drh
d75e03df2b
Add the option to omit offset information from posting lists in FTS1. (CVS 3456)
...
FossilOrigin-Name: fdcea7b1ffd821f3f2b6d30997d3957f705a6d0c
2006-10-03 11:42:28 +00:00
drh
f02a759980
Another typo in the Porter stemmer check-in. (CVS 3455)
...
FossilOrigin-Name: 6696bda11ccad9663b15206592116d638aa3ff0a
2006-10-01 20:41:03 +00:00
drh
b3be9815a1
Typo in previous check-in. (CVS 3454)
...
FossilOrigin-Name: a7350bf86c41c428adbfe42dc9cbb3ecf0045c25
2006-10-01 18:59:56 +00:00
drh
8923c9d378
Remove one non-working test case fromthe Porter stemmer tests and add
...
an acknowledgement for the source of the test data (Martin Porter himself.) (CVS 3453)
FossilOrigin-Name: 1a2df2a61b3c84feae7587fa5b1eebf9c7e73daa
2006-10-01 18:58:31 +00:00
drh
6da40bcd79
Add a Porter stemmer option to the FTS1 module. (CVS 3452)
...
FossilOrigin-Name: 936b06aaa8133e83104de87e03dc94e286a31f86
2006-10-01 18:41:19 +00:00
drh
2564ef9781
Make sure memory does not leak when patching up column names so that
...
they are unique in a join or view. Tickets #1952 and #2002 . (CVS 3451)
FossilOrigin-Name: fcde639119c309c699ee9dd60ed60fd6e9c8c077
2006-09-29 14:01:04 +00:00
drh
7cf43fa64e
Fix a bug in the handling of the OR operator in FTS1. Test cases added to
...
prevent a repeat. (CVS 3450)
FossilOrigin-Name: 8cdf1d6ae018dfc93f8f0962b2530e31aa0bebff
2006-09-28 19:43:31 +00:00
drh
07aa67c14a
More snippet generator improvements and test cases. (CVS 3449)
...
FossilOrigin-Name: 0934d220b33c52024f42c89fa13326bd52333f39
2006-09-28 18:57:59 +00:00
drh
1e7423e57f
Bug fix in the FTS1 snippet generator. Improvements in the way the snippet
...
generator handles whitespace. (CVS 3448)
FossilOrigin-Name: d3f4ae827582bd0aac54ae3211d272a1429b6523
2006-09-28 18:37:15 +00:00
drh
361e2bdeb5
Avoid segfaults when inserted NULL values into FTS1. (CVS 3447)
...
FossilOrigin-Name: 165645d30115f3171fc45489823f85639fe2bfcd
2006-09-28 11:41:41 +00:00
drh
6f68a5cf11
Fix to the previous check-in. (CVS 3446)
...
FossilOrigin-Name: 944d5f812004e2dc0065fce267accf8907235a50
2006-09-26 00:37:11 +00:00
drh
50c2b35ea7
Performance improvement and bug fix in sqlite3WinDelete(). (CVS 3445)
...
FossilOrigin-Name: 46ac1ac2d10cf2f1ebfb8dd4bb9a2ccffd85e816
2006-09-26 00:34:17 +00:00
drh
7f986a651e
CVS malfunctioned on the previous check-in. Make sure the revision to
...
date.c was received. Ticket #1991 . (CVS 3444)
FossilOrigin-Name: 433dac1f2924d00282ef952668b21a9c023c93cb
2006-09-25 18:05:04 +00:00
drh
9df9492adc
Fix a roundoff error in the %f converter of strftime(). Ticket #1991 . (CVS 3442)
...
FossilOrigin-Name: 51b9c755ea01528e32690aabe91236ed917369f1
2006-09-25 18:03:28 +00:00
drh
21e2cab932
Add a pragma for activating proprietary extensions. (CVS 3441)
...
FossilOrigin-Name: c63d34ce0c7412852fdcf047bc388d2f9710f297
2006-09-25 18:01:57 +00:00
drh
b1f1e6ebd7
Fix a round-off problem in the %f conversion of strftime(). Ticket #1991 . (CVS 3443)
...
FossilOrigin-Name: bf4608406a3246fe7a214cb31b79e51f86b7ee18
2006-09-25 18:01:31 +00:00
drh
6f8359865d
Bug fix in pragma table_info(). (CVS 3440)
...
FossilOrigin-Name: c037403bae0d78f9dd2703ff05cc3cd3ac54e062
2006-09-25 13:48:30 +00:00
drh
2e584cd250
Remove legacy cruft from shell.c. (CVS 3439)
...
FossilOrigin-Name: 815d8f84b317d26a3ca87405d27376e1e4493d8b
2006-09-25 13:09:22 +00:00
drh
aac2f5542d
Fix a bug in the handling of I/O errors introduced by the addition
...
of extended error codes in check-in (3422). (CVS 3438)
FossilOrigin-Name: 20d7b29443ea7d9ec1ef81219c74ba725e8711e3
2006-09-23 21:44:23 +00:00
drh
8c77bdde9f
Fix documentation typo. Ticket #1986 (CVS 3437)
...
FossilOrigin-Name: 58c32ce35a04838b4a8e4210299bac935e60bfb9
2006-09-23 20:46:23 +00:00
drh
ece3c728d0
Be sure to ignore PRAGMA encoding pragmas if the encoding has already been
...
set for a database. Ticket #1987 . This patch also includes some cleanup
of the schema parser and initialization logic. (CVS 3436)
FossilOrigin-Name: dc797bf4fa96deabd9ceb6cc062b98d2ac49a574
2006-09-23 20:36:01 +00:00
shess
7409310ac3
Fix a build problem around sqlite3_overload_function. Only affects
...
so/dll builds. (CVS 3435)
FossilOrigin-Name: 791d70936b9c4fed57c95f61e3b4dfdd24221ee4
2006-09-22 23:38:21 +00:00
adamd
adf52ce14b
Implemented UPDATE for full-text tables.
...
We handle an UPDATE to a row by performing an UPDATE on the content table and by building new position lists for each term which appears in either the old or new versions of the row. We write these position lists all at once; this is presumably more efficient than a delete followed by an insert (which would first write empty position lists, then new position lists). (CVS 3434)
FossilOrigin-Name: 757fa22400b363212b4d5f648bdc9fcbd9a7f152
2006-09-22 00:06:39 +00:00
adamd
f40a504164
When gathering a doclist for querying, don't discard empty position lists until the end; this allows empty position lists to override non-empty lists encountered later in the gathering process. This fixes #1982 , which was caused by the fact that for all-column queries we weren't discarding empty position lists at all. (CVS 3433)
...
FossilOrigin-Name: 111ca616713dd89b5d1e114de29c83256731c482
2006-09-21 20:56:52 +00:00
drh
154d4b2446
Be more aggressive with the SQLITE_OMIT_VACUUM macro. Saves about 150
...
bytes of code space. (CVS 3432)
FossilOrigin-Name: 7e618db4579d752cc6d775c664c93e141217948f
2006-09-21 11:02:16 +00:00
drh
8b62817797
Implementation of the snippet() function for FTS1. Includes a few
...
simple test cases but more testing is needed. (CVS 3431)
FossilOrigin-Name: c7ee60d00976efab25a830e7416538010c734129
2006-09-21 02:03:08 +00:00
adamd
d47522807e
Fixed a build problem in sqlite3_extension_init(). (CVS 3430)
...
FossilOrigin-Name: bb2e1871cb10b470f96c793bb137c043ef30e1da
2006-09-18 21:14:40 +00:00
drh
c1daee8574
Convert all names to lower case before sending them to the xFindFunction
...
method of a virtual table. In FTS1, use strcmp instead of strcasecmp.
Ticket #1981 . (CVS 3429)
FossilOrigin-Name: cd4e1de896ef715c444071f758b74dbb607e0572
2006-09-18 20:24:02 +00:00
drh
a70034de7c
Convert all names to lower case before sending them to the xFindFunction
...
method of a virtual table. In FTS1, use strcmp instead of strcasecmp.
Ticket #1981 . (CVS 3428)
FossilOrigin-Name: efa8fb32a596c7232bb1754b3231e4f2421df75b
2006-09-18 20:24:02 +00:00
drh
b08249ced3
Modify FTS1 so that the "magic" column has the same name as the virtual
...
table. Offsets are retrieved using a special "offsets" function whose
first argument is the magic column. Snippets will ultimately be retrieved
in the same way. (CVS 3427)
FossilOrigin-Name: 5e35dc1ffadfe7fa47673d052501ee79903eead9
2006-09-18 02:12:47 +00:00
drh
b7481e70c5
Add the sqlite3_overload_function() API - part of the virtual table
...
interface. (CVS 3426)
FossilOrigin-Name: aa7728f9f5b80dbb1b3db124f84b9166bf72bdd3
2006-09-16 21:45:14 +00:00
drh
572d11dc8f
Add documentation for the sqlite3_extended_result_codes() API. (CVS 3425)
...
FossilOrigin-Name: a6b3f6bed209dc27d36cd4e159159f73266e9911
2006-09-15 16:58:48 +00:00
drh
ae2f2048df
Fix an initialization problem in FTS1. Ticket #1977 . (CVS 3424)
...
FossilOrigin-Name: 5a18dd88498ca35ca1333d88c4635868d0b61073
2006-09-15 16:08:59 +00:00
drh
e49f982792
Bug fix and better testing of the extended result codes. (CVS 3423)
...
FossilOrigin-Name: 78ae74db1cbf605cd421e7ea321e879d3638968e
2006-09-15 12:29:16 +00:00
drh
4ac285a1c2
Add support for extended result codes - additional result information
...
carried in the higher bits of the integer return codes. This must be
enabled using the sqlite3_extended_result_code() API. Only a few extra
result codes are currently defined. (CVS 3422)
FossilOrigin-Name: ba579ddc4361fc6e8ea66f9385770d70dfe94751
2006-09-15 07:28:50 +00:00