0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-10-08 05:57:12 +00:00

Commit Graph

  • 51fa3215fa Version 2.4.1 (CVS 430) drh 2002-03-13 18:54:50 +00:00
  • 094b2bbfc7 Fix bug in anonymous subquery in a join. Parser requires a semicolon or end-of-input before executing. (CVS 429) drh 2002-03-13 18:54:07 +00:00
  • 56c0e926f1 Fix the return type of the xStep function in the FuncDef structure definition. (CVS 428) drh 2002-03-12 23:10:04 +00:00
  • 1f245e488a Change the way that lemon handles %extra_argument. (CVS 427) drh 2002-03-11 13:55:50 +00:00
  • 54ea6427df Version 2.4.0 (CVS 443) drh 2002-03-11 02:15:00 +00:00
  • 28b4e4890b Preparing for the 2.4.0 release. (CVS 426) drh 2002-03-11 02:06:13 +00:00
  • 7218ac7098 Bug fix: updates within a transaction would fail if there was existed a temporary table. (CVS 425) drh 2002-03-10 21:21:00 +00:00
  • 5191b7e699 Added prototypes to sqlite.h for sqlite_freemem(), sqlite_libversion() and sqlite_libencoding(). (CVS 424) drh 2002-03-08 02:12:00 +00:00
  • acd4c69580 Fix a bug in the sorting of compound selects. (CVS 423) drh 2002-03-07 02:02:51 +00:00
  • 2a0e11df42 Beta 2 (CVS 422) drh 2002-03-06 22:04:21 +00:00
  • cd61c2816f Added the default_cache_size and default_synchronous pragmas. Added additional tests for pragmas. Added a new speedtest script. (CVS 421) drh 2002-03-06 22:01:34 +00:00
  • e684090012 Optimizations to the processing of integer comparisons. (CVS 420) drh 2002-03-06 03:08:25 +00:00
  • 4b845d7ef4 Change the pager locking mechanism so that we don't have to write page 1 to the journal and to the database unless it actually changes. (CVS 419) drh 2002-03-05 12:41:19 +00:00
  • 603240cf5d Add the ability to turn of calls to fsync() using the "synchronous" pragma. Increased the default cache size from 100 to 2000 and made the "cache_size" pragma persistent. (CVS 418) drh 2002-03-05 01:11:12 +00:00
  • ef2daf547d Updates to the documentation. Changed version number to 2.4.0-beta1 (CVS 417) drh 2002-03-04 02:26:15 +00:00
  • 4ff6dfa7de More bugs fixed for views. (CVS 416) drh 2002-03-03 23:06:00 +00:00
  • 417be79cd1 VIEWs are bound to tables when they are used, not when they are first entered. This works around the problem of what to do if a table is deleted that a view refers to. (CVS 415) drh 2002-03-03 18:59:40 +00:00
  • 75148a27b4 Fix a memory leak in expression processing. (CVS 414) drh 2002-03-03 03:42:31 +00:00
  • c0a165b304 Additional tests of flattening (CVS 413) drh 2002-03-03 03:11:15 +00:00
  • 2d0794e325 Suppress superfluous OP_OpenTemps when flattening subqueries. (CVS 412) drh 2002-03-03 03:03:52 +00:00
  • 1b2e032999 Bug fixes and additional tests for the subquery flattener. (CVS 411) drh 2002-03-03 02:49:51 +00:00
  • 30e58750c1 Pager optimization: do not write or journal free pages. This results in a 2x performance gain for large INSERTs and a 5x performance gain for large DELETEs. (CVS 410) drh 2002-03-02 20:41:57 +00:00
  • f9ffac96a7 Change the btree node balancers to sort nodes into accending order. This improves insert and delete speed by 25%. (CVS 409) drh 2002-03-02 19:00:31 +00:00
  • 832508b7ea Subquery flattening is implemented and passes all regression tests. We still need to add addition tests to the suite to further exercise the flattener, however. (CVS 408) drh 2002-03-02 17:04:07 +00:00
  • 567c604bb5 Bug fix when -DMEMORY_DEBUG is off. (CVS 407) drh 2002-02-28 04:10:29 +00:00
  • 47c8a67907 Fix bugs in substr() for UTF-8. (CVS 406) drh 2002-02-28 04:00:12 +00:00
  • 653bc75992 Remove unused opcodes from the VDBE and fix a bug in the substr() function. (CVS 405) drh 2002-02-28 03:31:10 +00:00
  • fbc990826c Change the IFNULL and NVL functions to COALESCE. Change MIN and MAX so that they require at least one argument. (CVS 404) drh 2002-02-28 03:14:18 +00:00
  • 89425d5e02 The new function code passes regression tests. (CVS 403) drh 2002-02-28 03:04:48 +00:00
  • f55f25f02f Fix the coredump. There are still problems in the test suite though. (CVS 402) drh 2002-02-28 01:46:11 +00:00
  • 3212e18238 Added IFNULL and NVL functions. (CVS 401) drh 2002-02-28 00:46:26 +00:00
  • 0bce8354b4 Completely remove the old SQL function system and replace it with the new user functions. The code currently compiles but it coredumps on the test suite. Do not use in its present state. (CVS 400) drh 2002-02-28 00:41:10 +00:00
  • dd5baa95e8 Try to reduce the number of malloc() for user-defined functions. Begin transfering built-in functions over to the user-define function mechanism. (CVS 399) drh 2002-02-27 19:50:59 +00:00
  • 1350b030c1 Revise the API for user-defined functions. (CVS 398) drh 2002-02-27 19:00:20 +00:00
  • 4e0f995347 The user-defined function routines failed to detect a malloc() failure. (CVS 397) drh 2002-02-27 01:53:13 +00:00
  • ff78bd2f07 Bug fixes in the VIEW implementation. (CVS 396) drh 2002-02-27 01:47:11 +00:00
  • a2ed56016f Comment changes only. (CVS 395) drh 2002-02-26 23:55:31 +00:00
  • cd7d2732bf Fix a bug in the quoting of .dump output. By Rajit Singh. (CVS 394) drh 2002-02-26 23:24:26 +00:00
  • d3a149efca Added a "stddev()" aggregate function for testing the new user aggregate function interface. (CVS 393) drh 2002-02-24 17:12:53 +00:00
  • e5095355d6 Code for user-defined aggregates added. Legacy tests all pass but there has been no testing of the new user-defined aggregate code. (CVS 392) drh 2002-02-24 03:25:14 +00:00
  • dc04c58360 Move the build-in function definitions into a new source file "func.c". (CVS 391) drh 2002-02-24 01:55:15 +00:00
  • 8e0a2f903a Added support for user-defined normal functions. Support for user-defined aggregates is pending. (CVS 390) drh 2002-02-23 23:45:45 +00:00
  • b29b0a5227 Modify lemon to use much less memory for its parser tables. This reduces the size of the library by 50K, which is important for an embedded library. (CVS 389) drh 2002-02-23 19:39:46 +00:00
  • b59499c73b Bug fix in lemon: 3-way conflicts (SHIFT/REDUCE/REDUCE) were not detected or resolved. This is now fixed. Also, table compression works a little better. (CVS 388) drh 2002-02-23 18:45:13 +00:00
  • a76b5dfca6 Code to implement CREATE VIEW is in place. A quick smoke test shows that it works, but there are probably still many bugs. (CVS 387) drh 2002-02-23 02:32:10 +00:00
  • 17f7193434 Change the SQLITE_MASTER format to version 2 in preparation for adding views. (CVS 386) drh 2002-02-21 12:01:27 +00:00
  • 2af0b2d78f Do not allow dot-commands to occur in the middle of a real SQL command. (CVS 385) drh 2002-02-21 02:25:02 +00:00
  • 77c679c096 Fix a comment. (CVS 384) drh 2002-02-19 22:43:58 +00:00
  • 5cf8e8c7fa New ROWIDs are numbered sequentially. (CVS 383) drh 2002-02-19 22:42:05 +00:00
  • 9562b55115 Optimize simple min() and max() queries. (CVS 382) drh 2002-02-19 15:00:07 +00:00
  • aaab5725db Change the name of the sanity_check PRAGMA to "integrity_check" and make it available on all compiles. (CVS 381) drh 2002-02-19 13:39:21 +00:00
  • a80a1e6ae4 Version 2.3.3 (CVS 444) drh 2002-02-19 00:30:00 +00:00
  • 9e2751da83 Final changes before 2.3.3 (CVS 380) drh 2002-02-19 00:15:12 +00:00
  • b1feb840df Added a C wrapper program to test threading under Unix. (CVS 379) drh 2002-02-18 22:50:26 +00:00
  • 0a36c57eb0 Bug fix: CREATE TABLE, followed by DROP TABLE within the same transaction is working now. (CVS 378) drh 2002-02-18 22:49:59 +00:00
  • 969fa7c128 Add support for CREATE TABLE AS. (CVS 377) drh 2002-02-18 18:30:32 +00:00
  • e64e7b203e Allow general expressions in the VALUES clause of an INSERT statement. (CVS 376) drh 2002-02-18 13:56:36 +00:00
  • cf9095061c Additional tests for the sub-query feature. (CVS 375) drh 2002-02-18 13:35:33 +00:00
  • 5ae7af7cc2 Enhancement to Windows "file-exists" function by Joel Lucsy. (CVS 374) drh 2002-02-18 12:48:45 +00:00
  • d820cb1b75 Test and documentation updates for sub-queries. (CVS 373) drh 2002-02-18 03:21:45 +00:00
  • 22f70c32f0 Add support for subqueries in the FROM clause of a SELECT. Still need to add tests for this feature. (CVS 372) drh 2002-02-18 01:17:00 +00:00
  • 1d83f05257 Make the sqliteParseInfoReset() function locale to the select.c file. (CVS 371) drh 2002-02-17 00:30:36 +00:00
  • 2f4392ff5b All identifiers to be quoted in square brackets, for compatibility with MS-Access. (CVS 370) drh 2002-02-14 21:42:51 +00:00
  • cffa014dc3 Version 2.3.2 (CVS 446) drh 2002-02-14 12:59:59 +00:00
  • 1e336b42f1 Fix an incorrect assert() in pager.c. (CVS 369) drh 2002-02-14 12:50:33 +00:00
  • 3cf9084a37 Version 2.3.1 (CVS 445) drh 2002-02-13 23:29:59 +00:00
  • 976658734c Bug fix: if PRAGMA full_column_names=ON is set and you do a query like this: "SELECT rowid,* FROM ...", then an assertion failed. Bummer. (CVS 368) drh 2002-02-13 23:22:53 +00:00
  • 3e3a8ab13f Version 2.3.0 (CVS 447) drh 2002-02-03 19:30:00 +00:00
  • 8c87e6e0ff Reenable testing code even if NDEBUG is defined. (CVS 367) drh 2002-02-03 19:15:02 +00:00
  • 24e97df9c7 Fix a serious bug in INSERT when the source is a SELECT. (CVS 366) drh 2002-02-03 19:06:02 +00:00
  • 1bffb9c84f Put in PRAGMA SANITY_CHECK in place of VACUUM. (CVS 365) drh 2002-02-03 17:37:36 +00:00
  • 1dd397f091 The VACUUM command now does a database sanity check. (CVS 364) drh 2002-02-03 03:34:07 +00:00
  • 0d65dc0e90 Five-algorithm conflict resolution appears to be working. (CVS 363) drh 2002-02-03 00:56:09 +00:00
  • 663fc63a77 Get the ABORT conflict resolution algorithm working. (CVS 362) drh 2002-02-02 18:49:19 +00:00
  • fa86c4127d Checkpoint code added to the pager. Regression tests work but the new APIs have not been tested yet. (CVS 361) drh 2002-02-02 15:01:15 +00:00
  • 1c92853dac Change to five conflict resolution algorithms: ROLLBACK, ABORT, FAIL, IGNORE, and REPLACE. This checkin is code only. Documentation and tests are still needed. Also, ABORT is not fully implemented. (CVS 360) drh 2002-01-31 15:54:21 +00:00
  • b419a926d4 Added ON CONFLICT support to COPY. Updates to documentation. Bug fixes. (CVS 359) drh 2002-01-30 16:17:23 +00:00
  • ef6764a1d9 Better testing of the ON CONFLICT logic. (CVS 358) drh 2002-01-30 04:32:00 +00:00
  • bb37fdc782 More bug fixes in the ON CONFLICT enhancement. (CVS 357) drh 2002-01-30 00:54:55 +00:00
  • 0ca3e24b2e The new ON CONFLICT logic is in and passes the legacy tests. But the new capabilities have not been tested and are likely broken. (CVS 356) drh 2002-01-29 23:07:02 +00:00
  • 9cfcf5d4f6 Beginning to insert the infrastructure for ON CONFLICT clauses. (CVS 355) drh 2002-01-29 18:41:24 +00:00
  • 881a99e493 Version 2.2.5 (CVS 448) drh 2002-01-28 15:59:59 +00:00
  • 6b12545f4f Bug fix: The IN operator was not working if either side derived from an INTEGER PRIMARY KEY. (CVS 354) drh 2002-01-28 15:53:03 +00:00
  • 71172c5c51 Do not escape the backslash character in shell output. (CVS 353) drh 2002-01-24 00:00:21 +00:00
  • a0f07f1919 Version 2.2.4 (CVS 449) drh 2002-01-22 14:15:00 +00:00
  • 9208643d2a Constant ORDER BY or GROUP BY expressions are an error. (CVS 352) drh 2002-01-22 14:11:29 +00:00
  • 7613bfae56 Fix a bug in the -separator command-line option. (CVS 351) drh 2002-01-22 12:39:24 +00:00
  • a2e00042a1 The right-hand side of an AS in a SELECT can be used within expressions of the WHERE, ORDER BY, GROUP BY, and/or HAVING clauses. (CVS 350) drh 2002-01-22 03:13:42 +00:00
  • 555fcb489b Version 2.2.3 (CVS 450) drh 2002-01-16 21:04:59 +00:00
  • af9ff33ac1 Added the last_insert_rowid API function. Improved documentation of the random ROWID algorithm. (CVS 349) drh 2002-01-16 21:00:27 +00:00
  • a297b5c3cf Added implementations for sqliteOsEnterMutex() and sqliteOsLeaveMutex(). (CVS 348) drh 2002-01-15 18:39:43 +00:00
  • 1ab4300ebc Fix warning messages in VC++. Patches from nicolas352001. (CVS 347) drh 2002-01-14 09:28:19 +00:00
  • 75c3edf8eb Version 2.2.2 (CVS 451) drh 2002-01-14 03:00:00 +00:00
  • 9647ff85fe Fix a bug that could cause UPDATE to fail for a table that contains both an INTEGER PRIMARY KEY and an index. (CVS 346) drh 2002-01-14 02:56:24 +00:00
  • da9e034610 Fix a problem with the way temporary tables mask permanent tables. (CVS 345) drh 2002-01-10 14:31:48 +00:00
  • be67d9cb4b Version 2.2.1 (CVS 452) drh 2002-01-09 13:44:59 +00:00
  • af989ba546 Homepage changes prior to version 2.2.1. (CVS 344) drh 2002-01-09 13:35:11 +00:00
  • d229ca9406 Continued work on the DROP/CREATE problem. (CVS 343) drh 2002-01-09 13:30:41 +00:00
  • 74e24cd0fa Working on a bug: Dropping and recreating a table within a transaction causes an assertion failure. (CVS 342) drh 2002-01-09 03:19:59 +00:00
  • 3a88fbda19 Added a manpage from A. Rottmann. (CVS 341) drh 2002-01-07 19:58:43 +00:00