SQLite

Timeline
Login

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

99 check-ins occurring around d3f66b44e5.

2002-04-18
12:39
Change shell.c so that it will compile under windows. Shorten the help command somewhat. Add the state of ".header" to the output of ".show". (CVS 534) (check-in: 0582168b user: drh tags: trunk)
02:53
Updated to match new shell.c functionality. (CVS 533) (check-in: ff67ad40 user: persicom tags: trunk)
02:53
Mistake in help text. Spurious trailing whitespace removed. (CVS 532) (check-in: 4bdd040e user: persicom tags: trunk)
02:46
General: o Added global static chars mainPrompt and continuePrompt. o Moved Argv0 declaration to head of file. Needed in do_meta_command, previously found below that. o Added struct previous_mode_data to support new .explain toggle functionality. o Added nullvalue, explainPrev and outfile members to struct callback_data. o Added modeDescr array for number/text translation ofdisplay modes. o Modified zHelp to match new functionality.

callback(): o Added support for .nullvalue

do_meta_command(): o Output filename is now saved to callback struct. If using stdout, then the string "stdout" is saved. o Explain is now a toggle. When it is turned on, the current values of mode, header and colWidth are saved if not already in explain mode. When turned off, those values are restored. o Allow .mode plurals columns and lines and dot command plural .headers. o Added processing for new keywords .quit, .nullvalue, .show, .prompt.

main(): o Added -init as an option to override .sqliterc. o Added -nullvalue as a command line option. o Processes .sqliterc.

main_init(): o Genesis. Moved some initialization code here from inside main() so that it can be called initially by main and again if -init is specified.

one_input_line(): o Now takes prompts from settable values.

process_sqliterc(): o Genesis. Read .sqliterc from user's home directory and pass it to process_input(). File should contain meta commands for setups. (CVS 531) (check-in: e751338c user: persicom tags: trunk)

