blob: d6b6c8e662c84afbd6d98384e553420dc2cf1caf [file] [log] [blame]
drhdce2cbe2000-05-31 02:27:49 +00001#
2# Run this script to generated a changes.html output file
3#
4puts {<html>
5<head>
6 <title>SQLite Change Log</title>
7</head>
8<body bgcolor="white">
9<h1 align="center">Recent Changes To SQLite</h1>
10
11<DL>
12}
13
14
15proc chng {date desc} {
16 puts "<DT><B>$date</B></DT>"
17 puts "<DD><P><UL>$desc</UL></P></DD>"
18}
19
drh2f4392f2002-02-14 21:42:51 +000020chng {2002 Feb * (2.3.3)} {
21<li>Allow identifiers to be quoted in square brackets, for compatibility
22 with MS-Access.</li>
drhcf909502002-02-18 13:35:33 +000023<li>Added support for sub-queries in the FROM clause of a SELECT.</li>
24<li>More efficient implementation of sqliteFileExists() under Windows.
25 (by Joel Luscy)</li>
drh2f4392f2002-02-14 21:42:51 +000026}
27
drh1e336b42002-02-14 12:50:33 +000028chng {2002 Feb 14 (2.3.2)} {
29<li>Bug fix: There was an incorrect assert() in pager.c. The real code was
30 all correct (as far as is known) so everything should work OK if you
31 compile with -DNDEBUG=1. But without disability the assertions, there
32 could be a fault.</li>
33}
34
drh97665872002-02-13 23:22:53 +000035chng {2002 Feb 13 (2.3.1)} {
36<li>Bug fix: An assertion was failing if "PRAGMA full_column_names=ON;" was
37 set and you did a query that used a rowid, like this:
38 "SELECT rowid, * FROM ...".</li>
39}
40
drh24e97df2002-02-03 19:06:02 +000041chng {2002 Jan 30 (2.3.0)} {
42<li>Fix a serious bug in the INSERT command which was causing data to go
43 into the wrong columns if the data source was a SELECT and the INSERT
44 clauses specified its columns in some order other than the default.</li>
drhb419a922002-01-30 16:17:23 +000045<li>Added the ability to resolve constraint conflicts is ways other than
46 an abort and rollback. See the documentation on the "ON CONFLICT"
47 clause for details.</li>
drhfa86c412002-02-02 15:01:15 +000048<li>Temporary files are now automatically deleted by the operating system
49 when closed. There are no more dangling temporary files on a program
50 crash. (If the OS crashes, fsck will delete the file after reboot
51 under Unix. I do not know what happens under Windows.)</li>
drhb419a922002-01-30 16:17:23 +000052<li>NOT NULL constraints are honored.</li>
53<li>The COPY command puts NULLs in columns whose data is '\N'.</li>
54<li>In the COPY command, backslash can now be used to escape a newline.</li>
drh24e97df2002-02-03 19:06:02 +000055<li>Added the SANITY_CHECK pragma.</li>
drhb419a922002-01-30 16:17:23 +000056}
57
drh6b125452002-01-28 15:53:03 +000058chng {2002 Jan 28 (2.2.5)} {
59<li>Important bug fix: the IN operator was not working if either the
60 left-hand or right-hand side was derived from an INTEGER PRIMARY KEY.</li>
61<li>Do not escape the backslash '\' character in the output of the
62 <b>sqlite</b> command-line access program.</li>
63}
64
drh92086432002-01-22 14:11:29 +000065chng {2002 Jan 22 (2.2.4)} {
drha2e00042002-01-22 03:13:42 +000066<li>The label to the right of an AS in the column list of a SELECT can now
67 be used as part of an expression in the WHERE, ORDER BY, GROUP BY, and/or
68 HAVING clauses.</li>
drh7613bfa2002-01-22 12:39:24 +000069<li>Fix a bug in the <b>-separator</b> command-line option to the <b>sqlite</b>
70 command.</li>
drh92086432002-01-22 14:11:29 +000071<li>Fix a problem with the sort order when comparing upper-case strings against
72 characters greater than 'Z' but less than 'a'.</li>
73<li>Report an error if an ORDER BY or GROUP BY expression is constant.</li>
drha2e00042002-01-22 03:13:42 +000074}
75
drhaf9ff332002-01-16 21:00:27 +000076chng {2002 Jan 16 (2.2.3)} {
drha297b5c2002-01-15 18:39:43 +000077<li>Fix warning messages in VC++ 7.0. (Patches from nicolas352001)</li>
78<li>Make the library thread-safe. (The code is there and appears to work
79 but has not been stressed.)</li>
drhaf9ff332002-01-16 21:00:27 +000080<li>Added the new <b>sqlite_last_insert_rowid()</b> API function.</li>
drha297b5c2002-01-15 18:39:43 +000081}
82
drh9647ff82002-01-14 02:56:24 +000083chng {2002 Jan 13 (2.2.2)} {
drhda9e0342002-01-10 14:31:48 +000084<li>Bug fix: An assertion was failing when a temporary table with an index
85 had the same name as a permanent table created by a separate process.</li>
drh9647ff82002-01-14 02:56:24 +000086<li>Bug fix: Updates to tables containing an INTEGER PRIMARY KEY and an
87 index could fail.</li>
drhda9e0342002-01-10 14:31:48 +000088}
89
drhaf989ba2002-01-09 13:35:11 +000090chng {2002 Jan 9 (2.2.1)} {
drhc6b52df2002-01-04 03:09:29 +000091<li>Bug fix: An attempt to delete a single row of a table with a WHERE
92 clause of "ROWID=x" when no such rowid exists was causing an error.</li>
drhe638bbf2002-01-07 19:04:21 +000093<li>Bug fix: Passing in a NULL as the 3rd parameter to <b>sqlite_open()</b>
94 would sometimes cause a coredump.</li>
drh74e24cd2002-01-09 03:19:59 +000095<li>Bug fix: DROP TABLE followed by a CREATE TABLE with the same name all
96 within a single transaction was causing a coredump.</li>
97<li>Makefile updates from A. Rottmann</li>
drhc6b52df2002-01-04 03:09:29 +000098}
99
drhe7ec2202001-12-22 19:27:39 +0000100chng {2001 Dec 22 (2.2.0)} {
101<li>Columns of type INTEGER PRIMARY KEY are actually used as the primary
102 key in underlying B-Tree representation of the table.</li>
103<li>Several obscure, unrelated bugs were found and fixed while
104 implemented the integer primary key change of the previous bullet.</li>
drh7c917d12001-12-16 20:05:05 +0000105<li>Added the ability to specify "*" as part of a larger column list in
106 the result section of a SELECT statement. For example:
107 <nobr>"<b>SELECT rowid, * FROM table1;</b>"</nobr>.</li>
108<li>Updates to comments and documentation.</li>
109}
110
drh4cbd68f2001-12-15 02:58:18 +0000111chng {2001 Dec 14 (2.1.7)} {
112<li>Fix a bug in <b>CREATE TEMPORARY TABLE</b> which was causing the
113 table to be initially allocated in the main database file instead
114 of in the separate temporary file. This bug could cause the library
drhc38f3d52001-12-15 03:00:42 +0000115 to suffer an assertion failure and it could cause "page leaks" in the
drh4cbd68f2001-12-15 02:58:18 +0000116 main database file.
117<li>Fix a bug in the b-tree subsystem that could sometimes cause the first
118 row of a table to be repeated during a database scan.</li>
119}
120
drha7fcb052001-12-14 15:09:55 +0000121chng {2001 Dec 14 (2.1.6)} {
122<li>Fix the locking mechanism yet again to prevent
123 <b>sqlite_exec()</b> from returning SQLITE_PROTOCOL
124 unnecessarily. This time the bug was a race condition in
125 the locking code. This change effects both POSIX and Windows users.</li>
126}
127
drh2cf65aa2001-12-06 13:24:14 +0000128chng {2001 Dec 6 (2.1.5)} {
129<li>Fix for another problem (unrelated to the one fixed in 2.1.4)
130 that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL
131 unnecessarily. This time the bug was
132 in the POSIX locking code and should not effect windows users.</li>
133}
134
drhb8ca3072001-12-05 00:21:20 +0000135chng {2001 Dec 4 (2.1.4)} {
drh208611f2001-12-05 00:46:02 +0000136<li>Sometimes <b>sqlite_exec()</b> would return SQLITE_PROTOCOL when it
drhb8ca3072001-12-05 00:21:20 +0000137 should have returned SQLITE_BUSY.</li>
138<li>The fix to the previous bug uncovered a deadlock which was also
139 fixed.</li>
drh6ff13852001-11-25 13:18:23 +0000140<li>Add the ability to put a single .command in the second argument
141 of the sqlite shell</li>
drhb8ca3072001-12-05 00:21:20 +0000142<li>Updates to the FAQ</li>
drh6ff13852001-11-25 13:18:23 +0000143}
144
drh7a7c7392001-11-24 00:31:46 +0000145chng {2001 Nov 23 (2.1.3)} {
146<li>Fix the behavior of comparison operators
147 (ex: "<b>&lt</b>", "<b>==</b>", etc.)
148 so that they are consistent with the order of entries in an index.</li>
149<li>Correct handling of integers in SQL expressions that are larger than
150 what can be represented by the machine integer.</li>
151}
152
drhf5bf0a72001-11-23 00:24:12 +0000153chng {2001 Nov 22 (2.1.2)} {
drh5a2c2c22001-11-21 02:21:11 +0000154<li>Changes to support 64-bit architectures.</li>
drhc3a64ba2001-11-22 00:01:27 +0000155<li>Fix a bug in the locking protocol.</li>
drhf5bf0a72001-11-23 00:24:12 +0000156<li>Fix a bug that could (rarely) cause the database to become
157 unreadable after a DROP TABLE due to corruption to the SQLITE_MASTER
158 table.</li>
159<li>Change the code so that version 2.1.1 databases that were rendered
160 unreadable by the above bug can be read by this version of
161 the library even though the SQLITE_MASTER table is (slightly)
162 corrupted.</li>
drh5a2c2c22001-11-21 02:21:11 +0000163}
164
drhf6e515b2001-11-13 19:36:55 +0000165chng {2001 Nov 13 (2.1.1)} {
166<li>Bug fix: Sometimes arbirary strings were passed to the callback
167 function when the actual value of a column was NULL.</li>
168}
169
drh7900ead2001-11-12 13:51:43 +0000170chng {2001 Nov 12 (2.1.0)} {
drh80ff32f2001-11-04 18:32:46 +0000171<li>Change the format of data records so that records up to 16MB in size
172 can be stored.</li>
drh17e24df2001-11-06 14:10:41 +0000173<li>Change the format of indices to allow for better query optimization.</li>
174<li>Implement the "LIMIT ... OFFSET ..." clause on SELECT statements.</li>
drh80ff32f2001-11-04 18:32:46 +0000175}
176
drh0f246782001-11-03 23:59:16 +0000177chng {2001 Nov 3 (2.0.8)} {
178<li>Made selected parameters in API functions <b>const</b>. This should
179 be fully backwards compatible.</li>
drh33f51c92001-10-31 15:44:46 +0000180<li>Documentation updates</li>
drha8b38d22001-11-01 14:41:34 +0000181<li>Simplify the design of the VDBE by restricting the number of sorters
182 and lists to 1.
drhf5bf0a72001-11-23 00:24:12 +0000183 In practice, no more than one sorter and one list was ever used anyhow.
drha8b38d22001-11-01 14:41:34 +0000184 </li>
drh33f51c92001-10-31 15:44:46 +0000185}
186
drh6d4abfb2001-10-22 02:58:08 +0000187chng {2001 Oct 21 (2.0.7)} {
188<li>Any UTF-8 character or ISO8859 character can be used as part of
189 an identifier.</li>
190<li>Patches from Christian Werner to improve ODBC compatibility and to
191 fix a bug in the round() function.</li>
192<li>Plug some memory leaks that use to occur if malloc() failed.
193 We have been and continue to be memory leak free as long as
194 malloc() works.</li>
195<li>Changes to some test scripts so that they work on Windows in
196 addition to Unix.</li>
drh01a34662001-10-20 12:30:10 +0000197}
198
drh6a535342001-10-19 16:44:56 +0000199chng {2001 Oct 19 (2.0.6)} {
200<li>Added the EMPTY_RESULT_CALLBACKS pragma</li>
drh98808ba2001-10-18 12:34:46 +0000201<li>Support for UTF-8 and ISO8859 characters in column and table names.</li>
202<li>Bug fix: Compute correct table names with the FULL_COLUMN_NAMES pragma
203 is turned on.</li>
204}
205
drh1bee3d72001-10-15 00:44:35 +0000206chng {2001 Oct 14 (2.0.5)} {
207<li>Added the COUNT_CHANGES pragma.</li>
208<li>Changes to the FULL_COLUMN_NAMES pragma to help out the ODBC driver.</li>
209<li>Bug fix: "SELECT count(*)" was returning NULL for empty tables.
210 Now it returns 0.</li>
211}
212
drhe21a5732001-10-13 21:56:34 +0000213chng {2001 Oct 13 (2.0.4)} {
214<li>Bug fix: an abscure and relatively harmless bug was causing one of
215 the tests to fail when gcc optimizations are turned on. This release
216 fixes the problem.</li>
217}
218
drhbf4133c2001-10-13 02:59:08 +0000219chng {2001 Oct 13 (2.0.3)} {
drh81a20f22001-10-12 17:30:04 +0000220<li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000
221 times too long before failing.</li>
222<li>Bug fix: an assertion was failing if the disk holding the database
223 file became full or stopped accepting writes for some other reason.
224 New tests were added to detect similar problems in the future.</li>
drhbf4133c2001-10-13 02:59:08 +0000225<li>Added new operators: <b>&amp;</b> (bitwise-and)
226 <b>|</b> (bitwise-or), <b>~</b> (ones-complement),
227 <b>&lt;&lt;</b> (shift left), <b>&gt;&gt;</b> (shift right).</li>
228<li>Added new functions: <b>round()</b> and <b>abs()</b>.</li>
drh81a20f22001-10-12 17:30:04 +0000229}
230
drh286f11a2001-10-09 04:21:50 +0000231chng {2001 Oct 9 (2.0.2)} {
drhff0839c2001-10-09 12:39:24 +0000232<li>Fix two bugs in the locking protocol. (One was masking the other.)</li>
drh382c0242001-10-06 16:33:02 +0000233<li>Removed some unused "#include <unistd.h>" that were causing problems
234 for VC++.</li>
drhf57b3392001-10-08 13:22:32 +0000235<li>Fixed <b>sqlite.h</b> so that it is usable from C++</li>
drh382c0242001-10-06 16:33:02 +0000236<li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of
237 columns are reported back as TABLE.COLUMN instead of just COLUMN.</li>
drhad75e982001-10-09 04:19:46 +0000238<li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the
239 ODBC interface.</li>
drhf57b3392001-10-08 13:22:32 +0000240<li>Added support for TEMPORARY tables and indices.</li>
drh382c0242001-10-06 16:33:02 +0000241}
242
drh100569d2001-10-02 13:01:48 +0000243chng {2001 Oct 2 (2.0.1)} {
244<li>Remove some C++ style comments from btree.c so that it will compile
245 using compilers other than gcc.</li>
drh33048c02001-10-01 14:29:22 +0000246<li>The ".dump" output from the shell does not work if there are embedded
247 newlines anywhere in the data. This is an old bug that was carried
248 forward from version 1.0. To fix it, the ".dump" output no longer
249 uses the COPY command. It instead generates INSERT statements.</li>
250<li>Extend the expression syntax to support "expr NOT NULL" (with a
251 space between the "NOT" and the "NULL") in addition to "expr NOTNULL"
252 (with no space).</li>
253}
254
drh90ca9752001-09-28 17:47:14 +0000255chng {2001 Sep 28 (2.0.0)} {
256<li>Automatically build binaries for Linux and Windows and put them on
257 the website.</li>
258}
259
260chng {2001 Sep 28 (2.0-alpha-4)} {
261<li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li>
262}
263
drh60c309b2001-09-27 15:13:40 +0000264chng {2001 Sep 27 (2.0-alpha-3)} {
drh717e6402001-09-27 03:22:32 +0000265<li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary
drh60c309b2001-09-27 15:13:40 +0000266 keys are required to be unique.</li>
267<li>File format changed back to what it was for alpha-1</li>
drh90bfcda2001-09-23 19:46:51 +0000268<li>Fixes to the rollback and locking behavior</li>
269}
270
drh4aa85c42001-09-20 12:32:53 +0000271chng {2001 Sep 20 (2.0-alpha-2)} {
drhb19a2bc2001-09-16 00:13:26 +0000272<li>Initial release of version 2.0. The idea of renaming the library
273 to "SQLus" was abandoned in favor of keeping the "SQLite" name and
274 bumping the major version number.</li>
275<li>The pager and btree subsystems added back. They are now the only
276 available backend.</li>
277<li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li>
278<li>Copyright on all code was disclaimed. The library is now in the
279 public domain.</li>
280}
281
drh87c40e82001-07-23 14:33:02 +0000282chng {2001 Jul 23 (1.0.32)} {
283<li>Pager and btree subsystems removed. These will be used in a follow-on
284 SQL server library named "SQLus".</li>
285<li>Add the ability to use quoted strings as table and column names in
286 expressions.</li>
287}
288
drhd9b02572001-04-15 00:37:09 +0000289chng {2001 Apr 14 (1.0.31)} {
290<li>Pager subsystem added but not yet used.</li>
drhdaffd0e2001-04-11 14:28:42 +0000291<li>More robust handling of out-of-memory errors.</li>
drhd1bf3512001-04-07 15:24:33 +0000292<li>New tests added to the test suite.</li>
293}
294
drh818041a2001-04-06 16:15:27 +0000295chng {2001 Apr 6 (1.0.30)} {
296<li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
297 in the previous version.</li>
298<li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
299 <b>sqlite</b> TCL command.</li>
300<li>Add tests to make sure that tclsqlite was compiled using Tcl header
301 files and libraries that match.</li>
302}
303
drhe17a7e32001-04-04 21:10:18 +0000304chng {2001 Apr 5 (1.0.29)} {
drh6f63c252001-04-05 16:25:53 +0000305<li>The library now assumes data is stored as UTF-8 if the --enable-utf8
306 option is given to configure. The default behavior is to assume
307 iso8859-x, as it has always done. This only makes a difference for
308 LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
309<li>If the library is not configured for UTF-8 and the Tcl library
310 is one of the newer ones that uses UTF-8 internally,
311 then a conversion from UTF-8 to iso8859 and
drh297ecf12001-04-05 15:57:13 +0000312 back again is done inside the TCL interface.</li>
drhe17a7e32001-04-04 21:10:18 +0000313}
314
drhc4a3c772001-04-04 11:48:57 +0000315chng {2001 Apr 4 (1.0.28)} {
316<li>Added limited support for transactions. At this point, transactions
317 will do table locking on the GDBM backend. There is no support (yet)
318 for rollback or atomic commit.</li>
319<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
320 unique random integer key associated with every row of every table.</li>
321<li>Additional tests added to the regression suite to cover the new ROWID
322 feature and the TCL interface bugs mentioned below.</li>
drh960e8c62001-04-03 16:53:21 +0000323<li>Changes to the "lemon" parser generator to help it work better when
324 compiled using MSVC.</li>
325<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
326}
327
drh0353ced2001-03-20 22:05:00 +0000328chng {2001 Mar 20 (1.0.27)} {
329<li>When doing DELETE and UPDATE, the library used to write the record
330 numbers of records to be deleted or updated into a temporary file.
331 This is changed so that the record numbers are held in memory.</li>
332<li>The DELETE command without a WHILE clause just removes the database
333 files from the disk, rather than going through and deleting record
334 by record.</li>
335}
336
drh3494ffe2001-03-20 12:55:13 +0000337chng {2001 Mar 20 (1.0.26)} {
338<li>A serious bug fixed on Windows. Windows users should upgrade.
339 No impact to Unix.</li>
340}
341
drhdb25e382001-03-15 18:21:22 +0000342chng {2001 Mar 15 (1.0.25)} {
343<li>Modify the test scripts to identify tests that depend on system
344 load and processor speed and
345 to warn the user that a failure of one of those (rare) tests does
346 not necessarily mean the library is malfunctioning. No changes to
347 code.
348 </li>
349}
350
351chng {2001 Mar 14 (1.0.24)} {
352<li>Fix a bug which was causing
drhb8525d92001-03-14 12:54:11 +0000353 the UPDATE command to fail on systems where "malloc(0)" returns
drhb0729502001-03-14 12:35:57 +0000354 NULL. The problem does not appear Windows, Linux, or HPUX but does
355 cause the library to fail on QNX.
356 </li>
357}
358
drhe53dea12001-02-19 23:48:16 +0000359chng {2001 Feb 19 (1.0.23)} {
360<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
361 for figuring out where to put temporary files for a "memory:" database
362 was not working quite right.
363 </li>
364}
365
drh573bd272001-02-19 23:23:38 +0000366chng {2001 Feb 19 (1.0.22)} {
367<li>The previous fix was not quite right. This one seems to work better.
368 </li>
369}
370
drh4f3c63e2001-02-19 18:24:21 +0000371chng {2001 Feb 19 (1.0.21)} {
372<li>The UPDATE statement was not working when the WHERE clause contained
373 some terms that could be satisfied using indices and other terms that
374 could not. Fixed.</li>
375}
376
drh338ea132001-02-11 16:56:24 +0000377chng {2001 Feb 11 (1.0.20)} {
378<li>Merge development changes into the main trunk. Future work toward
379 using a BTree file structure will use a separate CVS source tree. This
380 CVS tree will continue to support the GDBM version of SQLite only.</li>
381}
382
383chng {2001 Feb 6 (1.0.19)} {
384<li>Fix a strange (but valid) C declaration that was causing problems
385 for QNX. No logical changes.</li>
386}
387
drha2e1bb52001-01-04 14:20:18 +0000388chng {2001 Jan 4 (1.0.18)} {
389<li>Print the offending SQL statement when an error occurs.</li>
390<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +0000391<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +0000392<li>Changes to comments.</li>
393}
394
drh8c82b352000-12-10 18:23:50 +0000395chng {2000 Dec 10 (1.0.17)} {
396<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
397<li>Minor tweaks to other code to make it run a little faster.</li>
398<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
399}
400
401chng {2000 Dec 4 (1.0.16)} {
402<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
403}
404
drh8c3052c2000-10-23 13:16:31 +0000405chng {2000 Oct 23 (1.0.15)} {
406<li>Documentation updates</li>
407<li>Some sanity checking code was removed from the inner loop of vdbe.c
408 to help the library to run a little faster. The code is only
409 removed if you compile with -DNDEBUG.</li>
410}
411
drh767c2002000-10-19 14:10:08 +0000412chng {2000 Oct 19 (1.0.14)} {
413<li>Added a "memory:" backend driver that stores its database in an
414 in-memory hash table.</li>
415}
416
drhbb0b6792000-10-19 01:49:02 +0000417chng {2000 Oct 18 (1.0.13)} {
418<li>Break out the GDBM driver into a separate file in anticipation
419 to added new drivers.</li>
420<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +0000421 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +0000422}
423
drh9b1eb482000-10-17 01:31:22 +0000424chng {2000 Oct 16 (1.0.12)} {
425<li>Fixed an off-by-one error that was causing a coredump in
426 the '%q' format directive of the new
427 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +0000428<li>Added the <b>sqlite_interrupt()</b> interface.</li>
429<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
430 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +0000431<li>Fixed some instances where <b>sqlite_exec()</b> was
432 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +0000433}
434
drh611ad212000-10-16 22:09:38 +0000435chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +0000436<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +0000437<li>Removed a few variables that were not being used. Etc.</li>
438}
439
drha18c5682000-10-08 22:20:57 +0000440chng {2000 Oct 8 (1.0.9)} {
441<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
442<li>Modified the <b>sqlite</b> shell program to use the new interface
443 routines.</li>
444<li>Modified the <b>sqlite</b> shell program to print the schema for
445 the built-in SQLITE_MASTER table, if explicitly requested.</li>
446}
447
drh9b0d0a82000-09-30 22:46:05 +0000448chng {2000 Sep 30 (1.0.8)} {
449<li>Begin writing documentation on the TCL interface.</li>
450}
451
drhe3710332000-09-29 13:30:53 +0000452chng {2000 Sep 29 (Not Released)} {
453<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000454<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000455<li>Modified the <b>sqlite</b> shell to make use of the new
456 sqlite_get_table() API in order to print a list of tables
457 in multiple columns, similar to the way "ls" prints filenames.</li>
458<li>Modified the <b>sqlite</b> shell to print a semicolon at the
459 end of each CREATE statement in the output of the ".schema" command.</li>
460}
461
drh6d313162000-09-21 13:01:35 +0000462chng {2000 Sep 21 (Not Released)} {
463<li>Change the tclsqlite "eval" method to return a list of results if
464 no callback script is specified.</li>
465<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
466<li>Add tclsqlite.c to the libsqlite.a library</li>
467}
468
drha5c2ad02000-09-14 01:21:10 +0000469chng {2000 Sep 13 (Version 1.0.5)} {
470<li>Changed the print format for floating point values from "%g" to "%.15g".
471 </li>
472<li>Changed the comparison function so that numbers in exponential notation
473 (ex: 1.234e+05) sort in numerical order.</li>
474}
475
drhff6e9112000-08-28 16:21:58 +0000476chng {2000 Aug 28 (Version 1.0.4)} {
477<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
478<li>Fix a bug in the <b>sqlite</b> shell program that was causing
479 a coredump when the output mode was "column" and the first row
480 of data contained a NULL.</li>
481}
482
drh63e27412000-08-22 18:29:33 +0000483chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000484<li>In the sqlite shell, print the "Database opened READ ONLY" message
485 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000486<li>In the sqlite shell, now print the version number on initial startup.</li>
487<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000488<li>Makefile updates</li>
489<li>Bug fix: incorrect VDBE code was being generated for the following
490 circumstance: a query on an indexed table containing a WHERE clause with
491 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000492}
493
drhbbd4a752000-08-18 09:33:39 +0000494chng {2000 Aug 18 (Version 1.0.1)} {
495<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000496<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000497}
498
drh303aaa72000-08-17 10:22:34 +0000499chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000500<li>Change the <b>sqlite</b> program so that it can read
501 databases for which it lacks write permission. (It used to
502 refuse all access if it could not write.)</li>
503}
504
drh30cab802000-08-09 17:17:25 +0000505chng {2000 Aug 9} {
506<li>Treat carriage returns as white space.</li>
507}
508
drha50da102000-08-08 20:19:09 +0000509chng {2000 Aug 8} {
510<li>Added pattern matching to the ".table" command in the "sqlite"
511command shell.</li>
512}
513
drh2758db22000-08-04 13:52:30 +0000514chng {2000 Aug 4} {
515<li>Documentation updates</li>
516<li>Added "busy" and "timeout" methods to the Tcl interface</li>
517}
518
drhb97bedb2000-08-03 15:09:19 +0000519chng {2000 Aug 3} {
520<li>File format version number was being stored in sqlite_master.tcl
521 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
522}
523
drh353f57e2000-08-02 12:26:28 +0000524chng {2000 Aug 2} {
525<li>The file format for indices was changed slightly in order to work
526 around an inefficiency that can sometimes come up with GDBM when
527 there are large indices having many entries with the same key.
528 <font color="red">** Incompatible Change **</font></li>
529}
530
drhed380d82000-08-01 09:56:27 +0000531chng {2000 Aug 1} {
532<li>The parser's stack was overflowing on a very long UPDATE statement.
533 This is now fixed.</li>
534}
535
drh1050f982000-07-31 11:59:02 +0000536chng {2000 July 31} {
537<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000538<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000539<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000540<li>Fix a configuration problem for HPUX.</li>
541}
542
drhe1b6a5b2000-07-29 13:06:59 +0000543chng {2000 July 29} {
544<li>Better labels on column names of the result.</li>
545}
546
drh2dfbbca2000-07-28 14:32:48 +0000547chng {2000 July 28} {
548<li>Added the <b>sqlite_busy_handler()</b>
549 and <b>sqlite_busy_timeout()</b> interface.</li>
550}
551
drh74c360e2000-06-23 19:16:23 +0000552chng {2000 June 23} {
553<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
554}
555
drh1fd14a72000-06-21 14:00:39 +0000556chng {2000 June 21} {
557<li>Clean up comments and variable names. Changes to documentation.
558 No functional changes to the code.</li>
559}
560
drh6206d502000-06-19 19:09:08 +0000561chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000562<li>Column names in UPDATE statements were case sensitive.
563 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000564}
565
drh00400772000-06-16 20:51:26 +0000566chng {2000 June 16} {
567<li>Added the concatenate string operator (||)</li>
568}
569
drh61fc2c62000-06-12 12:29:25 +0000570chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000571<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
572 returns the number of database "Fetch" operations that have occurred.
573 This function is designed for use in test scripts to verify that
574 queries are efficient and appropriately optimized. Fcnt() has no other
575 useful purpose, as far as I know.</li>
576<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000577 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000578}
579
drhdcc7c742000-06-09 03:51:26 +0000580chng {2000 June 8} {
581<li>Added lots of new test cases</li>
582<li>Fix a few bugs discovered while adding test cases</li>
583<li>Begin adding lots of new documentation</li>
584}
585
drh49c87802000-06-06 18:24:42 +0000586chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000587<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000588<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000589<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
590<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
591<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
drhdb25e382001-03-15 18:21:22 +0000592<li>NULL values are now reported to the callback as a NULL pointer
drh49c87802000-06-06 18:24:42 +0000593 rather than an empty string.</li>
594}
595
drh32aa77e2000-06-03 19:28:48 +0000596chng {2000 June 3} {
597<li>Added support for default values on columns of a table.</li>
598<li>Improved test coverage. Fixed a few obscure bugs found by the
599improved tests.</li>
600}
601
drhbed86902000-06-02 13:27:59 +0000602chng {2000 June 2} {
603<li>All database files to be modified by an UPDATE, INSERT or DELETE are
604now locked before any changes are made to any files.
605This makes it safe (I think) to access
606the same database simultaneously from multiple processes.</li>
607<li>The code appears stable so we are now calling it "beta".</li>
608}
609
610chng {2000 June 1} {
611<li>Better support for file locking so that two or more processes
612(or threads)
613can access the same database simultaneously. More work needed in
614this area, though.</li>
615}
616
drh7203e282000-05-31 15:35:42 +0000617chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000618<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000619to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000620<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000621}
622
drhdce2cbe2000-05-31 02:27:49 +0000623chng {2000 May 30} {
624<li>Added the <b>LIKE</b> operator.</li>
625<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
626but it uses Unix shell globbing wildcards instead of the '%'
627and '_' wildcards of SQL.</li>
628<li>Added the <B>COPY</b> command patterned after
629<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
630can now read the output of the <b>pg_dump</b> database dump utility
631of PostgreSQL.</li>
632<li>Added a <B>VACUUM</B> command that that calls the
633<b>gdbm_reorganize()</b> function on the underlying database
634files.</li>
635<li>And many, many bug fixes...</li>
636}
637
638chng {2000 May 29} {
639<li>Initial Public Release of Alpha code</li>
640}
641
642puts {
643</DL>
644<p><hr /></p>
645<p><a href="index.html"><img src="/goback.jpg" border=0 />
646Back to the SQLite Home Page</a>
647</p>
648
649</body></html>}