0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-17 08:21:19 +00:00

Commit Graph

  • bdf67e0efe Fix for the (unsupported) soundex algorithm so that it conforms to Knuth. Ticket #1925. Test cases added. (CVS 3358) drh 2006-08-19 11:34:01 +00:00
  • 164a1b693f Improved method for finding the home directory under windows. Ticket #1926. (CVS 3357) drh 2006-08-19 11:15:20 +00:00
  • 9bd41eaec7 Remove obsolete clause in the documentation. Ticket #1923. (CVS 3356) drh 2006-08-16 22:58:49 +00:00
  • 980b1a7405 Allows UPDATE, INSERT, and DELETEs to occur while a SELECT is pending on the same table. (CVS 3355) drh 2006-08-16 16:42:48 +00:00
  • 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) drh 2006-08-15 14:21:16 +00:00
  • 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) drh 2006-08-14 14:23:41 +00:00
  • 3225007b42 Adjust the Makefile.in so that there are no test errors when using the configure script. Ticket #1918. (CVS 3352) drh 2006-08-13 21:49:07 +00:00
  • 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) drh 2006-08-13 19:04:18 +00:00
  • 09df9e28e5 Vtab2.test script works regardless of what TCL version is used. (CVS 3350) drh 2006-08-13 18:43:54 +00:00
  • 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) drh 2006-08-13 18:39:26 +00:00
  • 2205111273 Version 3.3.7 (CVS 3348) drh 2006-08-12 14:42:57 +00:00
  • b308fdc5e9 Documentation changes prior to the release of 3.3.7. (CVS 3347) drh 2006-08-12 14:38:46 +00:00
  • fe5a816bc0 Fix a bug in out-of-memory processing introduced by check-in (3336). (CVS 3346) drh 2006-08-12 13:28:23 +00:00
  • 67dd9011fc Require whitespace or punctuation between a numeric literal and an identifier or keyword. Ticket #1912. (CVS 3345) drh 2006-08-12 12:33:14 +00:00
  • 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) drh 2006-08-11 19:08:27 +00:00
  • 10cfdd5fa1 Fix an reference to an undefined variable introduced by the previous checkin. (CVS 3343) drh 2006-08-08 15:42:59 +00:00
  • 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) drh 2006-08-08 13:51:43 +00:00
  • ffc13f69b5 Reset the schema before checking for outstanding statements inside sqlite3_close() so that virtual tables will be disconnected. (CVS 3341) drh 2006-07-30 20:50:44 +00:00
  • 0a3daa3086 Report any error which occurs in closing the database at exit. Free a couple of strings which were leaking. (CVS 3340) adamd 2006-07-28 20:16:14 +00:00
  • 20b1eaffd8 Disallow writing to, creating or dropping virtual tables from within xSync() callbacks. (CVS 3339) danielk1977 2006-07-26 16:22:14 +00:00
  • 66f4a06259 Fix an overzealous assert() in the UTF-16 to UTF-8 converter. (CVS 3338) drh 2006-07-26 14:57:30 +00:00
  • aa0fe8070d Add a test case to trigger an assertion fault when running sqlite3_prepare16() with a predefined string size. (CVS 3337) drh 2006-07-26 14:49:19 +00:00
  • 15ca1df1bf More work toward getting sqlite3_interrupt() to work from separate threads. Ticket #1897. (CVS 3336) drh 2006-07-26 13:43:30 +00:00
  • 881feaa043 Initial attempt at making sqlite3_interrupt() work even when called from a separate thread. (CVS 3335) drh 2006-07-26 01:39:30 +00:00
  • 5bd270b200 Allow database writes from within virtual table module xSync() callbacks. (CVS 3334) danielk1977 2006-07-25 15:14:52 +00:00
  • 916f75fcbd Fix lemon so that it does not crash on a empty reduce action. Ticket #1892. (CVS 3333) drh 2006-07-17 00:19:39 +00:00
  • f11bded545 Add the "interrupt" method to the TCL interface. Ticket #1889. (CVS 3332) drh 2006-07-17 00:02:44 +00:00
  • 050be3294a Reset TCL results when onecolumn or eval methods have no reply. Ticket #1887. (CVS 3331) drh 2006-07-12 00:18:40 +00:00
  • 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) drh 2006-07-11 14:17:51 +00:00
  • 206f3d96d1 Prevent memory leak and possible NULL pointer deference after malloc failure. Ticket #1886. (CVS 3329) drh 2006-07-11 13:15:08 +00:00
  • 76f8079623 Fix a NULL pointer deference following malloc failure. Bug discovered by klocwork. (CVS 3328) drh 2006-07-11 12:40:25 +00:00
  • f64afeb53f Fix a possible NULL-pointer deference following a malloc failure. Error discovered by Klocwork. (CVS 3327) drh 2006-07-11 10:42:36 +00:00
  • ad6e1370b5 Back out the changes of ticket #1687 since they broken the ActiveTcl build. (CVS 3326) drh 2006-07-10 21:15:51 +00:00
  • a43fa22771 Better comment to describe the confusing operand reversal for infix functions. (CVS 3325) drh 2006-07-08 18:41:37 +00:00
  • 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) drh 2006-07-08 18:34:59 +00:00
  • e94b0c3920 Add tests and minor fixes to the xFindFunction method of virtual tables. (CVS 3323) drh 2006-07-08 18:09:15 +00:00
  • b7f6f68f3a Allow virtual table implementations to overload function that use a column of the virtual table as their first argument. Untested. (CVS 3322) drh 2006-07-08 17:06:43 +00:00
  • 4144905b53 Make the sqlite3_enable_load_extension() interface accessible from the TCL bindings. (CVS 3321) drh 2006-07-06 17:08:48 +00:00
  • 3086765b6f Change sqlite3_busy_timeout so that it checks for an invalid database pointer. (CVS 3320) drh 2006-07-06 10:59:57 +00:00
  • 72c4d3e7ed Fix spelling of Perl on the homepage. (CVS 3319) drh 2006-07-02 10:21:35 +00:00
  • 3765df48c3 Changes to get tests to pass with OMIT_VIRTUALTABLE. Ticket #1877. (CVS 3318) drh 2006-06-28 18:18:09 +00:00
  • 2cc55698cd Better handling of NULL column names. (CVS 3317) drh 2006-06-27 20:39:04 +00:00
  • f9cb7f58a7 Move the sqlite3_sleep() and sqlite3_clear_bindings() interfaces into the main library and make this official. (CVS 3316) drh 2006-06-27 20:06:44 +00:00
  • 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) drh 2006-06-27 20:05:23 +00:00
  • 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) drh 2006-06-27 18:55:09 +00:00
  • 35364b2b9e When compiling extensions in the load_extension tests, specify a path for finding include files. (CVS 3313) drh 2006-06-27 18:38:51 +00:00
  • 2372c2b165 Prevent databases from being DETACHed while they are in use. Fix for #1873. (CVS 3312) danielk1977 2006-06-27 16:34:56 +00:00
  • c2e87a3e85 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) drh 2006-06-27 15:16:14 +00:00
  • 69dab1d33f Changes to build successfully with -DSQLITE_OMIT_LOAD_EXTENSION=1 (CVS 3310) drh 2006-06-27 14:37:20 +00:00
  • edb193b766 Changes so that it will build with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3309) drh 2006-06-27 13:20:21 +00:00
  • ff91c45404 All tests pass even if compiled with -DSQLITE_DEFAULT_FILE_FORMAT=1. (CVS 3308) drh 2006-06-27 12:51:12 +00:00
  • 169f8a0c7a Fix up the test tclvar virtual module. (CVS 3307) danielk1977 2006-06-27 12:24:59 +00:00
  • baaa7f409d Additional documentation on the 3.3.0 file format change added to formatchng.html. (CVS 3306) drh 2006-06-27 12:24:13 +00:00
  • 3851a65e3a Fix bug in transfer of arguments from WHERE clause to virtual table xFilter() methods. (CVS 3305) danielk1977 2006-06-27 12:16:56 +00:00
  • ac743e292d Move older news items to the oldnews.html page. (CVS 3304) drh 2006-06-27 11:14:13 +00:00
  • 926aab2274 In test code, always use sqlite3_free() instead of free() to free error messages returned by sqlite3_exec(). (CVS 3303) danielk1977 2006-06-27 07:34:40 +00:00
  • d2ca60d776 Make sure that MATCH terms that a virtual table says should be omitted really are omitted. (CVS 3302) drh 2006-06-27 02:36:58 +00:00
  • 9861a9f065 Cleanup and refactor parts of the optimizer. (CVS 3301) drh 2006-06-27 02:33:40 +00:00
  • 6d209d8b0d Cache and reuse virtual table index information in the optimizer. Improved diagnostics for virtual table index selection. (CVS 3300) drh 2006-06-27 01:54:26 +00:00
  • c1be632489 Export the sqlite3_bind_value API to loadable extensions. (CVS 3299) drh 2006-06-27 00:14:27 +00:00
  • 28dd479c48 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) drh 2006-06-26 21:35:44 +00:00
  • 1914619ae7 Remove the sqlite3_module.zName field which was used only for debugging. (CVS 3297) drh 2006-06-26 19:10:32 +00:00
  • 344a627661 Fix a file descriptor leak following malloc failure on DROP TABLE IF EXISTS. (CVS 3296) drh 2006-06-26 12:50:09 +00:00
  • a2e48b24c7 Fix trivial compiler warnings. (CVS 3295) danielk1977 2006-06-26 11:17:50 +00:00
  • 605903f42e Syntax documentation updates. (CVS 3294) drh 2006-06-26 10:37:11 +00:00
  • 04bd0c15ac (OS/2) Armor OS/2 against accidental deletion of files, too (patch by Daniel Kruse, verified by me) (CVS 3293) pweilbacher 2006-06-24 12:38:59 +00:00
  • 65fd59f731 A few more test cases to improve coverage of virtual table module related code. (CVS 3292) danielk1977 2006-06-24 11:51:33 +00:00
  • 5017dc387d Add tests to improve coverage of vtab.c. (CVS 3291) danielk1977 2006-06-24 09:34:22 +00:00
  • 33b3933c15 Ensure whitespace specified as part of a virtual table constructor argument is correctly passed to the constructor function. (CVS 3290) danielk1977 2006-06-24 08:51:05 +00:00
  • cc013f891c Clean up and clarify code in test8.c. (CVS 3289) danielk1977 2006-06-24 06:36:11 +00:00
  • f2a3e686dd Modify the test cases in tkt1444.test that were failing. I am convinced that the test cases were incorrect. (CVS 3288) danielk1977 2006-06-23 14:43:30 +00:00
  • 212b218c88 Allow xDestroy methods to execute "DROP TABLE" statements. (CVS 3287) danielk1977 2006-06-23 14:32:08 +00:00
  • b7a2f2e8b7 Fix some memory leaks that occur when malloc() fails. (CVS 3286) danielk1977 2006-06-23 11:34:54 +00:00
  • be71889703 Add tests and fixes for handling malloc() failures related to the virtual table feature. (CVS 3285) danielk1977 2006-06-23 08:05:19 +00:00
  • a298e90d50 Test the handling of errors in virtual table methods. (CVS 3284) danielk1977 2006-06-22 09:53:48 +00:00
  • f7e678d6e9 Make the last_insert_rowid method in the TCL interface work with 64-bit rowids. (CVS 3283) drh 2006-06-21 19:30:34 +00:00
  • 70ba164098 Add the database name to the parameters passed to virtual table module xCreate and xConnect methods. (CVS 3282) danielk1977 2006-06-21 16:02:42 +00:00
  • d07e543f29 Add the table name to the arguments passed to the virtual table methods xCreate/xConnect. (CVS 3281) danielk1977 2006-06-21 13:21:50 +00:00
  • 5ee9d6977f Add tests to make sure altering or adding an index to a virtual table is prohibited. (CVS 3280) danielk1977 2006-06-21 12:36:25 +00:00
  • 9d1b2a28f8 Test cases for accessing virtual tables when the corresponding module is undefined. (CVS 3279) danielk1977 2006-06-21 07:34:11 +00:00
  • fbbe005a59 Fix a problem with virtual tables and joins. (CVS 3278) danielk1977 2006-06-21 07:02:33 +00:00
  • 93626f4869 Fix some problems with virtual tables and joins in where.c. (CVS 3277) danielk1977 2006-06-20 13:07:27 +00:00
  • 4b2688ab31 Modifications so that compilation and testing with the various OMIT macros defined works. (CVS 3276) danielk1977 2006-06-20 11:01:07 +00:00
  • 2f47c86adf Update the news column on the homepage. (CVS 3275) drh 2006-06-20 00:22:37 +00:00
  • 74cdba4fa8 Avoid returning MISUSE when sqlite is called recursively by an xBestIndex callback. (CVS 3274) danielk1977 2006-06-19 12:02:58 +00:00
  • 3d5ff1c2fe Add tests to ensure triggers cannot be created on virtual tables. (CVS 3273) danielk1977 2006-06-19 06:32:23 +00:00
  • b8cbb872cf Respect default collation sequences assigned to virtual table columns. (CVS 3272) danielk1977 2006-06-19 05:33:45 +00:00
  • 70b6d57373 Fix memory leak in where.c. (CVS 3271) danielk1977 2006-06-19 04:49:34 +00:00
  • b3d24bf8ee Add tests to ensure an INSERT/UPDATE/DELETE immediately after virtual table construction does not fail. (CVS 3270) danielk1977 2006-06-19 03:05:10 +00:00
  • fdb83b2fa1 Add the load_extension() SQL function. (CVS 3269) drh 2006-06-17 14:12:47 +00:00
  • 428397c143 The default entry point for loadable extensions is now always sqlite3_extension_init(). (CVS 3268) drh 2006-06-17 13:21:32 +00:00
  • e7ff403ab1 Add newly created virtual tables to the current transaction. (CVS 3267) danielk1977 2006-06-17 11:30:32 +00:00
  • 707205d188 Clear a compiler warning by adding a prototype to sqliteInt.h. (CVS 3266) drh 2006-06-17 10:44:42 +00:00
  • c69cdfd4ec Add tests (and fixes) for the virtual table transaction interface. (CVS 3265) danielk1977 2006-06-17 09:39:55 +00:00
  • 4273deaec1 When updating a view, invoke the authorization callback for reading the view before setting the authorization-context to the view name. (CVS 3264) danielk1977 2006-06-17 06:31:18 +00:00
  • 2867fef244 Fixes for UPDATE statements on virtual tables. (CVS 3263) danielk1977 2006-06-17 03:27:21 +00:00
  • 9c41938ff8 Rework the way UPDATE works for virtual tables. (CVS 3262) drh 2006-06-16 21:13:21 +00:00
  • f9e7dda7ef Add code to invoke the virtual table transaction interface. Untested at this point. (CVS 3261) danielk1977 2006-06-16 16:08:53 +00:00
  • f1a381e7fc Add some tests (and fixes) for virtual tables and the authorization callback. Still more to come. (CVS 3260) danielk1977 2006-06-16 08:01:02 +00:00
  • 1f6eec547c Arrange for sqlite3_last_insert_rowid() to work with virtual tables. (CVS 3259) danielk1977 2006-06-16 06:17:47 +00:00