Commit Graph

3299 Commits

Author SHA1 Message Date
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
drh
f11bded545 Add the "interrupt" method to the TCL interface. Ticket #1889. (CVS 3332)
FossilOrigin-Name: b0d19e575b14778e76ae5d6546fba0d2e9f25e33
2006-07-17 00:02:44 +00:00
drh
050be3294a Reset TCL results when onecolumn or eval methods have no reply.
Ticket #1887. (CVS 3331)

FossilOrigin-Name: 9c6090c609afa9906029ed4ba22375f5bee058c4
2006-07-12 00:18:40 +00:00
drh
76fe8032c1 By default, new databases are now created in the legacy file format - the
format that ignores DESC on indices.  If you want descending indices, you
must either recompile with -DSQLITE_DEFAULT_FILE_FORMAT=4 or issue
"PRAGMA legacy_file_format=OFF" prior to creating the first table in the
database. (CVS 3330)

FossilOrigin-Name: 65b60f05ce49ff127bf5044f96db36caf1fa0106
2006-07-11 14:17:51 +00:00
drh
206f3d96d1 Prevent memory leak and possible NULL pointer deference after malloc
failure.  Ticket #1886. (CVS 3329)

FossilOrigin-Name: b1f326e6959ef3be11f772e80f5ab6dd65b2d065
2006-07-11 13:15:08 +00:00
drh
76f8079623 Fix a NULL pointer deference following malloc failure. Bug discovered
by klocwork. (CVS 3328)

FossilOrigin-Name: eb91612f4646b15c2b8398c5225669419b03b531
2006-07-11 12:40:25 +00:00
drh
f64afeb53f Fix a possible NULL-pointer deference following a malloc failure.
Error discovered by Klocwork. (CVS 3327)

FossilOrigin-Name: 368bcf264456f5506260797497bc8d8dc4897e0f
2006-07-11 10:42:36 +00:00
drh
ad6e1370b5 Back out the changes of ticket #1687 since they broken the ActiveTcl build. (CVS 3326)
FossilOrigin-Name: b10d4220dc12728933eae1fcdcebd88a5f92e3a7
2006-07-10 21:15:51 +00:00
drh
a43fa22771 Better comment to describe the confusing operand reversal for infix
functions. (CVS 3325)

FossilOrigin-Name: 30dfb9bf2131370fe57e000495f5c292d392a010
2006-07-08 18:41:37 +00:00
drh
6a03a1c5f7 For infix functions (LIKE, GLOB, REGEXP, and MATCH) treat the left
operand as the first argument for the purposes of virtual table
function overloading, even though the left operand is really the
the second argument. (CVS 3324)

FossilOrigin-Name: 6e98373ca11c9d476f4c6b1841c6e006b7a49f29
2006-07-08 18:34:59 +00:00
drh
e94b0c3920 Add tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323)
FossilOrigin-Name: 3c4233e074cb016e2422b2e8f867c99217e9b10e
2006-07-08 18:09:15 +00:00
drh
b7f6f68f3a Allow virtual table implementations to overload function that use
a column of the virtual table as their first argument.  Untested. (CVS 3322)

FossilOrigin-Name: 12cc7af4b6b8b4f1a43d962fbafde8cba683a907
2006-07-08 17:06:43 +00:00
drh
4144905b53 Make the sqlite3_enable_load_extension() interface accessible from the
TCL bindings. (CVS 3321)

FossilOrigin-Name: ce96b890bbf2f2b9686e19bbb1111a70f6404cb5
2006-07-06 17:08:48 +00:00
drh
3086765b6f Change sqlite3_busy_timeout so that it checks for an invalid database
pointer. (CVS 3320)

FossilOrigin-Name: 225a9597b21bde7666451fc2eb7695dc35c438bb
2006-07-06 10:59:57 +00:00
drh
72c4d3e7ed Fix spelling of Perl on the homepage. (CVS 3319)
FossilOrigin-Name: 255c5a99468c47fed0aaffeeeb28d5af9a99ee11
2006-07-02 10:21:35 +00:00
drh
3765df48c3 Changes to get tests to pass with OMIT_VIRTUALTABLE. Ticket #1877. (CVS 3318)
FossilOrigin-Name: 60616496b7d97fdda99262e2bab25e625151e857
2006-06-28 18:18:09 +00:00
drh
2cc55698cd Better handling of NULL column names. (CVS 3317)
FossilOrigin-Name: 9f13972b93a3cac95b4319d3e75343e02a30a38f
2006-06-27 20:39:04 +00:00
drh
f9cb7f58a7 Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the
main library and make this official. (CVS 3316)

FossilOrigin-Name: eb3442c44ef1dbf8895195bb08fbeeea315b44c1
2006-06-27 20:06:44 +00:00
drh
0c07fb9aa1 Off by 1 error in check-in (3314). Note that this change is a likely
fix for ticket #1875.  But I have not tested it for that purpose yet. (CVS 3315)

FossilOrigin-Name: c7477459e92209ad792f0e11e4a4dd8abf0f2f11
2006-06-27 20:05:23 +00:00
drh
94f63ab842 Use the -k option to sort. This allows the build to run on newer unix
systems, but will likely break the build on older ones.  Please address
your complaints to the posix committee members that thought this would
be a good idea. (CVS 3314)

FossilOrigin-Name: 5d7e6bbddb522de2283474eb6d30cc376daf66f0
2006-06-27 18:55:09 +00:00