SQLite

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

100 check-ins occurring around 85434a4b96.

2006-09-08
12:49
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) check-in: 862302ea user: drh tags: trunk
12:27
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) check-in: c81eaa0d user: drh tags: trunk
11:56
Improvements to the documentation of the return codes for sqlite3_step(). Tickets #1633, #1366, #1178, #906, and probably others too. (CVS 3395) check-in: 508248e7 user: drh tags: trunk
2006-09-06
21:39
Include io.h on Windows to quell a build warning about access() having no prototype. (CVS 3394) check-in: b3eb1732 user: adamd tags: trunk
2006-09-05
18:21
A minor change to fts1.c to fix broken build. (CVS 3393) check-in: 55a03b96 user: adamd tags: trunk
2006-09-04
18:54
Fix a bug in the new misc6.test script. Fix error messages when not compiled with memory debugging enabled. Ticket #1957. (CVS 3392) check-in: 9fb92024 user: drh tags: trunk
15:53
Make sure strings returned by sqlite3_value_text() and sqlite3_value_text16() are always '\000'-terminated. (CVS 3391) check-in: 2c63588b user: drh tags: trunk
2006-09-02
22:14
Fix bugs in test scripts so that fulltest will pass. (CVS 3390) check-in: 367bd837 user: drh tags: trunk
22:14
Changes to the Makefile.in so that MinGW users can build a DLL. Ticket #1955. (CVS 3389) check-in: 7279ddd0 user: drh tags: trunk
20:58
Add a TRACE macro to the FTS1 module for troubleshooting. Turned off by default. (CVS 3388) check-in: d4923e98 user: drh tags: trunk
20:57
Do not call the xDisconnect method on a virtual table while xUpdate is pending. Instead, defer the xDisconnect until after xUpdate completes. (CVS 3387) check-in: 61148f4c user: drh tags: trunk
14:50
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) check-in: ca864ee9 user: drh tags: trunk
14:17
Convert static variables into constants in the FTS module. (CVS 3385) check-in: 098cbafc user: drh tags: trunk
13:58
Automatically register the FTS module if it is compiled into the build. (CVS 3384) check-in: 8a96bdb7 user: drh tags: trunk
13:22
Construct the .def files before calling dllwrap to build the .dll files. Ticket #1951. (CVS 3383) check-in: e6e49a38 user: drh tags: trunk
00:23
Miscellaneous restructuring and cleanup based on suggestions from shess. (CVS 3382) check-in: e98b0cf2 user: adamd tags: trunk
2006-09-01
17:06
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) check-in: 1f6d7926 user: drh tags: trunk
15:49
Remove use of the "clock" command in the test suite so that the tests will run in Tcl8.5. Ticket #1445. (CVS 3380) check-in: bedbac54 user: drh tags: trunk
00:33
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) check-in: 5844db1a user: shess tags: trunk

