blob: 20a47e35027eb0495129e10fb38638b636ac8748 [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>
drhe64e7b22002-02-18 13:56:36 +000026<li>The VALUES clause of an INSERT can now contain expressions, including
27 scalar SELECT clauses.</li>
drh969fa7c2002-02-18 18:30:32 +000028<li>Added support for CREATE TABLE AS SELECT</li>
drh0a36c572002-02-18 22:49:59 +000029<li>Bug fix: Creating and dropping a table all within a single
30 transaction was not working.</li>
drh2f4392f2002-02-14 21:42:51 +000031}
32
drh1e336b42002-02-14 12:50:33 +000033chng {2002 Feb 14 (2.3.2)} {
34<li>Bug fix: There was an incorrect assert() in pager.c. The real code was
35 all correct (as far as is known) so everything should work OK if you
36 compile with -DNDEBUG=1. But without disability the assertions, there
37 could be a fault.</li>
38}
39
drh97665872002-02-13 23:22:53 +000040chng {2002 Feb 13 (2.3.1)} {
41<li>Bug fix: An assertion was failing if "PRAGMA full_column_names=ON;" was
42 set and you did a query that used a rowid, like this:
43 "SELECT rowid, * FROM ...".</li>
44}
45
drh24e97df2002-02-03 19:06:02 +000046chng {2002 Jan 30 (2.3.0)} {
47<li>Fix a serious bug in the INSERT command which was causing data to go
48 into the wrong columns if the data source was a SELECT and the INSERT
49 clauses specified its columns in some order other than the default.</li>
drhb419a922002-01-30 16:17:23 +000050<li>Added the ability to resolve constraint conflicts is ways other than
51 an abort and rollback. See the documentation on the "ON CONFLICT"
52 clause for details.</li>
drhfa86c412002-02-02 15:01:15 +000053<li>Temporary files are now automatically deleted by the operating system
54 when closed. There are no more dangling temporary files on a program
55 crash. (If the OS crashes, fsck will delete the file after reboot
56 under Unix. I do not know what happens under Windows.)</li>
drhb419a922002-01-30 16:17:23 +000057<li>NOT NULL constraints are honored.</li>
58<li>The COPY command puts NULLs in columns whose data is '\N'.</li>
59<li>In the COPY command, backslash can now be used to escape a newline.</li>
drh24e97df2002-02-03 19:06:02 +000060<li>Added the SANITY_CHECK pragma.</li>
drhb419a922002-01-30 16:17:23 +000061}
62
drh6b125452002-01-28 15:53:03 +000063chng {2002 Jan 28 (2.2.5)} {
64<li>Important bug fix: the IN operator was not working if either the
65 left-hand or right-hand side was derived from an INTEGER PRIMARY KEY.</li>
66<li>Do not escape the backslash '\' character in the output of the
67 <b>sqlite</b> command-line access program.</li>
68}
69
drh92086432002-01-22 14:11:29 +000070chng {2002 Jan 22 (2.2.4)} {
drha2e00042002-01-22 03:13:42 +000071<li>The label to the right of an AS in the column list of a SELECT can now
72 be used as part of an expression in the WHERE, ORDER BY, GROUP BY, and/or
73 HAVING clauses.</li>
drh7613bfa2002-01-22 12:39:24 +000074<li>Fix a bug in the <b>-separator</b> command-line option to the <b>sqlite</b>
75 command.</li>
drh92086432002-01-22 14:11:29 +000076<li>Fix a problem with the sort order when comparing upper-case strings against
77 characters greater than 'Z' but less than 'a'.</li>
78<li>Report an error if an ORDER BY or GROUP BY expression is constant.</li>
drha2e00042002-01-22 03:13:42 +000079}
80
drhaf9ff332002-01-16 21:00:27 +000081chng {2002 Jan 16 (2.2.3)} {
drha297b5c2002-01-15 18:39:43 +000082<li>Fix warning messages in VC++ 7.0. (Patches from nicolas352001)</li>
83<li>Make the library thread-safe. (The code is there and appears to work
84 but has not been stressed.)</li>
drhaf9ff332002-01-16 21:00:27 +000085<li>Added the new <b>sqlite_last_insert_rowid()</b> API function.</li>
drha297b5c2002-01-15 18:39:43 +000086}
87
drh9647ff82002-01-14 02:56:24 +000088chng {2002 Jan 13 (2.2.2)} {
drhda9e0342002-01-10 14:31:48 +000089<li>Bug fix: An assertion was failing when a temporary table with an index
90 had the same name as a permanent table created by a separate process.</li>
drh9647ff82002-01-14 02:56:24 +000091<li>Bug fix: Updates to tables containing an INTEGER PRIMARY KEY and an
92 index could fail.</li>
drhda9e0342002-01-10 14:31:48 +000093}
94
drhaf989ba2002-01-09 13:35:11 +000095chng {2002 Jan 9 (2.2.1)} {
drhc6b52df2002-01-04 03:09:29 +000096<li>Bug fix: An attempt to delete a single row of a table with a WHERE
97 clause of "ROWID=x" when no such rowid exists was causing an error.</li>
drhe638bbf2002-01-07 19:04:21 +000098<li>Bug fix: Passing in a NULL as the 3rd parameter to <b>sqlite_open()</b>
99 would sometimes cause a coredump.</li>
drh74e24cd2002-01-09 03:19:59 +0000100<li>Bug fix: DROP TABLE followed by a CREATE TABLE with the same name all
101 within a single transaction was causing a coredump.</li>
102<li>Makefile updates from A. Rottmann</li>
drhc6b52df2002-01-04 03:09:29 +0000103}
104
drhe7ec2202001-12-22 19:27:39 +0000105chng {2001 Dec 22 (2.2.0)} {
106<li>Columns of type INTEGER PRIMARY KEY are actually used as the primary
107 key in underlying B-Tree representation of the table.</li>
108<li>Several obscure, unrelated bugs were found and fixed while
109 implemented the integer primary key change of the previous bullet.</li>
drh7c917d12001-12-16 20:05:05 +0000110<li>Added the ability to specify "*" as part of a larger column list in
111 the result section of a SELECT statement. For example:
112 <nobr>"<b>SELECT rowid, * FROM table1;</b>"</nobr>.</li>
113<li>Updates to comments and documentation.</li>
114}
115
drh4cbd68f2001-12-15 02:58:18 +0000116chng {2001 Dec 14 (2.1.7)} {
117<li>Fix a bug in <b>CREATE TEMPORARY TABLE</b> which was causing the
118 table to be initially allocated in the main database file instead
119 of in the separate temporary file. This bug could cause the library
drhc38f3d52001-12-15 03:00:42 +0000120 to suffer an assertion failure and it could cause "page leaks" in the
drh4cbd68f2001-12-15 02:58:18 +0000121 main database file.
122<li>Fix a bug in the b-tree subsystem that could sometimes cause the first
123 row of a table to be repeated during a database scan.</li>
124}
125
drha7fcb052001-12-14 15:09:55 +0000126chng {2001 Dec 14 (2.1.6)} {
127<li>Fix the locking mechanism yet again to prevent
128 <b>sqlite_exec()</b> from returning SQLITE_PROTOCOL
129 unnecessarily. This time the bug was a race condition in
130 the locking code. This change effects both POSIX and Windows users.</li>
131}
132
drh2cf65aa2001-12-06 13:24:14 +0000133chng {2001 Dec 6 (2.1.5)} {
134<li>Fix for another problem (unrelated to the one fixed in 2.1.4)
135 that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL
136 unnecessarily. This time the bug was
137 in the POSIX locking code and should not effect windows users.</li>
138}
139
drhb8ca3072001-12-05 00:21:20 +0000140chng {2001 Dec 4 (2.1.4)} {
drh208611f2001-12-05 00:46:02 +0000141<li>Sometimes <b>sqlite_exec()</b> would return SQLITE_PROTOCOL when it
drhb8ca3072001-12-05 00:21:20 +0000142 should have returned SQLITE_BUSY.</li>
143<li>The fix to the previous bug uncovered a deadlock which was also
144 fixed.</li>
drh6ff13852001-11-25 13:18:23 +0000145<li>Add the ability to put a single .command in the second argument
146 of the sqlite shell</li>
drhb8ca3072001-12-05 00:21:20 +0000147<li>Updates to the FAQ</li>
drh6ff13852001-11-25 13:18:23 +0000148}
149
drh7a7c7392001-11-24 00:31:46 +0000150chng {2001 Nov 23 (2.1.3)} {
151<li>Fix the behavior of comparison operators
152 (ex: "<b>&lt</b>", "<b>==</b>", etc.)
153 so that they are consistent with the order of entries in an index.</li>
154<li>Correct handling of integers in SQL expressions that are larger than
155 what can be represented by the machine integer.</li>
156}
157
drhf5bf0a72001-11-23 00:24:12 +0000158chng {2001 Nov 22 (2.1.2)} {
drh5a2c2c22001-11-21 02:21:11 +0000159<li>Changes to support 64-bit architectures.</li>
drhc3a64ba2001-11-22 00:01:27 +0000160<li>Fix a bug in the locking protocol.</li>
drhf5bf0a72001-11-23 00:24:12 +0000161<li>Fix a bug that could (rarely) cause the database to become
162 unreadable after a DROP TABLE due to corruption to the SQLITE_MASTER
163 table.</li>
164<li>Change the code so that version 2.1.1 databases that were rendered
165 unreadable by the above bug can be read by this version of
166 the library even though the SQLITE_MASTER table is (slightly)
167 corrupted.</li>
drh5a2c2c22001-11-21 02:21:11 +0000168}
169
drhf6e515b2001-11-13 19:36:55 +0000170chng {2001 Nov 13 (2.1.1)} {
171<li>Bug fix: Sometimes arbirary strings were passed to the callback
172 function when the actual value of a column was NULL.</li>
173}
174
drh7900ead2001-11-12 13:51:43 +0000175chng {2001 Nov 12 (2.1.0)} {
drh80ff32f2001-11-04 18:32:46 +0000176<li>Change the format of data records so that records up to 16MB in size
177 can be stored.</li>
drh17e24df2001-11-06 14:10:41 +0000178<li>Change the format of indices to allow for better query optimization.</li>
179<li>Implement the "LIMIT ... OFFSET ..." clause on SELECT statements.</li>
drh80ff32f2001-11-04 18:32:46 +0000180}
181
drh0f246782001-11-03 23:59:16 +0000182chng {2001 Nov 3 (2.0.8)} {
183<li>Made selected parameters in API functions <b>const</b>. This should
184 be fully backwards compatible.</li>
drh33f51c92001-10-31 15:44:46 +0000185<li>Documentation updates</li>
drha8b38d22001-11-01 14:41:34 +0000186<li>Simplify the design of the VDBE by restricting the number of sorters
187 and lists to 1.
drhf5bf0a72001-11-23 00:24:12 +0000188 In practice, no more than one sorter and one list was ever used anyhow.
drha8b38d22001-11-01 14:41:34 +0000189 </li>
drh33f51c92001-10-31 15:44:46 +0000190}
191
drh6d4abfb2001-10-22 02:58:08 +0000192chng {2001 Oct 21 (2.0.7)} {
193<li>Any UTF-8 character or ISO8859 character can be used as part of
194 an identifier.</li>
195<li>Patches from Christian Werner to improve ODBC compatibility and to
196 fix a bug in the round() function.</li>
197<li>Plug some memory leaks that use to occur if malloc() failed.
198 We have been and continue to be memory leak free as long as
199 malloc() works.</li>
200<li>Changes to some test scripts so that they work on Windows in
201 addition to Unix.</li>
drh01a34662001-10-20 12:30:10 +0000202}
203
drh6a535342001-10-19 16:44:56 +0000204chng {2001 Oct 19 (2.0.6)} {
205<li>Added the EMPTY_RESULT_CALLBACKS pragma</li>
drh98808ba2001-10-18 12:34:46 +0000206<li>Support for UTF-8 and ISO8859 characters in column and table names.</li>
207<li>Bug fix: Compute correct table names with the FULL_COLUMN_NAMES pragma
208 is turned on.</li>
209}
210
drh1bee3d72001-10-15 00:44:35 +0000211chng {2001 Oct 14 (2.0.5)} {
212<li>Added the COUNT_CHANGES pragma.</li>
213<li>Changes to the FULL_COLUMN_NAMES pragma to help out the ODBC driver.</li>
214<li>Bug fix: "SELECT count(*)" was returning NULL for empty tables.
215 Now it returns 0.</li>
216}
217
drhe21a5732001-10-13 21:56:34 +0000218chng {2001 Oct 13 (2.0.4)} {
219<li>Bug fix: an abscure and relatively harmless bug was causing one of
220 the tests to fail when gcc optimizations are turned on. This release
221 fixes the problem.</li>
222}
223
drhbf4133c2001-10-13 02:59:08 +0000224chng {2001 Oct 13 (2.0.3)} {
drh81a20f22001-10-12 17:30:04 +0000225<li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000
226 times too long before failing.</li>
227<li>Bug fix: an assertion was failing if the disk holding the database
228 file became full or stopped accepting writes for some other reason.
229 New tests were added to detect similar problems in the future.</li>
drhbf4133c2001-10-13 02:59:08 +0000230<li>Added new operators: <b>&amp;</b> (bitwise-and)
231 <b>|</b> (bitwise-or), <b>~</b> (ones-complement),
232 <b>&lt;&lt;</b> (shift left), <b>&gt;&gt;</b> (shift right).</li>
233<li>Added new functions: <b>round()</b> and <b>abs()</b>.</li>
drh81a20f22001-10-12 17:30:04 +0000234}
235
drh286f11a2001-10-09 04:21:50 +0000236chng {2001 Oct 9 (2.0.2)} {
drhff0839c2001-10-09 12:39:24 +0000237<li>Fix two bugs in the locking protocol. (One was masking the other.)</li>
drh382c0242001-10-06 16:33:02 +0000238<li>Removed some unused "#include <unistd.h>" that were causing problems
239 for VC++.</li>
drhf57b3392001-10-08 13:22:32 +0000240<li>Fixed <b>sqlite.h</b> so that it is usable from C++</li>
drh382c0242001-10-06 16:33:02 +0000241<li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of
242 columns are reported back as TABLE.COLUMN instead of just COLUMN.</li>
drhad75e982001-10-09 04:19:46 +0000243<li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the
244 ODBC interface.</li>
drhf57b3392001-10-08 13:22:32 +0000245<li>Added support for TEMPORARY tables and indices.</li>
drh382c0242001-10-06 16:33:02 +0000246}
247
drh100569d2001-10-02 13:01:48 +0000248chng {2001 Oct 2 (2.0.1)} {
249<li>Remove some C++ style comments from btree.c so that it will compile
250 using compilers other than gcc.</li>
drh33048c02001-10-01 14:29:22 +0000251<li>The ".dump" output from the shell does not work if there are embedded
252 newlines anywhere in the data. This is an old bug that was carried
253 forward from version 1.0. To fix it, the ".dump" output no longer
254 uses the COPY command. It instead generates INSERT statements.</li>
255<li>Extend the expression syntax to support "expr NOT NULL" (with a
256 space between the "NOT" and the "NULL") in addition to "expr NOTNULL"
257 (with no space).</li>
258}
259
drh90ca9752001-09-28 17:47:14 +0000260chng {2001 Sep 28 (2.0.0)} {
261<li>Automatically build binaries for Linux and Windows and put them on
262 the website.</li>
263}
264
265chng {2001 Sep 28 (2.0-alpha-4)} {
266<li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li>
267}
268
drh60c309b2001-09-27 15:13:40 +0000269chng {2001 Sep 27 (2.0-alpha-3)} {
drh717e6402001-09-27 03:22:32 +0000270<li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary
drh60c309b2001-09-27 15:13:40 +0000271 keys are required to be unique.</li>
272<li>File format changed back to what it was for alpha-1</li>
drh90bfcda2001-09-23 19:46:51 +0000273<li>Fixes to the rollback and locking behavior</li>
274}
275
drh4aa85c42001-09-20 12:32:53 +0000276chng {2001 Sep 20 (2.0-alpha-2)} {
drhb19a2bc2001-09-16 00:13:26 +0000277<li>Initial release of version 2.0. The idea of renaming the library
278 to "SQLus" was abandoned in favor of keeping the "SQLite" name and
279 bumping the major version number.</li>
280<li>The pager and btree subsystems added back. They are now the only
281 available backend.</li>
282<li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li>
283<li>Copyright on all code was disclaimed. The library is now in the
284 public domain.</li>
285}
286
drh87c40e82001-07-23 14:33:02 +0000287chng {2001 Jul 23 (1.0.32)} {
288<li>Pager and btree subsystems removed. These will be used in a follow-on
289 SQL server library named "SQLus".</li>
290<li>Add the ability to use quoted strings as table and column names in
291 expressions.</li>
292}
293
drhd9b02572001-04-15 00:37:09 +0000294chng {2001 Apr 14 (1.0.31)} {
295<li>Pager subsystem added but not yet used.</li>
drhdaffd0e2001-04-11 14:28:42 +0000296<li>More robust handling of out-of-memory errors.</li>
drhd1bf3512001-04-07 15:24:33 +0000297<li>New tests added to the test suite.</li>
298}
299
drh818041a2001-04-06 16:15:27 +0000300chng {2001 Apr 6 (1.0.30)} {
301<li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
302 in the previous version.</li>
303<li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
304 <b>sqlite</b> TCL command.</li>
305<li>Add tests to make sure that tclsqlite was compiled using Tcl header
306 files and libraries that match.</li>
307}
308
drhe17a7e32001-04-04 21:10:18 +0000309chng {2001 Apr 5 (1.0.29)} {
drh6f63c252001-04-05 16:25:53 +0000310<li>The library now assumes data is stored as UTF-8 if the --enable-utf8
311 option is given to configure. The default behavior is to assume
312 iso8859-x, as it has always done. This only makes a difference for
313 LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
314<li>If the library is not configured for UTF-8 and the Tcl library
315 is one of the newer ones that uses UTF-8 internally,
316 then a conversion from UTF-8 to iso8859 and
drh297ecf12001-04-05 15:57:13 +0000317 back again is done inside the TCL interface.</li>
drhe17a7e32001-04-04 21:10:18 +0000318}
319
drhc4a3c772001-04-04 11:48:57 +0000320chng {2001 Apr 4 (1.0.28)} {
321<li>Added limited support for transactions. At this point, transactions
322 will do table locking on the GDBM backend. There is no support (yet)
323 for rollback or atomic commit.</li>
324<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
325 unique random integer key associated with every row of every table.</li>
326<li>Additional tests added to the regression suite to cover the new ROWID
327 feature and the TCL interface bugs mentioned below.</li>
drh960e8c62001-04-03 16:53:21 +0000328<li>Changes to the "lemon" parser generator to help it work better when
329 compiled using MSVC.</li>
330<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
331}
332
drh0353ced2001-03-20 22:05:00 +0000333chng {2001 Mar 20 (1.0.27)} {
334<li>When doing DELETE and UPDATE, the library used to write the record
335 numbers of records to be deleted or updated into a temporary file.
336 This is changed so that the record numbers are held in memory.</li>
337<li>The DELETE command without a WHILE clause just removes the database
338 files from the disk, rather than going through and deleting record
339 by record.</li>
340}
341
drh3494ffe2001-03-20 12:55:13 +0000342chng {2001 Mar 20 (1.0.26)} {
343<li>A serious bug fixed on Windows. Windows users should upgrade.
344 No impact to Unix.</li>
345}
346
drhdb25e382001-03-15 18:21:22 +0000347chng {2001 Mar 15 (1.0.25)} {
348<li>Modify the test scripts to identify tests that depend on system
349 load and processor speed and
350 to warn the user that a failure of one of those (rare) tests does
351 not necessarily mean the library is malfunctioning. No changes to
352 code.
353 </li>
354}
355
356chng {2001 Mar 14 (1.0.24)} {
357<li>Fix a bug which was causing
drhb8525d92001-03-14 12:54:11 +0000358 the UPDATE command to fail on systems where "malloc(0)" returns
drhb0729502001-03-14 12:35:57 +0000359 NULL. The problem does not appear Windows, Linux, or HPUX but does
360 cause the library to fail on QNX.
361 </li>
362}
363
drhe53dea12001-02-19 23:48:16 +0000364chng {2001 Feb 19 (1.0.23)} {
365<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
366 for figuring out where to put temporary files for a "memory:" database
367 was not working quite right.
368 </li>
369}
370
drh573bd272001-02-19 23:23:38 +0000371chng {2001 Feb 19 (1.0.22)} {
372<li>The previous fix was not quite right. This one seems to work better.
373 </li>
374}
375
drh4f3c63e2001-02-19 18:24:21 +0000376chng {2001 Feb 19 (1.0.21)} {
377<li>The UPDATE statement was not working when the WHERE clause contained
378 some terms that could be satisfied using indices and other terms that
379 could not. Fixed.</li>
380}
381
drh338ea132001-02-11 16:56:24 +0000382chng {2001 Feb 11 (1.0.20)} {
383<li>Merge development changes into the main trunk. Future work toward
384 using a BTree file structure will use a separate CVS source tree. This
385 CVS tree will continue to support the GDBM version of SQLite only.</li>
386}
387
388chng {2001 Feb 6 (1.0.19)} {
389<li>Fix a strange (but valid) C declaration that was causing problems
390 for QNX. No logical changes.</li>
391}
392
drha2e1bb52001-01-04 14:20:18 +0000393chng {2001 Jan 4 (1.0.18)} {
394<li>Print the offending SQL statement when an error occurs.</li>
395<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +0000396<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +0000397<li>Changes to comments.</li>
398}
399
drh8c82b352000-12-10 18:23:50 +0000400chng {2000 Dec 10 (1.0.17)} {
401<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
402<li>Minor tweaks to other code to make it run a little faster.</li>
403<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
404}
405
406chng {2000 Dec 4 (1.0.16)} {
407<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
408}
409
drh8c3052c2000-10-23 13:16:31 +0000410chng {2000 Oct 23 (1.0.15)} {
411<li>Documentation updates</li>
412<li>Some sanity checking code was removed from the inner loop of vdbe.c
413 to help the library to run a little faster. The code is only
414 removed if you compile with -DNDEBUG.</li>
415}
416
drh767c2002000-10-19 14:10:08 +0000417chng {2000 Oct 19 (1.0.14)} {
418<li>Added a "memory:" backend driver that stores its database in an
419 in-memory hash table.</li>
420}
421
drhbb0b6792000-10-19 01:49:02 +0000422chng {2000 Oct 18 (1.0.13)} {
423<li>Break out the GDBM driver into a separate file in anticipation
424 to added new drivers.</li>
425<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +0000426 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +0000427}
428
drh9b1eb482000-10-17 01:31:22 +0000429chng {2000 Oct 16 (1.0.12)} {
430<li>Fixed an off-by-one error that was causing a coredump in
431 the '%q' format directive of the new
432 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +0000433<li>Added the <b>sqlite_interrupt()</b> interface.</li>
434<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
435 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +0000436<li>Fixed some instances where <b>sqlite_exec()</b> was
437 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +0000438}
439
drh611ad212000-10-16 22:09:38 +0000440chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +0000441<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +0000442<li>Removed a few variables that were not being used. Etc.</li>
443}
444
drha18c5682000-10-08 22:20:57 +0000445chng {2000 Oct 8 (1.0.9)} {
446<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
447<li>Modified the <b>sqlite</b> shell program to use the new interface
448 routines.</li>
449<li>Modified the <b>sqlite</b> shell program to print the schema for
450 the built-in SQLITE_MASTER table, if explicitly requested.</li>
451}
452
drh9b0d0a82000-09-30 22:46:05 +0000453chng {2000 Sep 30 (1.0.8)} {
454<li>Begin writing documentation on the TCL interface.</li>
455}
456
drhe3710332000-09-29 13:30:53 +0000457chng {2000 Sep 29 (Not Released)} {
458<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000459<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000460<li>Modified the <b>sqlite</b> shell to make use of the new
461 sqlite_get_table() API in order to print a list of tables
462 in multiple columns, similar to the way "ls" prints filenames.</li>
463<li>Modified the <b>sqlite</b> shell to print a semicolon at the
464 end of each CREATE statement in the output of the ".schema" command.</li>
465}
466
drh6d313162000-09-21 13:01:35 +0000467chng {2000 Sep 21 (Not Released)} {
468<li>Change the tclsqlite "eval" method to return a list of results if
469 no callback script is specified.</li>
470<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
471<li>Add tclsqlite.c to the libsqlite.a library</li>
472}
473
drha5c2ad02000-09-14 01:21:10 +0000474chng {2000 Sep 13 (Version 1.0.5)} {
475<li>Changed the print format for floating point values from "%g" to "%.15g".
476 </li>
477<li>Changed the comparison function so that numbers in exponential notation
478 (ex: 1.234e+05) sort in numerical order.</li>
479}
480
drhff6e9112000-08-28 16:21:58 +0000481chng {2000 Aug 28 (Version 1.0.4)} {
482<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
483<li>Fix a bug in the <b>sqlite</b> shell program that was causing
484 a coredump when the output mode was "column" and the first row
485 of data contained a NULL.</li>
486}
487
drh63e27412000-08-22 18:29:33 +0000488chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000489<li>In the sqlite shell, print the "Database opened READ ONLY" message
490 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000491<li>In the sqlite shell, now print the version number on initial startup.</li>
492<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000493<li>Makefile updates</li>
494<li>Bug fix: incorrect VDBE code was being generated for the following
495 circumstance: a query on an indexed table containing a WHERE clause with
496 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000497}
498
drhbbd4a752000-08-18 09:33:39 +0000499chng {2000 Aug 18 (Version 1.0.1)} {
500<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000501<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000502}
503
drh303aaa72000-08-17 10:22:34 +0000504chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000505<li>Change the <b>sqlite</b> program so that it can read
506 databases for which it lacks write permission. (It used to
507 refuse all access if it could not write.)</li>
508}
509
drh30cab802000-08-09 17:17:25 +0000510chng {2000 Aug 9} {
511<li>Treat carriage returns as white space.</li>
512}
513
drha50da102000-08-08 20:19:09 +0000514chng {2000 Aug 8} {
515<li>Added pattern matching to the ".table" command in the "sqlite"
516command shell.</li>
517}
518
drh2758db22000-08-04 13:52:30 +0000519chng {2000 Aug 4} {
520<li>Documentation updates</li>
521<li>Added "busy" and "timeout" methods to the Tcl interface</li>
522}
523
drhb97bedb2000-08-03 15:09:19 +0000524chng {2000 Aug 3} {
525<li>File format version number was being stored in sqlite_master.tcl
526 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
527}
528
drh353f57e2000-08-02 12:26:28 +0000529chng {2000 Aug 2} {
530<li>The file format for indices was changed slightly in order to work
531 around an inefficiency that can sometimes come up with GDBM when
532 there are large indices having many entries with the same key.
533 <font color="red">** Incompatible Change **</font></li>
534}
535
drhed380d82000-08-01 09:56:27 +0000536chng {2000 Aug 1} {
537<li>The parser's stack was overflowing on a very long UPDATE statement.
538 This is now fixed.</li>
539}
540
drh1050f982000-07-31 11:59:02 +0000541chng {2000 July 31} {
542<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000543<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000544<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000545<li>Fix a configuration problem for HPUX.</li>
546}
547
drhe1b6a5b2000-07-29 13:06:59 +0000548chng {2000 July 29} {
549<li>Better labels on column names of the result.</li>
550}
551
drh2dfbbca2000-07-28 14:32:48 +0000552chng {2000 July 28} {
553<li>Added the <b>sqlite_busy_handler()</b>
554 and <b>sqlite_busy_timeout()</b> interface.</li>
555}
556
drh74c360e2000-06-23 19:16:23 +0000557chng {2000 June 23} {
558<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
559}
560
drh1fd14a72000-06-21 14:00:39 +0000561chng {2000 June 21} {
562<li>Clean up comments and variable names. Changes to documentation.
563 No functional changes to the code.</li>
564}
565
drh6206d502000-06-19 19:09:08 +0000566chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000567<li>Column names in UPDATE statements were case sensitive.
568 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000569}
570
drh00400772000-06-16 20:51:26 +0000571chng {2000 June 16} {
572<li>Added the concatenate string operator (||)</li>
573}
574
drh61fc2c62000-06-12 12:29:25 +0000575chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000576<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
577 returns the number of database "Fetch" operations that have occurred.
578 This function is designed for use in test scripts to verify that
579 queries are efficient and appropriately optimized. Fcnt() has no other
580 useful purpose, as far as I know.</li>
581<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000582 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000583}
584
drhdcc7c742000-06-09 03:51:26 +0000585chng {2000 June 8} {
586<li>Added lots of new test cases</li>
587<li>Fix a few bugs discovered while adding test cases</li>
588<li>Begin adding lots of new documentation</li>
589}
590
drh49c87802000-06-06 18:24:42 +0000591chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000592<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000593<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000594<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
595<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
596<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
drhdb25e382001-03-15 18:21:22 +0000597<li>NULL values are now reported to the callback as a NULL pointer
drh49c87802000-06-06 18:24:42 +0000598 rather than an empty string.</li>
599}
600
drh32aa77e2000-06-03 19:28:48 +0000601chng {2000 June 3} {
602<li>Added support for default values on columns of a table.</li>
603<li>Improved test coverage. Fixed a few obscure bugs found by the
604improved tests.</li>
605}
606
drhbed86902000-06-02 13:27:59 +0000607chng {2000 June 2} {
608<li>All database files to be modified by an UPDATE, INSERT or DELETE are
609now locked before any changes are made to any files.
610This makes it safe (I think) to access
611the same database simultaneously from multiple processes.</li>
612<li>The code appears stable so we are now calling it "beta".</li>
613}
614
615chng {2000 June 1} {
616<li>Better support for file locking so that two or more processes
617(or threads)
618can access the same database simultaneously. More work needed in
619this area, though.</li>
620}
621
drh7203e282000-05-31 15:35:42 +0000622chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000623<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000624to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000625<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000626}
627
drhdce2cbe2000-05-31 02:27:49 +0000628chng {2000 May 30} {
629<li>Added the <b>LIKE</b> operator.</li>
630<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
631but it uses Unix shell globbing wildcards instead of the '%'
632and '_' wildcards of SQL.</li>
633<li>Added the <B>COPY</b> command patterned after
634<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
635can now read the output of the <b>pg_dump</b> database dump utility
636of PostgreSQL.</li>
637<li>Added a <B>VACUUM</B> command that that calls the
638<b>gdbm_reorganize()</b> function on the underlying database
639files.</li>
640<li>And many, many bug fixes...</li>
641}
642
643chng {2000 May 29} {
644<li>Initial Public Release of Alpha code</li>
645}
646
647puts {
648</DL>
649<p><hr /></p>
650<p><a href="index.html"><img src="/goback.jpg" border=0 />
651Back to the SQLite Home Page</a>
652</p>
653
654</body></html>}