01:56
Fix for ticket #19: Do not call sqliteOsSync() if the only changes were changes to TEMP tables. (CVS 530) (check-in: 33da20b9 user: drh tags: trunk)
2002-04-13
23:42
When doing a ".dump" command in the command-line shell, make sure VIEWs are created after TABLEs. (CVS 529) (check-in: 7edd1346 user: drh tags: trunk)
2002-04-12
13:12
Version 2.4.7 (CVS 528) (check-in: 977abbae user: drh tags: trunk)
13:11
Add tests to prevent a recurrance of bug #16. Also: put a hyperlink to the new ticket screen on the main page of the website. (CVS 527) (check-in: cdab6dad user: drh tags: trunk)
10:08
Fix for bug #15: Add the sqlite_changes() API function for retrieving the number of rows that changed in the previous operation. (CVS 526) (check-in: 6e71493b user: drh tags: trunk)
03:55
Fix for bug #16: Check for invalid functions in the VALUES clause of an INSERT statement. (CVS 525) (check-in: 43a77f01 user: drh tags: trunk)
2002-04-09
03:28
Fix for bug #11: Output the correct row count when and INSERT does an IGNORE action. (CVS 524) (check-in: bb83642e user: drh tags: trunk)
03:15
Fix for bug #10: Pop the stack by the right amount on an IGNORE so that the stack does not grow without bound. (CVS 523) (check-in: f46acfc3 user: drh tags: trunk)
2002-04-08
02:42
Add a -column option to the sqlite command-line utility. Patch from Matthew O. Persico. (CVS 522) (check-in: 760bf568 user: drh tags: trunk)
2002-04-06
14:10
Added the last_insert_rowid() SQL function. (CVS 521) (check-in: 6aca3f86 user: drh tags: trunk)
13:57
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) (check-in: 28ce42f7 user: drh tags: trunk)
2002-04-04
15:10
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) (check-in: 93227418 user: drh tags: trunk)
02:10
Fix for bug #2: Add support for TABLE.* in SELECT statements. (CVS 518) (check-in: c2320eab user: drh tags: trunk)
2002-04-03
20:50
Added a hyperlink to the SQLite-PHP project. (CVS 517) (check-in: ffdeec30 user: drh tags: trunk)
2002-04-02
13:27
Version 2.4.6 (CVS 516) (check-in: 5ae7efd8 user: drh tags: trunk)
13:26
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) (check-in: abb12259 user: drh tags: trunk)
02:00
Version 2.4.5 (CVS 514) (check-in: b18a7b77 user: drh tags: trunk)
01:58
Fix for bug #6: Correctly handle functions in the WHERE clause of a join. (CVS 513) (check-in: bdd8ce58 user: drh tags: trunk)
01:44
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) (check-in: 734dde76 user: drh tags: trunk)
2002-04-01
12:15
Remove from the index page of the website hyperlinks that are not directly related to SQLite. (CVS 511) (check-in: 0cb5cfa8 user: drh tags: trunk)
2002-03-31
18:29
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) (check-in: 9e3cf4aa user: drh tags: trunk)
2002-03-30
15:32
Version 2.4.4 (CVS 509) (check-in: c4b6c0be user: drh tags: trunk)
15:27
Update the change log to include the previous commit. (CVS 508) (check-in: 81c4b749 user: drh tags: trunk)
15:26
Fix for bug #3: Allow VIEW as a column name. Also allow COPY. (CVS 507) (check-in: d2bdc0fe user: drh tags: trunk)
14:15
Describe the difference between the binary RPMs in the download.html file. (CVS 506) (check-in: 8ce9a1fa user: drh tags: trunk)
2002-03-29
18:16
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) (check-in: 57d4c770 user: drh tags: trunk)
01:29
added a section to create a spec file and build the rpm files (CVS 504) (check-in: e5291439 user: doughenry tags: trunk)
01:28
these files are needed by publish.sh to build rpms (CVS 503) (check-in: 3c253593 user: doughenry tags: trunk)
2002-03-28
14:20
Two typos fixed in the documentation (lang.html). (CVS 502) (check-in: f0f241e1 user: drh tags: trunk)
2002-03-27
12:52
Update the documentation to refer the reader to the CVS server for the change log, bug lists, or the latest sources. (CVS 500) (check-in: 2478ba86 user: drh tags: trunk)
2002-03-26
03:11
Update the change log. (CVS 438) (check-in: 9637b9aa user: drh tags: trunk)
2002-03-24
13:13
Added support for CASE expressions - patches from Dan Kennedy. (CVS 437) (check-in: 836b59d0 user: drh tags: trunk)
2002-03-23
01:00
Version 2.4.3 (CVS 440) (check-in: 99d6764e user: drh tags: trunk)
00:52
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) (check-in: e2558c34 user: drh tags: trunk)
00:31
Fix a bug in subquery generation when the subquery is a compound select. Also added new tests to cover this case. (CVS 435) (check-in: aaf7fd4c user: drh tags: trunk)
2002-03-20
01:05
Version 2.4.2 (CVS 441) (check-in: 49d03232 user: drh tags: trunk)
00:00
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) (check-in: c2e0b790 user: drh tags: trunk)
2002-03-19
23:51
Version 2.4.2 (CVS 433) (check-in: b0805b60 user: drh tags: trunk)
2002-03-18
13:03
Fix an uninitialized variable in AggReset() (CVS 432) (check-in: 3dcdeae7 user: drh tags: trunk)
2002-03-14
14:33
Bug fix: allow ROWID as a column in SELECT statements where the FROM clause includes views which are flattened. (CVS 431) (check-in: a3a360b3 user: drh tags: trunk)
2002-03-13
19:00
Version 2.4.1 (CVS 442) (check-in: 9f12b880 user: drh tags: trunk)
18:54
Version 2.4.1 (CVS 430) (check-in: 9333ecca user: drh tags: trunk)
18:54
Fix bug in anonymous subquery in a join. Parser requires a semicolon or end-of-input before executing. (CVS 429) (check-in: c0e3f1c5 user: drh tags: trunk)
2002-03-12
23:10
Fix the return type of the xStep function in the FuncDef structure definition. (CVS 428) (check-in: 753adb78 user: drh tags: trunk)
2002-03-11
13:55
Change the way that lemon handles %extra_argument. (CVS 427) (check-in: ffc387a4 user: drh tags: trunk)
02:15
Version 2.4.0 (CVS 443) (check-in: d3f66b44 user: drh tags: trunk)
02:06
Preparing for the 2.4.0 release. (CVS 426) (check-in: 9f5b241c user: drh tags: trunk)
2002-03-10
21:21
Bug fix: updates within a transaction would fail if there was existed a temporary table. (CVS 425) (check-in: 02cc2d60 user: drh tags: trunk)
2002-03-08
02:12
Added prototypes to sqlite.h for sqlite_freemem(), sqlite_libversion() and sqlite_libencoding(). (CVS 424) (check-in: 145516c9 user: drh tags: trunk)
2002-03-07
02:02
Fix a bug in the sorting of compound selects. (CVS 423) (check-in: 0a513235 user: drh tags: trunk)
2002-03-06
22:04
Beta 2 (CVS 422) (check-in: 6c3fb547 user: drh tags: trunk)
22:01
Added the default_cache_size and default_synchronous pragmas. Added additional tests for pragmas. Added a new speedtest script. (CVS 421) (check-in: 161c0c5f user: drh tags: trunk)
03:08
Optimizations to the processing of integer comparisons. (CVS 420) (check-in: b7a7dae9 user: drh tags: trunk)
2002-03-05
12:41
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) (check-in: 480eef1a user: drh tags: trunk)
01:11
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) (check-in: 414da4af user: drh tags: trunk)
2002-03-04
02:26
Updates to the documentation. Changed version number to 2.4.0-beta1 (CVS 417) (check-in: 36a8fe0a user: drh tags: trunk)
2002-03-03
23:06
More bugs fixed for views. (CVS 416) (check-in: 81307762 user: drh tags: trunk)
18:59
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) (check-in: 6121e5ab user: drh tags: trunk)
03:42
Fix a memory leak in expression processing. (CVS 414) (check-in: dfe431c9 user: drh tags: trunk)
03:11
Additional tests of flattening (CVS 413) (check-in: e1d93c59 user: drh tags: trunk)
03:03
Suppress superfluous OP_OpenTemps when flattening subqueries. (CVS 412) (check-in: 000441c8 user: drh tags: trunk)
02:49
Bug fixes and additional tests for the subquery flattener. (CVS 411) (check-in: 2c05389e user: drh tags: trunk)
2002-03-02
20:41
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) (check-in: cf1ebcfb user: drh tags: trunk)
19:00
Change the btree node balancers to sort nodes into accending order. This improves insert and delete speed by 25%. (CVS 409) (check-in: abbb999d user: drh tags: trunk)
17:04
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) (check-in: d5d3e79c user: drh tags: trunk)
2002-02-28
04:10
Bug fix when -DMEMORY_DEBUG is off. (CVS 407) (check-in: e14b0c82 user: drh tags: trunk)
04:00
Fix bugs in substr() for UTF-8. (CVS 406) (check-in: e9fd9e7b user: drh tags: trunk)
03:31
Remove unused opcodes from the VDBE and fix a bug in the substr() function. (CVS 405) (check-in: e8611e0c user: drh tags: trunk)
03:14
Change the IFNULL and NVL functions to COALESCE. Change MIN and MAX so that they require at least one argument. (CVS 404) (check-in: 7d86749d user: drh tags: trunk)
03:04
The new function code passes regression tests. (CVS 403) (check-in: b00cf110 user: drh tags: trunk)
01:46
Fix the coredump. There are still problems in the test suite though. (CVS 402) (check-in: 6af10cc5 user: drh tags: trunk)
00:46
Added IFNULL and NVL functions. (CVS 401) (check-in: c6a85c8e user: drh tags: trunk)
00:41
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) (check-in: 50797fee user: drh tags: trunk)
2002-02-27
19:50
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) (check-in: c4f9e017 user: drh tags: trunk)
19:00
Revise the API for user-defined functions. (CVS 398) (check-in: 633951f0 user: drh tags: trunk)
01:53
The user-defined function routines failed to detect a malloc() failure. (CVS 397) (check-in: 085b0d67 user: drh tags: trunk)
01:47
Bug fixes in the VIEW implementation. (CVS 396) (check-in: 668ef638 user: drh tags: trunk)
2002-02-26
23:55
Comment changes only. (CVS 395) (check-in: 63b87f2e user: drh tags: trunk)
23:24
Fix a bug in the quoting of .dump output. By Rajit Singh. (CVS 394) (check-in: f2310f36 user: drh tags: trunk)
2002-02-24
17:12
Added a "stddev()" aggregate function for testing the new user aggregate function interface. (CVS 393) (check-in: 21981097 user: drh tags: trunk)
03:25
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) (check-in: 1e037eb3 user: drh tags: trunk)
01:55
Move the build-in function definitions into a new source file "func.c". (CVS 391) (check-in: 530b0f4f user: drh tags: trunk)
2002-02-23
23:45
Added support for user-defined normal functions. Support for user-defined aggregates is pending. (CVS 390) (check-in: c490a1ff user: drh tags: trunk)
19:39
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) (check-in: 67a135a0 user: drh tags: trunk)
18:45
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) (check-in: 8da0ac9a user: drh tags: trunk)
02:32
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) (check-in: 39fed2df user: drh tags: trunk)
2002-02-21
12:01
Change the SQLITE_MASTER format to version 2 in preparation for adding views. (CVS 386) (check-in: b2a9807f user: drh tags: trunk)
02:25
Do not allow dot-commands to occur in the middle of a real SQL command. (CVS 385) (check-in: ffb00bf3 user: drh tags: trunk)
2002-02-19
22:43
Fix a comment. (CVS 384) (check-in: 95392853 user: drh tags: trunk)
22:42
New ROWIDs are numbered sequentially. (CVS 383) (check-in: 1686196a user: drh tags: trunk)
15:00
Optimize simple min() and max() queries. (CVS 382) (check-in: cc5abfe3 user: drh tags: trunk)
13:39
Change the name of the sanity_check PRAGMA to "integrity_check" and make it available on all compiles. (CVS 381) (check-in: c6e9048e user: drh tags: trunk)
00:30
Version 2.3.3 (CVS 444) (check-in: 72c5a92a user: drh tags: trunk)
00:15
Final changes before 2.3.3 (CVS 380) (check-in: a53de762 user: drh tags: trunk)
2002-02-18
22:50
Added a C wrapper program to test threading under Unix. (CVS 379) (check-in: 8d5634a4 user: drh tags: trunk)