adamd
9eb3997b02
Miscellaneous restructuring and cleanup based on suggestions from shess. (CVS 3382)
...
FossilOrigin-Name: e98b0cf292f6dc9deb6ae9b773c52b16867f7556
2006-09-02 00:23:01 +00:00
drh
3957781b1f
Automatically compute the sqlite3.def and tclsqlite3.def files when
...
building windows DLLs. This will (hopefully) keep the .def files in
perfect synchronization with the DLLs. Ticket #1951 . (CVS 3381)
FossilOrigin-Name: 1f6d79266a7f8d0e909e47d9858557e3f95407db
2006-09-01 17:06:20 +00:00
drh
9645d8d4b3
Remove use of the "clock" command in the test suite so that the tests
...
will run in Tcl8.5. Ticket #1445 . (CVS 3380)
FossilOrigin-Name: bedbac54db173ceb74bd78acd021209f28aa30a8
2006-09-01 15:49:05 +00:00
shess
b2f4d0173a
Make fts1.c not rely on nul-terminated strings. Mostly a matter of
...
making sure we always pass around ptr/len, but there were a few places
where we actually relied on nul-termination.
An earlier change had additionally changed appropriate
sqlite3_bind_text() calls to sqlite3_bind_blob(). I've found that
this changes what's actually stored in the database, so backed those
changes out. Also (and this is weird), I found that I could no longer
do straight-forward = queries against %_term.term at a command-line. (CVS 3379)
FossilOrigin-Name: 5844db1aa9c23a005c88104b084f68afb21891c7
2006-09-01 00:33:44 +00:00
shess
c0beb14f23
Make tokenizer not rely on nul-terminated text. Instead of using
...
strcspn() and a nul-terminated delimiter list, I just flagged
delimiters in an array and wrote things inline. Submitting this for
review separately because it's pretty standalone. (CVS 3378)
FossilOrigin-Name: 2631ceaeefaca3aa837e3b439399f13c51456914
2006-09-01 00:05:17 +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
shess
2b85d5f46e
Just don't run tolower() on hi-bit characters. This shouldn't cause
...
us to break any UTF-8 code points, unless they were already broken in
the input. (CVS 3376)
FossilOrigin-Name: 6c77c2d5e15e9d3efed3e274bc93cd5a4868f574
2006-08-30 21:40:30 +00:00
drh
6fb1d6492e
Bug fix: Get INSERT INTO ... SELECT working when the target is a virtual
...
table. (CVS 3375)
FossilOrigin-Name: 7cdc41e748c2d8f9e3d85c07143b8bc343bf2426
2006-08-29 18:46: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
e07b862e71
Document the fact that SQLite allows NULL values in PRIMARY KEY columns
...
and the fact that we might design to change this in the future.
Ticket #518 . (CVS 3373)
FossilOrigin-Name: b99d845ef4776595022c6fb855e582cfe6ef2f9f
2006-08-29 13:08:37 +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
shess
c9e0a9057e
Make static some symbols which shouldn't have been exported. (CVS 3371)
...
FossilOrigin-Name: 58006e38af760b53cf72bf127d7c7b8a619a1282
2006-08-28 23:46:01 +00:00
shess
4f4897e80d
Make hi-bit characters delimiters. This is a stopgap until the tokenizer
...
and fulltext.c recognize UTF-8 correctly. (CVS 3370)
FossilOrigin-Name: ca850d3d80f67672172d11392fcdf60bfbb94c02
2006-08-28 20:08:56 +00:00
drh
aa5ac05b5f
Add sqlite3_malloc and sqlite3_realloc to the sqlite3.def file. Ticket #1943 . (CVS 3369)
...
FossilOrigin-Name: 4a74838eac5b939058c8aebef30113c5bdb354e5
2006-08-27 14:10:39 +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
shess
0de250e46f
Fix gcc gripe about parens in a ||/&& in mergePosList().
...
Drop unused pBlob/nBlob in index_insert_term().
Fix NULL deref in an assertion in docListUpdate() delete case.
Minor code tightening in docListUpdate(). (CVS 3367)
FossilOrigin-Name: a6fcf9101a831bf5f129c6045eabf30376d365dc
2006-08-25 19:20:26 +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
drh
5169bbc6a3
Enhance the sqlite3_set_authorizer() callback so that it provides callbacks
...
on each SQL function that is invoked. (CVS 3365)
FossilOrigin-Name: 4547c81f7da29b1490c6eba8d9c333218c5cb88f
2006-08-24 14:59:45 +00:00
drh
882e8e4df2
Tcl interface does filename translation prior to calling sqlite3_open().
...
Ticket #1937 . (CVS 3364)
FossilOrigin-Name: 5696e0cb771ea62df6f91cb03dfc428af1441e9e
2006-08-24 02:42:27 +00:00
adamd
1717edd157
A first implementation of a full-text search module for SQLite. (CVS 3363)
...
FossilOrigin-Name: b0d8e0d314d6f77b7d4b5dd00c694a1323f7a8e4
2006-08-23 23:58:50 +00:00
drh
1409be69aa
Add the new experimental sqlite3_auto_extension() API. (CVS 3362)
...
FossilOrigin-Name: a85fc877eb8c92bbb79ac9b7fa91fb362f37cdf7
2006-08-23 20:07:20 +00:00
shess
ad42c3a352
Add argc as a default global to match standard tcl environment. (CVS 3361)
...
FossilOrigin-Name: 533154099c9fe1238705eea03aba388dd71dc35e
2006-08-22 23:53:46 +00:00
drh
fa9b4b1499
Add the ext/fts1 subdirectory for holding the first full-text search
...
extension. (CVS 3360)
FossilOrigin-Name: 7f152f9f3a647d30874f2da46ce93a1e31ea7cf3
2006-08-22 14:45:37 +00:00
drh
a7e18326c6
Fix bug in documentation. Ticket #1927 . (CVS 3359)
...
FossilOrigin-Name: 90296bc8fa443833e6316c873dd18b951d3247f7
2006-08-19 13:32:05 +00:00
drh
bdf67e0efe
Fix for the (unsupported) soundex algorithm so that it conforms to Knuth.
...
Ticket #1925 . Test cases added. (CVS 3358)
FossilOrigin-Name: 7810d1abf611ce40dd0de45610269359a8ca9222
2006-08-19 11:34:01 +00:00
drh
164a1b693f
Improved method for finding the home directory under windows. Ticket #1926 . (CVS 3357)
...
FossilOrigin-Name: 10907bb2011eefa306c0e6ee573b6dfe765c8631
2006-08-19 11:15:20 +00:00
drh
9bd41eaec7
Remove obsolete clause in the documentation. Ticket #1923 . (CVS 3356)
...
FossilOrigin-Name: d4f182e5aa7163de3c692c9ce8dc9092d9d8de49
2006-08-16 22:58:49 +00:00
drh
980b1a7405
Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on
...
the same table. (CVS 3355)
FossilOrigin-Name: 8c52d2ad468615e50a727adab2977a0bef1bc068
2006-08-16 16:42:48 +00:00
drh
73bdf07713
Tighten an assert (ticket #1920 ). Change to "sqlite3.h" from <sqlite3.h>
...
on the sqlite3ext.h header (ticket #1916 ). Fix a bug in the test scripts. (CVS 3354)
FossilOrigin-Name: 3ebedbb6f90ec0f9d3bed181f8fb5366f91fc48c
2006-08-15 14:21:16 +00:00
drh
417ec6381f
Change the table_info pragma to show the text of the default value expression,
...
not the result of evaluating the default value expression.
Ticket #1919 . (CVS 3353)
FossilOrigin-Name: b4d53974c30d195c061cc7605a707d7d30c52740
2006-08-14 14:23:41 +00:00
drh
3225007b42
Adjust the Makefile.in so that there are no test errors when using
...
the configure script. Ticket #1918 . (CVS 3352)
FossilOrigin-Name: 6a25be921b7255e540952fc213e145ae3b56daf0
2006-08-13 21:49:07 +00:00
drh
29a0138c2c
Add vdbeaux.c to the list of files that must be compiled with -DSQLITE_TEST=1
...
in order to generate testfixture. Do not require sqlit3OsDelete() to
succeed on a multi-database commit. (Ticket #1917 ) (CVS 3351)
FossilOrigin-Name: dfc833ac79cb255902b20700d6d8949a66af093f
2006-08-13 19:04:18 +00:00
drh
09df9e28e5
Vtab2.test script works regardless of what TCL version is used. (CVS 3350)
...
FossilOrigin-Name: 6df3f6761a16ac5a02152f3c7f0c0e4944112ada
2006-08-13 18:43:54 +00:00
drh
77bba59b18
Compile in test code whenever -DSQLITE_TEST=1 is present. Do not rely
...
on -DSQLITE_DEBUG=1 because somebody might try to run the tests without it. (CVS 3349)
FossilOrigin-Name: 867defe32873ce82b6e1f5ddb8ad12178f2d76d6
2006-08-13 18:39:26 +00:00
drh
2205111273
Version 3.3.7 (CVS 3348)
...
FossilOrigin-Name: 85434a4b96389359a15556551cdc72259fc505e8
2006-08-12 14:42:57 +00:00
drh
b308fdc5e9
Documentation changes prior to the release of 3.3.7. (CVS 3347)
...
FossilOrigin-Name: c276cca2aafc1b417e12ba7119c65902ef7d61ec
2006-08-12 14:38:46 +00:00
drh
fe5a816bc0
Fix a bug in out-of-memory processing introduced by check-in (3336). (CVS 3346)
...
FossilOrigin-Name: 8d98a205cbe9948039884947db33f41a63a09062
2006-08-12 13:28:23 +00:00
drh
67dd9011fc
Require whitespace or punctuation between a numeric literal and an
...
identifier or keyword. Ticket #1912 . (CVS 3345)
FossilOrigin-Name: 0f667c4abd73bbb806a5efb31b0aba6efaf40fb8
2006-08-12 12:33:14 +00:00
drh
1e31e0b25b
Make sure sufficient memory is allocated to hold the collating sequence
...
pointers for all columns of an ORDER BY clause even if the ORDER BY
clause contains more columns than where originally in the table.
Ticket #1911 . (CVS 3344)
FossilOrigin-Name: 924ea730f4dd384d7ef3deca357befd064dac70a
2006-08-11 19:08:27 +00:00
drh
10cfdd5fa1
Fix an reference to an undefined variable introduced by the previous
...
checkin. (CVS 3343)
FossilOrigin-Name: 73ff3452a0e38f046b7b41bcf653cf5e6848471f
2006-08-08 15:42:59 +00:00
drh
0f7eb61108
Remove most static and global variables from a pure build. There
...
are still a number of static and global variables used for testing. (CVS 3342)
FossilOrigin-Name: 76e4d4187779097954038e444111f837737e789c
2006-08-08 13:51:43 +00:00
drh
ffc13f69b5
Reset the schema before checking for outstanding statements inside
...
sqlite3_close() so that virtual tables will be disconnected. (CVS 3341)
FossilOrigin-Name: af05c3ca06163ef92ca1ca135302c00b7ddddabf
2006-07-30 20:50:44 +00:00
adamd
0a3daa3086
Report any error which occurs in closing the database at exit. Free a
...
couple of strings which were leaking. (CVS 3340)
FossilOrigin-Name: 47353f62ca7635b693718997e792358d16bd117b
2006-07-28 20:16:14 +00:00
danielk1977
20b1eaffd8
Disallow writing to, creating or dropping virtual tables from within xSync() callbacks. (CVS 3339)
...
FossilOrigin-Name: e705d232324c71738b8b25713a134617dd1fc525
2006-07-26 16:22:14 +00:00
drh
66f4a06259
Fix an overzealous assert() in the UTF-16 to UTF-8 converter. (CVS 3338)
...
FossilOrigin-Name: 096bd8212fa06c7271fc24280133d1f0864ffb42
2006-07-26 14:57:30 +00:00
drh
aa0fe8070d
Add a test case to trigger an assertion fault when running
...
sqlite3_prepare16() with a predefined string size. (CVS 3337)
FossilOrigin-Name: 93878e6ebf703be022f83fd670c1aaaf7d4f1266
2006-07-26 14:49:19 +00:00
drh
15ca1df1bf
More work toward getting sqlite3_interrupt() to work from separate
...
threads. Ticket #1897 . (CVS 3336)
FossilOrigin-Name: e431131d47481f9fc64c498e8934b10a96b0a931
2006-07-26 13:43:30 +00:00
drh
881feaa043
Initial attempt at making sqlite3_interrupt() work even when called from
...
a separate thread. (CVS 3335)
FossilOrigin-Name: 35fd67d7a0c55797eb460e3bd02c96afe619f026
2006-07-26 01:39:30 +00:00
danielk1977
5bd270b200
Allow database writes from within virtual table module xSync() callbacks. (CVS 3334)
...
FossilOrigin-Name: d5a608d0a412e13dfced6a3827574a2cff802f25
2006-07-25 15:14:52 +00:00
drh
916f75fcbd
Fix lemon so that it does not crash on a empty reduce action. Ticket #1892 . (CVS 3333)
...
FossilOrigin-Name: 4207ebc4e107df9f9f046be652f061e53263c8dd
2006-07-17 00:19:39 +00:00