0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 00:29:48 +00:00

Commit Graph

  • 6ed41ad735 Added the last_insert_rowid() SQL function. (CVS 521) drh 2002-04-06 14:10:47 +00:00
  • bf3a4fa4cb Make the FROM clause on a SELECT optional. If omitted, the result of the SELECT is a single row consisting of the values in the expression list. (CVS 520) drh 2002-04-06 13:57:42 +00:00
  • 41e941dda6 Add an fflush() call to shell.c to insure that all output has been written before we prompt for a new line of input. (CVS 519) drh 2002-04-04 15:10:12 +00:00
  • 5447322939 Fix for bug #2: Add support for TABLE.* in SELECT statements. (CVS 518) drh 2002-04-04 02:10:55 +00:00
  • f238f700c2 Added a hyperlink to the SQLite-PHP project. (CVS 517) drh 2002-04-03 20:50:21 +00:00
  • 7b7307fb7c Version 2.4.6 (CVS 516) drh 2002-04-02 13:27:43 +00:00
  • 3f6b548961 Fix for bug #8: Correctly handle terms of a WHERE clause in a join where the term does not use a comparison operator. (CVS 515) drh 2002-04-02 13:26:10 +00:00
  • 11f61696bc Version 2.4.5 (CVS 514) drh 2002-04-02 02:00:02 +00:00
  • dd579122da Fix for bug #6: Correctly handle functions in the WHERE clause of a join. (CVS 513) drh 2002-04-02 01:58:57 +00:00
  • 5efc18b6da Fix for bug #7: Correctly display the P3 operand in a VDBE trace when the operand is really a pointer to a structure. (CVS 512) drh 2002-04-02 01:44:50 +00:00
  • 29f5befc43 Remove from the index page of the website hyperlinks that are not directly related to SQLite. (CVS 511) drh 2002-04-01 12:15:02 +00:00
  • e1e68f4974 When an attempt is made to insert an explicit NULL into an INTEGER PRIMARY KEY column, automatically convert the NULL value into a unique integer key. This was already happening when an implied NULL was inserted - when the INTEGER PRIMARY KEY column was omitted from the list of columns being inserted. Patches from Christian Werner. (CVS 510) drh 2002-03-31 18:29:03 +00:00
  • 035bd01d6a Version 2.4.4 (CVS 509) drh 2002-03-30 15:32:08 +00:00
  • 132ebed2bf Update the change log to include the previous commit. (CVS 508) drh 2002-03-30 15:27:56 +00:00
  • f18543ca39 Fix for bug #3: Allow VIEW as a column name. Also allow COPY. (CVS 507) drh 2002-03-30 15:26:50 +00:00
  • edaa6ebfdd Describe the difference between the binary RPMs in the download.html file. (CVS 506) drh 2002-03-30 14:15:51 +00:00
  • 203c211064 Combine the homerpm.sh file in with publish.sh. Update the website files to refer to the new RPMs that are now being built. Fix a small problem with the spec file. (CVS 505) drh 2002-03-29 18:16:04 +00:00
  • 1d36650fa3 added a section to create a spec file and build the rpm files (CVS 504) doughenry 2002-03-29 01:29:53 +00:00
  • 3c0d1ec01c these files are needed by publish.sh to build rpms (CVS 503) doughenry 2002-03-29 01:28:45 +00:00
  • 2676a611ec Two typos fixed in the documentation (lang.html). (CVS 502) drh 2002-03-28 14:20:08 +00:00
  • d4037e801a Update the documentation to refer the reader to the CVS server for the change log, bug lists, or the latest sources. (CVS 500) drh 2002-03-27 12:52:47 +00:00
  • 41f03d1d26 Update the change log. (CVS 438) drh 2002-03-26 03:11:27 +00:00
  • 17a7f8ddab Added support for CASE expressions - patches from Dan Kennedy. (CVS 437) drh 2002-03-24 13:13:27 +00:00
  • 6b54e74cf4 Version 2.4.3 (CVS 440) drh 2002-03-23 00:59:59 +00:00
  • f1a7a13928 The sqlite_get_table() function now returns an error if you pass in two or more SELECT statements that return different numbers of columns. (CVS 436) drh 2002-03-23 00:52:01 +00:00
  • 1cc3d75f69 Fix a bug in subquery generation when the subquery is a compound select. Also added new tests to cover this case. (CVS 435) drh 2002-03-23 00:31:29 +00:00
  • 545c23dc42 Version 2.4.2 (CVS 441) drh 2002-03-20 01:05:00 +00:00
  • 27a3220c54 One more change before 2.4.2: Make the os.h header file more robust in detecting whether to use unix or windows. (CVS 434) drh 2002-03-20 00:00:29 +00:00
  • 5aed9c7410 Version 2.4.2 (CVS 433) drh 2002-03-19 23:51:12 +00:00
  • f2d74ffb74 Fix an uninitialized variable in AggReset() (CVS 432) drh 2002-03-18 13:03:54 +00:00
  • 84e5920738 Bug fix: allow ROWID as a column in SELECT statements where the FROM clause includes views which are flattened. (CVS 431) drh 2002-03-14 14:33:31 +00:00
  • 38b360bb80 Version 2.4.1 (CVS 442) drh 2002-03-13 18:59:59 +00:00
  • 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