00:05
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) check-in: 2631ceae user: shess tags: trunk
2006-08-31
15:07
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) check-in: e1891f0d user: drh tags: trunk
2006-08-30
21:40
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) check-in: 6c77c2d5 user: shess tags: trunk
2006-08-29
18:46
Bug fix: Get INSERT INTO ... SELECT working when the target is a virtual table. (CVS 3375) check-in: 7cdc41e7 user: drh tags: trunk
18:46
Bug fix: Get INSERT INTO ... SELECT working when the target is a virtual table. (CVS 3374) check-in: 79124857 user: drh tags: trunk
13:08
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) check-in: b99d845e user: drh tags: trunk
12:04
Improved built-in help in the command-line shell. Enable the fulltext search extension in the TCL interface. (CVS 3372) check-in: 9763b4bf user: drh tags: trunk
2006-08-28
23:46
Make static some symbols which shouldn't have been exported. (CVS 3371) check-in: 58006e38 user: shess tags: trunk
20:08
Make hi-bit characters delimiters. This is a stopgap until the tokenizer and fulltext.c recognize UTF-8 correctly. (CVS 3370) check-in: ca850d3d user: shess tags: trunk
2006-08-27
14:10
Add sqlite3_malloc and sqlite3_realloc to the sqlite3.def file. Ticket #1943. (CVS 3369) check-in: 4a74838e user: drh tags: trunk
2006-08-25
23:42
Add support for INSERT INTO ... DEFAULT VALUES. Tickets #299, #1940. (CVS 3368) check-in: bc84cb54 user: drh tags: trunk
19:20
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) check-in: a6fcf910 user: shess tags: trunk
2006-08-24
15:18
Documentation updates for the new SQLITE_FUNCTION authorization. (CVS 3366) check-in: e029637e user: drh tags: trunk
14:59
Enhance the sqlite3_set_authorizer() callback so that it provides callbacks on each SQL function that is invoked. (CVS 3365) check-in: 4547c81f user: drh tags: trunk
02:42
Tcl interface does filename translation prior to calling sqlite3_open(). Ticket #1937. (CVS 3364) check-in: 5696e0cb user: drh tags: trunk
2006-08-23
23:58
A first implementation of a full-text search module for SQLite. (CVS 3363) check-in: b0d8e0d3 user: adamd tags: trunk
20:07
Add the new experimental sqlite3_auto_extension() API. (CVS 3362) check-in: a85fc877 user: drh tags: trunk
2006-08-22
23:53
Add argc as a default global to match standard tcl environment. (CVS 3361) check-in: 53315409 user: shess tags: trunk
14:45
Add the ext/fts1 subdirectory for holding the first full-text search extension. (CVS 3360) check-in: 7f152f9f user: drh tags: trunk
2006-08-19
13:32
Fix bug in documentation. Ticket #1927. (CVS 3359) check-in: 90296bc8 user: drh tags: trunk
11:34
Fix for the (unsupported) soundex algorithm so that it conforms to Knuth. Ticket #1925. Test cases added. (CVS 3358) check-in: 7810d1ab user: drh tags: trunk
11:15
Improved method for finding the home directory under windows. Ticket #1926. (CVS 3357) check-in: 10907bb2 user: drh tags: trunk
2006-08-16
22:58
Remove obsolete clause in the documentation. Ticket #1923. (CVS 3356) check-in: d4f182e5 user: drh tags: trunk
16:42
Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on the same table. (CVS 3355) check-in: 8c52d2ad user: drh tags: trunk
2006-08-15
14:21
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) check-in: 3ebedbb6 user: drh tags: trunk
2006-08-14
14:23
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) check-in: b4d53974 user: drh tags: trunk
2006-08-13
21:49
Adjust the Makefile.in so that there are no test errors when using the configure script. Ticket #1918. (CVS 3352) check-in: 6a25be92 user: drh tags: trunk
19:04
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) check-in: dfc833ac user: drh tags: trunk
18:43
Vtab2.test script works regardless of what TCL version is used. (CVS 3350) check-in: 6df3f676 user: drh tags: trunk
18:39
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) check-in: 867defe3 user: drh tags: trunk
2006-08-12
14:42
Version 3.3.7 (CVS 3348) check-in: 85434a4b user: drh tags: trunk
14:38
Documentation changes prior to the release of 3.3.7. (CVS 3347) check-in: c276cca2 user: drh tags: trunk
13:28
Fix a bug in out-of-memory processing introduced by check-in (3336). (CVS 3346) check-in: 8d98a205 user: drh tags: trunk
12:33
Require whitespace or punctuation between a numeric literal and an identifier or keyword. Ticket #1912. (CVS 3345) check-in: 0f667c4a user: drh tags: trunk
2006-08-11
19:08
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) check-in: 924ea730 user: drh tags: trunk
2006-08-08
15:42
Fix an reference to an undefined variable introduced by the previous checkin. (CVS 3343) check-in: 73ff3452 user: drh tags: trunk
13:51
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) check-in: 76e4d418 user: drh tags: trunk
2006-07-30
20:50
Reset the schema before checking for outstanding statements inside sqlite3_close() so that virtual tables will be disconnected. (CVS 3341) check-in: af05c3ca user: drh tags: trunk
2006-07-28
20:16
Report any error which occurs in closing the database at exit. Free a couple of strings which were leaking. (CVS 3340) check-in: 47353f62 user: adamd tags: trunk
2006-07-26
16:22
Disallow writing to, creating or dropping virtual tables from within xSync() callbacks. (CVS 3339) check-in: e705d232 user: danielk1977 tags: trunk
14:57
Fix an overzealous assert() in the UTF-16 to UTF-8 converter. (CVS 3338) check-in: 096bd821 user: drh tags: trunk
14:49
Add a test case to trigger an assertion fault when running sqlite3_prepare16() with a predefined string size. (CVS 3337) check-in: 93878e6e user: drh tags: trunk
13:43
More work toward getting sqlite3_interrupt() to work from separate threads. Ticket #1897. (CVS 3336) check-in: e431131d user: drh tags: trunk
01:39
Initial attempt at making sqlite3_interrupt() work even when called from a separate thread. (CVS 3335) check-in: 35fd67d7 user: drh tags: trunk
2006-07-25
15:14
Allow database writes from within virtual table module xSync() callbacks. (CVS 3334) check-in: d5a608d0 user: danielk1977 tags: trunk
2006-07-17
00:19
Fix lemon so that it does not crash on a empty reduce action. Ticket #1892. (CVS 3333) check-in: 4207ebc4 user: drh tags: trunk
00:02
Add the "interrupt" method to the TCL interface. Ticket #1889. (CVS 3332) check-in: b0d19e57 user: drh tags: trunk
2006-07-12
00:18
Reset TCL results when onecolumn or eval methods have no reply. Ticket #1887. (CVS 3331) check-in: 9c6090c6 user: drh tags: trunk
2006-07-11
14:17
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) check-in: 65b60f05 user: drh tags: trunk
13:15
Prevent memory leak and possible NULL pointer deference after malloc failure. Ticket #1886. (CVS 3329) check-in: b1f326e6 user: drh tags: trunk
12:40
Fix a NULL pointer deference following malloc failure. Bug discovered by klocwork. (CVS 3328) check-in: eb91612f user: drh tags: trunk
10:42
Fix a possible NULL-pointer deference following a malloc failure. Error discovered by Klocwork. (CVS 3327) check-in: 368bcf26 user: drh tags: trunk
2006-07-10
21:15
Back out the changes of ticket #1687 since they broken the ActiveTcl build. (CVS 3326) check-in: b10d4220 user: drh tags: trunk
2006-07-08
18:41
Better comment to describe the confusing operand reversal for infix functions. (CVS 3325) check-in: 30dfb9bf user: drh tags: trunk
18:35
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) check-in: 6e98373c user: drh tags: trunk
18:09
Add tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323) check-in: 3c4233e0 user: drh tags: trunk
17:06
Allow virtual table implementations to overload function that use a column of the virtual table as their first argument. Untested. (CVS 3322) check-in: 12cc7af4 user: drh tags: trunk
2006-07-06
17:08
Make the sqlite3_enable_load_extension() interface accessible from the TCL bindings. (CVS 3321) check-in: ce96b890 user: drh tags: trunk
10:59
Change sqlite3_busy_timeout so that it checks for an invalid database pointer. (CVS 3320) check-in: 225a9597 user: drh tags: trunk
2006-07-02
10:21
Fix spelling of Perl on the homepage. (CVS 3319) check-in: 255c5a99 user: drh tags: trunk
2006-06-28
18:18
Changes to get tests to pass with OMIT_VIRTUALTABLE. Ticket #1877. (CVS 3318) check-in: 60616496 user: drh tags: trunk
2006-06-27
20:39
Better handling of NULL column names. (CVS 3317) check-in: 9f13972b user: drh tags: trunk
20:06
Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the main library and make this official. (CVS 3316) check-in: eb3442c4 user: drh tags: trunk
20:05
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) check-in: c7477459 user: drh tags: trunk
18:55
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) check-in: 5d7e6bbd user: drh tags: trunk
18:38
When compiling extensions in the load_extension tests, specify a path for finding include files. (CVS 3313) check-in: aee4b669 user: drh tags: trunk
16:34
Prevent databases from being DETACHed while they are in use. Fix for #1873. (CVS 3312) check-in: 70a48b25 user: danielk1977 tags: trunk
15:16
The ability to load extensions is turned off by default. It must be enabled by calling sqlite3_enable_load_extension() before it will work. This prevents security problems in legacy applications. Ticket #1863. (CVS 3311) check-in: 4692319c user: drh tags: trunk
14:37
Changes to build successfully with -DSQLITE_OMIT_LOAD_EXTENSION=1 (CVS 3310) check-in: 783369e8 user: drh tags: trunk
13:20
Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309) check-in: 5612b287 user: drh tags: trunk
12:51
All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308) check-in: 8a49311d user: drh tags: trunk
12:25
Fix up the test tclvar virtual module. (CVS 3307) check-in: a20bfa46 user: danielk1977 tags: trunk
12:24
Additional documentation on the 3.3.0 file format change added to formatchng.html. (CVS 3306) check-in: 955551ca user: drh tags: trunk
12:16
Fix bug in transfer of arguments from WHERE clause to virtual table xFilter() methods. (CVS 3305) check-in: cf41f2a3 user: danielk1977 tags: trunk
11:14
Move older news items to the oldnews.html page. (CVS 3304) check-in: 80163ded user: drh tags: trunk
07:34
In test code, always use sqlite3_free() instead of free() to free error messages returned by sqlite3_exec(). (CVS 3303) check-in: 6521ee5f user: danielk1977 tags: trunk
02:36
Make sure that MATCH terms that a virtual table says should be omitted really are omitted. (CVS 3302) check-in: 3e1f5567 user: drh tags: trunk
02:33
Cleanup and refactor parts of the optimizer. (CVS 3301) check-in: 6609c25f user: drh tags: trunk
01:54
Cache and reuse virtual table index information in the optimizer. Improved diagnostics for virtual table index selection. (CVS 3300) check-in: 28413cf2 user: drh tags: trunk
00:14
Export the sqlite3_bind_value API to loadable extensions. (CVS 3299) check-in: 1ca385bb user: drh tags: trunk
2006-06-26
21:35
Publish APIs sqlite3_malloc() and sqlite3_realloc() that use the OS-layer memory allocator. Convert sqlite3_free() and sqlite3_mprintf() to also use the OS-layer memory allocator. (CVS 3298) check-in: 85a66a25 user: drh tags: trunk