shess
a26cf57782
fts2 support for testing. These are a prelude to adding some test
...
scripts. (CVS 3480)
FossilOrigin-Name: 004ad1943f8c5933ee9584a57b2de9d421470d3c
2006-10-19 20:27:58 +00:00
drh
b3fa0e0146
When converting UTF8 or UTF16 strings, change overlong strings and other
...
illegal codes to 0xFFFD. Ticket #2029 . (CVS 3479)
FossilOrigin-Name: 0c6736df9cb4c3c8f6224e30df939cead9cd5369
2006-10-19 01:58:43 +00:00
drh
28f4591466
Fix a problems that arise if malloc() fails while compiling SELECT
...
statements within a TRIGGER. (CVS 3478)
FossilOrigin-Name: ee4894b49995e4904db1991281563cfbb7b1c16d
2006-10-18 23:26:38 +00:00
drh
f6bbe022c7
Make sure the names of all expressions in compound SELECT statements used
...
as subqueries are correctly resolved. Ticket #2018 . (CVS 3477)
FossilOrigin-Name: b886eaa334150262ce4d1a1d0470ca4cf623a396
2006-10-13 15:34:16 +00:00
aswift
108bc320f9
Bug fix: named local variable lockStyle as lockingStyle in SQLITE_ENABLE_LOCKING_STYLE block in allocateUnixFile (CVS 3473)
...
FossilOrigin-Name: aa0b96c3dfa1d8008cd944281c227604b2ee16d1
2006-10-11 17:19:46 +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
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
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
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
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
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
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
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
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
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
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
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
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
adamd
4fc9308373
Minor build fixes. (CVS 3419)
...
FossilOrigin-Name: 3564b07c40ab4563482a9aa36850757963f44238
2006-09-14 16:57:19 +00:00
drh
5968593b51
Enhanced I/O error simulation. (CVS 3418)
...
FossilOrigin-Name: 86931854fc5a63571719639d9a23b1d6614a6153
2006-09-14 13:47:11 +00:00
drh
0b9a594ae1
Modify the ".dump" command in the command-line shell so that it works
...
with virtual tables. (CVS 3416)
FossilOrigin-Name: afd40184b752f641b423ceffac2476f2cfbdfd31
2006-09-13 20:22:02 +00:00
drh
235a818e61
Remove unused malloc failure test. (Ticket #1976 )
...
Also include fixes for other problems
discovered while investigating ticket #1976 . (CVS 3415)
FossilOrigin-Name: f4ab546b2e8105422fb1baa2b86e688b5d19f20e
2006-09-13 19:21:28 +00:00
drh
fdd48a76a6
Add support for IF EXISTS on CREATE/DROP TRIGGER/VIEW. Ticket #1899 . (CVS 3406)
...
FossilOrigin-Name: e4fe736cfbbdc081581911a01690576034877b72
2006-09-11 23:45:48 +00:00
drh
66b224cbb0
Get VACUUM working with virtual tables. (CVS 3404)
...
FossilOrigin-Name: d5ffef3870f06d2dd744ce9470d3c0e68062e804
2006-09-11 11:13:26 +00:00
drh
e410296021
Add a rudimentary tokenizer and parser to FTS1 for parsing the module
...
arguments during initialization. Recognized arguments include a
tokenizer selector and a list of virtual table columns. (CVS 3403)
FossilOrigin-Name: 227dc3feb537e6efd5b0c1d2dad40193db07d5aa
2006-09-11 00:34:22 +00:00
drh
4ca8aac2b4
Add pzErr parameters to the xConnect and xCreate methods of virtual tables
...
in order to provide better error reporting. This is an interface change
for virtual tables. Prior virtual table implementations will need to be
modified and recompiled. (CVS 3402)
FossilOrigin-Name: f44b8bae97b6872524580009c96d07391578c388
2006-09-10 17:31:58 +00:00
drh
fe1368ee08
Add a new zErrMsg field to the sqlite3_vtab structure to support returning
...
error messages from virtual table constructors. This change means that
virtual table implementations compiled as loadable extensions for version
3.3.7 will need to be recompile for version 3.3.8 and will not be usable
by both versions at one. The virtual table mechanism is still considered
experimental so we feel justified in breaking backwards compatibility
in this way. Additional interface changes might occurs in the future. (CVS 3401)
FossilOrigin-Name: 36693a5cb72b4363010f9ab0866e1f7865f65275
2006-09-10 17:08:29 +00:00
drh
a2a9d18869
Add some simple test cases for the OR and NOT logic of the fts1 module.
...
Fix lots of bugs discovered while developing these test cases. (CVS 3400)
FossilOrigin-Name: 70bcff024b44d1b40afac6eba959fa89fb993147
2006-09-10 03:34:06 +00:00
drh
8759576540
Add HAVE_GMTIME_R and HAVE_LOCALTIME_R flags and use them if defined.
...
Unable to modify the configure script to test for gmtime_r and
localtime_r, however, because on my SuSE 10.2 system, autoconf generates
a configure script that does not work. Bummer. Ticket #1906 (CVS 3397)
FossilOrigin-Name: 862302eaae7bdad6f1b6431f08439c4ce7e0e4bb
2006-09-08 12:49:43 +00:00
drh
f11c34df74
Bug fix in date/time computations. Ticket #1964 .
...
Some unrelated comment typos are also fixed and got accidently
checked in at the same time. (CVS 3396)
FossilOrigin-Name: c81eaa0dc9a327d222e066076c4a2da5e69d8c21
2006-09-08 12:27:36 +00:00
adamd
2e8464afdb
Include io.h on Windows to quell a build warning about access() having no prototype. (CVS 3394)
...
FossilOrigin-Name: b3eb1732bd529b14bef1872171a3c6429e209d31
2006-09-06 21:39:40 +00:00
drh
f0313813ec
Make sure strings returned by sqlite3_value_text() and sqlite3_value_text16()
...
are always '\000'-terminated. (CVS 3391)
FossilOrigin-Name: 2c63588b45f4e1ab9b9f1b72c901f3800433424a
2006-09-04 15:53:53 +00:00
drh
189d4afaaf
Do not call the xDisconnect method on a virtual table while xUpdate is
...
pending. Instead, defer the xDisconnect until after xUpdate completes. (CVS 3387)
FossilOrigin-Name: 61148f4c36255c4ed3552f888fa75252b300589d
2006-09-02 20:57:52 +00:00
drh
80788d8b65
Test for busted TCL builds that do not support 64-bit integers and print
...
a warning message to users that test failures may be a result of the bad
TCL build and not some problem with SQLite. Ticket #1953 . (CVS 3386)
FossilOrigin-Name: ca864ee913ea5ae88761e617bcac300ffa339369
2006-09-02 14:50:23 +00:00
drh
7c2d87cd71
Convert static variables into constants in the FTS module. (CVS 3385)
...
FossilOrigin-Name: 098cbafcd6dcf57142b0417e796d27ffddcc0920
2006-09-02 14:16:59 +00:00
drh
aa29c13579
Automatically register the FTS module if it is compiled into the build. (CVS 3384)
...
FossilOrigin-Name: 8a96bdb72439c0b337cbaa2d07897d0896ea3024
2006-09-02 13:58:06 +00:00
drh
5db455e7b5
Refactor the FTS1 module so that its name is "fts1" instead of "fulltext",
...
so that all symbols with external linkage begin with "sqlite3Fts1", and
so that all filenames begin with "fts1". (CVS 3377)
FossilOrigin-Name: e1891f0dc58e5498a8845d8b9b5b092d7f9c7003
2006-08-31 15:07:14 +00:00
drh
16ed8a64f6
Bug fix: Get INSERT INTO ... SELECT working when the target is a virtual
...
table. (CVS 3374)
FossilOrigin-Name: 7912485705c96e365a942932bb12d5b9113c9885
2006-08-29 18:46:14 +00:00
drh
80e8be9337
Improved built-in help in the command-line shell. Enable the
...
fulltext search extension in the TCL interface. (CVS 3372)
FossilOrigin-Name: 9763b4bfd5f0579f9fb821899ffa8bfe650054d7
2006-08-29 12:04:19 +00:00
drh
147d0ccc15
Add support for INSERT INTO ... DEFAULT VALUES. Tickets #299 , #1940 . (CVS 3368)
...
FossilOrigin-Name: bc84cb54b0df09738fd90e48820dc3cdfa7828c2
2006-08-25 23:42:53 +00:00
drh
b8b1421963
Documentation updates for the new SQLITE_FUNCTION authorization. (CVS 3366)
...
FossilOrigin-Name: e029637e54e190c89206725a99e1ee7db6c23804
2006-08-24 15:18:25 +00:00