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

Commit Graph

  • dbf5a848c6 Fix type in test_schema.c. (CVS 3258) danielk1977 2006-06-15 16:26:45 +00:00
  • 954ce99c62 Add test_schema.c, containing a module for viewing the database schema via a virtual table. (CVS 3257) danielk1977 2006-06-15 15:59:19 +00:00
  • d6e8dd00ac Add column_value, declare_vtab and create_module to the function table used by dynamic extensions. (CVS 3256) danielk1977 2006-06-15 15:38:41 +00:00
  • dc3e10b9c9 Write database pages in sorted order to reduce file fragmentation. This is an experimental change. It is not clear if it will help any. It may well be removed in the future. (CVS 3255) drh 2006-06-15 14:31:06 +00:00
  • bdd88bd9f8 Asserts added that verify that the code works correctly that ticket #1849 claims is wrong. (CVS 3254) drh 2006-06-15 13:22:22 +00:00
  • 176f4d23c1 Add tests (and modify test code) for writing to virtual tables. (CVS 3253) danielk1977 2006-06-15 10:41:15 +00:00
  • c7d5410126 Simple tests and fixes for writing to virtual tables. (CVS 3252) danielk1977 2006-06-15 07:29:00 +00:00
  • d1ab1ba5ed Add void* argument to sqlite3_create_module to replace sqlite3_module.pAux. (CVS 3251) danielk1977 2006-06-15 04:28:13 +00:00
  • 5aec042e27 Changes to test8.c to support UPDATE operations on xUpdate. (CVS 3250) drh 2006-06-14 23:43:31 +00:00
  • 1a90e099f4 Bug fixes in the MATCH and ORDER BY processing of virtual tables. (CVS 3249) drh 2006-06-14 22:07:10 +00:00
  • 4cbdda9e27 Added code to INSERT, DELETE and UPDATE virtual tables. The new code is mostly untested. (CVS 3248) drh 2006-06-14 19:00:20 +00:00
  • badf7a7a2f Better documentation on the limits of user-defined functions. And a marginally better error message when those limits are exceeded. Ticket #1847. (CVS 3247) drh 2006-06-14 15:35:36 +00:00
  • 26e4144d64 Add xUpdate method to the echo test module. Currently untested. (CVS 3246) danielk1977 2006-06-14 15:16:35 +00:00
  • 03a37ca4ff Fix segfault introduced in (3243). (CVS 3245) danielk1977 2006-06-14 15:14:50 +00:00
  • 4767d978de Fix a C++-ism in lempar.c. Ticket #1848. (CVS 3244) drh 2006-06-14 15:03:49 +00:00
  • 25d6e7859f Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3243) danielk1977 2006-06-14 13:03:24 +00:00
  • 399918f271 Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3242) danielk1977 2006-06-14 13:03:23 +00:00
  • 98331538bf Add code to test8.c to check that the correct idxNum value is passed to the xFilter method. (CVS 3241) danielk1977 2006-06-14 10:55:52 +00:00
  • a8ed652f8f Fix typo in test8.c. (CVS 3240) danielk1977 2006-06-14 10:47:03 +00:00
  • 69e777f330 Add some tests for sqlite3_load_extension(). (CVS 3239) danielk1977 2006-06-14 10:38:02 +00:00
  • 619a3693a2 Add tests for the new MATCH operator. (CVS 3238) danielk1977 2006-06-14 08:48:25 +00:00
  • 47d0809401 Add a test case for ORDER BY using the echo module. (CVS 3237) danielk1977 2006-06-14 07:41:31 +00:00
  • 9da9d471f5 Change the pModule parameter of the xCreate and xConnect methods to a void*. (CVS 3236) danielk1977 2006-06-14 06:58:15 +00:00
  • a4e763671d Add tests for error conditions surrounding the creation/connection of virtual tables. (CVS 3235) danielk1977 2006-06-14 06:31:28 +00:00
  • 4be8b51ee1 The echo module test is now running. Added the tclvar module test but have not yet done anything with it. (CVS 3234) drh 2006-06-13 23:51:34 +00:00
  • 88897a72e9 The (unsupported) soundex() function returns '?000' when given a NULL. Ticket #1845. (CVS 3233) drh 2006-06-13 19:26:10 +00:00
  • 7f3759015a The optimizer recognizes MATCH operators and allows virtual-tables to make use of them. (CVS 3232) drh 2006-06-13 17:38:59 +00:00
  • 03bea70cd8 Add support for the MATCH operator. (CVS 3231) drh 2006-06-13 15:37:26 +00:00
  • 5dc1aaa9d1 Get the code to compile with -DSQLITE_OMIT_VIRTUALTABLE=1 (CVS 3230) drh 2006-06-13 15:36:06 +00:00
  • 70df4fe6c2 Improved comments and documentation of sqlite3_load_extension(). (CVS 3229) drh 2006-06-13 15:12:21 +00:00
  • be8a7835ea Add the tentative sqlite3_allocate_queryplan() API. (CVS 3228) danielk1977 2006-06-13 15:00:54 +00:00
  • 5fac9f86eb Add simple tests for the xFilter and xBestIndex methods. (CVS 3227) danielk1977 2006-06-13 14:16:58 +00:00
  • 954f6b4763 Lemon correctly recognizes an empty grammar and errors out. Fix for a bug reported on the sqlite-users mailing list. (CVS 3226) drh 2006-06-13 13:27:46 +00:00
  • e7d46464d1 Free error message string in the quick start example. (CVS 3225) drh 2006-06-13 11:27:21 +00:00
  • d9f291ea95 Minor changes to lempar.c to reduce warnings on some compilers. (CVS 3224) drh 2006-06-13 11:15:47 +00:00
  • b7a7b9a3b9 Add implementations for opcodes required for linear scans of virtual tables. (CVS 3223) danielk1977 2006-06-13 10:24:42 +00:00
  • 48d4580650 Bugfixes: Fix a segfault introduced as part of the new vtab code, deallocate memory in the Destroy() method of the echo module. (CVS 3222) danielk1977 2006-06-13 04:11:43 +00:00
  • 7dabaa126a Bugfixes: Fix a segfault introduced as part of the new vtab code, deallocate memory in the Destroy() method of the echo module. (CVS 3221) danielk1977 2006-06-13 04:11:43 +00:00
  • a967e88645 Progress toward getting the virtual-table code generator to work. (CVS 3220) drh 2006-06-13 01:04:52 +00:00
  • 9eff616750 Added code to iterate through virtual tables. All regression tests pass but the new code is completely untested. (CVS 3219) drh 2006-06-12 21:59:13 +00:00
  • 9e39ce87cf Add code to invoke the xDestroy method of a virtual table when it is dropped. (CVS 3218) danielk1977 2006-06-12 16:01:21 +00:00
  • cdb36b7dc9 Patches to get things working better for OS2. Ticket #1836. (CVS 3217) drh 2006-06-12 12:57:45 +00:00
  • a75803d968 Fixes so that builds work with SQLITE_OMIT_VIRTUALTABLE=1. (CVS 3216) drh 2006-06-12 12:50:23 +00:00
  • 4eb35bfc61 Get builds working again when extension loading is not enabled. Ticket #1839. (CVS 3215) drh 2006-06-12 12:46:21 +00:00
  • fe3fcbe20c Add a simple test case (and corresponding bugfix) for the virtual table xConnect and xDisconnect methods. (CVS 3214) danielk1977 2006-06-12 12:08:45 +00:00
  • 7e6ebfb246 Add first cut of sqlite3_declare_vtab(). Not at all well tested yet. (CVS 3213) danielk1977 2006-06-12 11:24:37 +00:00
  • 78efaba10e Incremental work on parsing/storing and invoking the xCreate callback for virtual tables. (CVS 3212) danielk1977 2006-06-12 06:09:17 +00:00
  • b9bb7c187e Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211) drh 2006-06-11 23:41:55 +00:00
  • e09daa90ac Basic parsing of CREATE VIRTUAL TABLE statements. (CVS 3210) drh 2006-06-10 13:29:31 +00:00
  • a543c82d75 In the shell, make sure the database is opened before trying to do an ".import". Bug reported on the mailing list. (CVS 3209) drh 2006-06-08 16:10:14 +00:00
  • f1952c5d27 Unload shared libraries when a database connection closes. (CVS 3208) drh 2006-06-08 15:48:00 +00:00
  • 1e397f8fb4 New shell command ".load" and the sqlite3_load_extension() API allow new SQL functions and collating sequences to be loaded at run-time from a DLL or shared library. (CVS 3207) drh 2006-06-08 15:28:43 +00:00
  • 2705912804 Version 3.3.6 (CVS 3206) drh 2006-06-06 13:34:16 +00:00
  • 600e201757 Changes in preparation for version 3.3.6. (CVS 3205) drh 2006-06-06 12:38:50 +00:00
  • 151e3e1a70 Command "sqlite3 -version" returns 0 instead of 1. Ticket #1771. (CVS 3204) drh 2006-06-06 12:32:21 +00:00
  • df26fd5edd In joins of the form "A left B, C" make sure they are not transformed into "A left C, B". Ticket #1830. See also #1652. (CVS 3203) drh 2006-06-06 11:45:54 +00:00
  • 59e63a6b30 Add comments to the changes of check-in (3200). (CVS 3202) drh 2006-06-04 23:31:48 +00:00
  • 2871bd0cab Fix a windows portability problem in trans.test. (CVS 3201) drh 2006-06-04 23:20:10 +00:00
  • eb4fa52a45 Changes to help SQLite cope with virus scanners and other programs that open journal files for reading and thus prevent SQLite from deleting them in order to commit a transaction. (CVS 3200) drh 2006-06-04 23:02:20 +00:00
  • f52fd0bc11 Remove unused variables from vdbe.c. (CVS 3199) drh 2006-06-03 18:04:17 +00:00
  • 60a1e4b6ce Added support for OS/2. Ticket #1817 (CVS 3198) drh 2006-06-03 18:02:15 +00:00
  • eb741d5dd2 Do not record blank lines in the command-line editing history of the shell. (CVS 3197) drh 2006-06-03 17:37:25 +00:00
  • 94d57e3924 The windows driver always allows other processes to write the database file even if it only has read permission on the file. This is an experimental checkin - we still have not determined that this change is safe. Ticket #1803. (CVS 3196) drh 2006-06-02 12:40:08 +00:00
  • 09b172fa31 Fix typo in lang_analyze.html. (CVS 3195) drh 2006-05-31 11:12:01 +00:00
  • c55cd6ad9a Clarify the operation of sqlite3_last_insert_rowid() in the documentation. (CVS 3194) drh 2006-05-27 11:15:47 +00:00
  • f8888bb22a Allow SQL statements to be executed from within a progress callback. Be warned, however, that the progress callback might be called recursively in this case. It is up to the program to disable the progress callback to prevent recursive invocations. Ticket #1827. (CVS 3193) drh 2006-05-26 19:57:19 +00:00
  • 86dac2b6be Syntax errors override errors from the code generator, not the other way around. (CVS 3192) drh 2006-05-25 12:17:31 +00:00
  • ea063f5bb1 Handle NULL database names in ATTACH and DETACH as if they were empty strings. Ticket #1825. (CVS 3191) drh 2006-05-25 11:52:37 +00:00
  • f012ea3b00 When opening a new connection on a shared cache, be careful not to overwrite the encoding flag on the shared cache. Ticket #1824. (CVS 3190) drh 2006-05-24 12:43:26 +00:00
  • 9c0cb0e893 Additional tests for ticket #1821. (CVS 3189) drh 2006-05-23 23:25:09 +00:00
  • 8159a35f46 Fix type coercion rules for the IN operator. Ticket #1821. (CVS 3188) drh 2006-05-23 23:22:29 +00:00
  • c44135657c If an sqlite3_mprintf() call uses a disallowed internal-use-only conversion character, then abort the call with a -1 error code. Ticket #1818. (CVS 3187) drh 2006-05-22 22:04:00 +00:00
  • db5138885b Adjust the default weights on indices so that an index that matches more terms of the where clause wins (by default) over one that matches fewer. Ticket #1808. (CVS 3186) drh 2006-05-11 23:14:59 +00:00
  • 2886cc0783 Fix documentation typo: The name of the competing database engine is "Firebird", not "Firefox". (CVS 3185) drh 2006-05-11 13:33:14 +00:00
  • ffe0f8901e Correctly handle multi-column indices where multiple columns are constrained by IN operators with subqueries on the right-hand side. Ticket #1807. (CVS 3184) drh 2006-05-11 13:26:25 +00:00
  • c806d8570e Fix comments on the implementation of the SUM() function. (CVS 3183) drh 2006-05-11 13:25:39 +00:00
  • c1f4494e65 Out-of-memory checks added to tclsqlite.c and shell.c. Tickets #1805 and #1806. (CVS 3182) drh 2006-05-10 14:39:13 +00:00
  • f3a5888dde Fix error processing in Lemon. SQLite does not use this feature of lemon so it is uneffected. (CVS 3181) drh 2006-05-08 15:14:19 +00:00
  • 8ca0c724b5 Automatically increase the size of the pager hash table as the number of in-memory pages increases. Tickets #1790 and #1799. (CVS 3180) drh 2006-05-07 17:49:38 +00:00
  • a28ca908e3 Fix a typo on a webpage. Ticket #1792. (CVS 3179) drh 2006-05-03 23:39:36 +00:00
  • 605ad8fb69 Faster :memory: database COMMITs. Ticket #1790. (CVS 3178) drh 2006-05-03 23:34:05 +00:00
  • f42bacc2f1 Get LIMIT 0 working on subqueries. Ticket #1784. (CVS 3177) drh 2006-04-26 17:39:34 +00:00
  • e2b3909d63 Additional information about index sorting in EXPLAIN QUERY PLAN. (CVS 3176) drh 2006-04-21 09:38:36 +00:00
  • cdc35e9343 Remove a superfluous call to access() in the unix driver. Error spotted by Coverity. (CVS 3175) drh 2006-04-19 01:24:53 +00:00
  • a49b8611b9 Allocate enough memory for the worst-case UTF-16 to UTF-8 conversion. Ticket #1773. (CVS 3174) drh 2006-04-16 12:05:03 +00:00
  • 18e87cff0a Allow constant terms in the ORDER BY or GROUP BY clauses. Ticket #1768. (CVS 3173) drh 2006-04-11 14:16:21 +00:00
  • a06ab2ca23 Follow-up to check-in (3164). Make sure SQLITE_NOMEM is returned after a memory allocation failure. It is not sufficent to return an "out of memory" error message. The return code needs to be SQLITE_NOMEM. (CVS 3172) drh 2006-04-10 13:37:47 +00:00
  • 15abd02897 Variable declarations should come before code. Ticket #1763. (CVS 3171) drh 2006-04-08 19:14:53 +00:00
  • f07e7d502e Reorder code so that it compiles with SQLITE_OMIT_MEMORYDB. Ticket #1754. (CVS 3170) drh 2006-04-07 13:54:46 +00:00
  • 30bcf5dbaf Return the correct declared column type, origin column name, origin database name, etc. from aggregate queries. Ticket #1726 and #1755. (CVS 3169) drh 2006-04-07 13:50:37 +00:00
  • 502b962b2d Avoid the use of atof(). Ticket #1756. (CVS 3168) drh 2006-04-07 13:26:42 +00:00
  • c65ff65f55 Version 3.3.5 (CVS 3167) drh 2006-04-05 13:16:48 +00:00
  • bdb754bd12 Fix typos in the previous check-in. (CVS 3166) drh 2006-04-05 12:50:08 +00:00
  • 9100726972 Preparing for the release of version 3.3.5. (CVS 3165) drh 2006-04-05 12:15:11 +00:00
  • 6103fe972e Make sure SQLITE_NOMEM is reported out on a malloc failure in an ATTACH even if the malloc failure reports within a nested calls to sqlite3_prepare(). (CVS 3164) drh 2006-04-05 11:57:37 +00:00
  • 9d578358ee Add documentation on new sqlite_authorizer callback types. Ticket #1744. (CVS 3163) drh 2006-04-05 01:08:35 +00:00
  • 401361b8b6 Documentation typos. Tickets #1749 and #1750. (CVS 3162) drh 2006-04-05 01:02:08 +00:00
  • 9b8f447b36 Changes to get SQLite running on machines that use the EBCDIC character set. (CVS 3161) drh 2006-04-04 01:54:55 +00:00
  • a5cc357747 Do not strip windows DLLs because this prevents them from being relocatable. Ticket #1474. (CVS 3160) drh 2006-04-02 11:57:12 +00:00
  • 41b070ed8b Remove mention of the REVERSE collating sequence from the documentation. (CVS 3159) drh 2006-04-01 14:38:41 +00:00