blob: 79f18b23d82da3dd8e465139c4f71d57f227c1f2 [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>
drh2f4392f2002-02-14 21:42:51 +000028}
29
drh1e336b42002-02-14 12:50:33 +000030chng {2002 Feb 14 (2.3.2)} {
31<li>Bug fix: There was an incorrect assert() in pager.c. The real code was
32 all correct (as far as is known) so everything should work OK if you
33 compile with -DNDEBUG=1. But without disability the assertions, there
34 could be a fault.</li>
35}
36
drh97665872002-02-13 23:22:53 +000037chng {2002 Feb 13 (2.3.1)} {
38<li>Bug fix: An assertion was failing if "PRAGMA full_column_names=ON;" was
39 set and you did a query that used a rowid, like this:
40 "SELECT rowid, * FROM ...".</li>
41}
42
drh24e97df2002-02-03 19:06:02 +000043chng {2002 Jan 30 (2.3.0)} {
44<li>Fix a serious bug in the INSERT command which was causing data to go
45 into the wrong columns if the data source was a SELECT and the INSERT
46 clauses specified its columns in some order other than the default.</li>
drhb419a922002-01-30 16:17:23 +000047<li>Added the ability to resolve constraint conflicts is ways other than
48 an abort and rollback. See the documentation on the "ON CONFLICT"
49 clause for details.</li>
drhfa86c412002-02-02 15:01:15 +000050<li>Temporary files are now automatically deleted by the operating system
51 when closed. There are no more dangling temporary files on a program
52 crash. (If the OS crashes, fsck will delete the file after reboot
53 under Unix. I do not know what happens under Windows.)</li>
drhb419a922002-01-30 16:17:23 +000054<li>NOT NULL constraints are honored.</li>
55<li>The COPY command puts NULLs in columns whose data is '\N'.</li>
56<li>In the COPY command, backslash can now be used to escape a newline.</li>
drh24e97df2002-02-03 19:06:02 +000057<li>Added the SANITY_CHECK pragma.</li>
drhb419a922002-01-30 16:17:23 +000058}
59
drh6b125452002-01-28 15:53:03 +000060chng {2002 Jan 28 (2.2.5)} {
61<li>Important bug fix: the IN operator was not working if either the
62 left-hand or right-hand side was derived from an INTEGER PRIMARY KEY.</li>
63<li>Do not escape the backslash '\' character in the output of the
64 <b>sqlite</b> command-line access program.</li>
65}
66
drh92086432002-01-22 14:11:29 +000067chng {2002 Jan 22 (2.2.4)} {
drha2e00042002-01-22 03:13:42 +000068<li>The label to the right of an AS in the column list of a SELECT can now
69 be used as part of an expression in the WHERE, ORDER BY, GROUP BY, and/or
70 HAVING clauses.</li>
drh7613bfa2002-01-22 12:39:24 +000071<li>Fix a bug in the <b>-separator</b> command-line option to the <b>sqlite</b>
72 command.</li>
drh92086432002-01-22 14:11:29 +000073<li>Fix a problem with the sort order when comparing upper-case strings against
74 characters greater than 'Z' but less than 'a'.</li>
75<li>Report an error if an ORDER BY or GROUP BY expression is constant.</li>
drha2e00042002-01-22 03:13:42 +000076}
77
drhaf9ff332002-01-16 21:00:27 +000078chng {2002 Jan 16 (2.2.3)} {
drha297b5c2002-01-15 18:39:43 +000079<li>Fix warning messages in VC++ 7.0. (Patches from nicolas352001)</li>
80<li>Make the library thread-safe. (The code is there and appears to work
81 but has not been stressed.)</li>
drhaf9ff332002-01-16 21:00:27 +000082<li>Added the new <b>sqlite_last_insert_rowid()</b> API function.</li>
drha297b5c2002-01-15 18:39:43 +000083}
84
drh9647ff82002-01-14 02:56:24 +000085chng {2002 Jan 13 (2.2.2)} {
drhda9e0342002-01-10 14:31:48 +000086<li>Bug fix: An assertion was failing when a temporary table with an index
87 had the same name as a permanent table created by a separate process.</li>
drh9647ff82002-01-14 02:56:24 +000088<li>Bug fix: Updates to tables containing an INTEGER PRIMARY KEY and an
89 index could fail.</li>
drhda9e0342002-01-10 14:31:48 +000090}
91
drhaf989ba2002-01-09 13:35:11 +000092chng {2002 Jan 9 (2.2.1)} {
drhc6b52df2002-01-04 03:09:29 +000093<li>Bug fix: An attempt to delete a single row of a table with a WHERE
94 clause of "ROWID=x" when no such rowid exists was causing an error.</li>
drhe638bbf2002-01-07 19:04:21 +000095<li>Bug fix: Passing in a NULL as the 3rd parameter to <b>sqlite_open()</b>
96 would sometimes cause a coredump.</li>
drh74e24cd2002-01-09 03:19:59 +000097<li>Bug fix: DROP TABLE followed by a CREATE TABLE with the same name all
98 within a single transaction was causing a coredump.</li>
99<li>Makefile updates from A. Rottmann</li>
drhc6b52df2002-01-04 03:09:29 +0000100}
101
drhe7ec2202001-12-22 19:27:39 +0000102chng {2001 Dec 22 (2.2.0)} {
103<li>Columns of type INTEGER PRIMARY KEY are actually used as the primary
104 key in underlying B-Tree representation of the table.</li>
105<li>Several obscure, unrelated bugs were found and fixed while
106 implemented the integer primary key change of the previous bullet.</li>
drh7c917d12001-12-16 20:05:05 +0000107<li>Added the ability to specify "*" as part of a larger column list in
108 the result section of a SELECT statement. For example:
109 <nobr>"<b>SELECT rowid, * FROM table1;</b>"</nobr>.</li>
110<li>Updates to comments and documentation.</li>
111}
112
drh4cbd68f2001-12-15 02:58:18 +0000113chng {2001 Dec 14 (2.1.7)} {
114<li>Fix a bug in <b>CREATE TEMPORARY TABLE</b> which was causing the
115 table to be initially allocated in the main database file instead
116 of in the separate temporary file. This bug could cause the library
drhc38f3d52001-12-15 03:00:42 +0000117 to suffer an assertion failure and it could cause "page leaks" in the
drh4cbd68f2001-12-15 02:58:18 +0000118 main database file.
119<li>Fix a bug in the b-tree subsystem that could sometimes cause the first
120 row of a table to be repeated during a database scan.</li>
121}
122
drha7fcb052001-12-14 15:09:55 +0000123chng {2001 Dec 14 (2.1.6)} {
124<li>Fix the locking mechanism yet again to prevent
125 <b>sqlite_exec()</b> from returning SQLITE_PROTOCOL
126 unnecessarily. This time the bug was a race condition in
127 the locking code. This change effects both POSIX and Windows users.</li>
128}
129
drh2cf65aa2001-12-06 13:24:14 +0000130chng {2001 Dec 6 (2.1.5)} {
131<li>Fix for another problem (unrelated to the one fixed in 2.1.4)
132 that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL
133 unnecessarily. This time the bug was
134 in the POSIX locking code and should not effect windows users.</li>
135}
136
drhb8ca3072001-12-05 00:21:20 +0000137chng {2001 Dec 4 (2.1.4)} {
drh208611f2001-12-05 00:46:02 +0000138<li>Sometimes <b>sqlite_exec()</b> would return SQLITE_PROTOCOL when it
drhb8ca3072001-12-05 00:21:20 +0000139 should have returned SQLITE_BUSY.</li>
140<li>The fix to the previous bug uncovered a deadlock which was also
141 fixed.</li>
drh6ff13852001-11-25 13:18:23 +0000142<li>Add the ability to put a single .command in the second argument
143 of the sqlite shell</li>
drhb8ca3072001-12-05 00:21:20 +0000144<li>Updates to the FAQ</li>
drh6ff13852001-11-25 13:18:23 +0000145}
146
drh7a7c7392001-11-24 00:31:46 +0000147chng {2001 Nov 23 (2.1.3)} {
148<li>Fix the behavior of comparison operators
149 (ex: "<b>&lt</b>", "<b>==</b>", etc.)
150 so that they are consistent with the order of entries in an index.</li>
151<li>Correct handling of integers in SQL expressions that are larger than
152 what can be represented by the machine integer.</li>
153}
154
drhf5bf0a72001-11-23 00:24:12 +0000155chng {2001 Nov 22 (2.1.2)} {
drh5a2c2c22001-11-21 02:21:11 +0000156<li>Changes to support 64-bit architectures.</li>
drhc3a64ba2001-11-22 00:01:27 +0000157<li>Fix a bug in the locking protocol.</li>
drhf5bf0a72001-11-23 00:24:12 +0000158<li>Fix a bug that could (rarely) cause the database to become
159 unreadable after a DROP TABLE due to corruption to the SQLITE_MASTER
160 table.</li>
161<li>Change the code so that version 2.1.1 databases that were rendered
162 unreadable by the above bug can be read by this version of
163 the library even though the SQLITE_MASTER table is (slightly)
164 corrupted.</li>
drh5a2c2c22001-11-21 02:21:11 +0000165}
166
drhf6e515b2001-11-13 19:36:55 +0000167chng {2001 Nov 13 (2.1.1)} {
168<li>Bug fix: Sometimes arbirary strings were passed to the callback
169 function when the actual value of a column was NULL.</li>
170}
171
drh7900ead2001-11-12 13:51:43 +0000172chng {2001 Nov 12 (2.1.0)} {
drh80ff32f2001-11-04 18:32:46 +0000173<li>Change the format of data records so that records up to 16MB in size
174 can be stored.</li>
drh17e24df2001-11-06 14:10:41 +0000175<li>Change the format of indices to allow for better query optimization.</li>
176<li>Implement the "LIMIT ... OFFSET ..." clause on SELECT statements.</li>
drh80ff32f2001-11-04 18:32:46 +0000177}
178
drh0f246782001-11-03 23:59:16 +0000179chng {2001 Nov 3 (2.0.8)} {
180<li>Made selected parameters in API functions <b>const</b>. This should
181 be fully backwards compatible.</li>
drh33f51c92001-10-31 15:44:46 +0000182<li>Documentation updates</li>
drha8b38d22001-11-01 14:41:34 +0000183<li>Simplify the design of the VDBE by restricting the number of sorters
184 and lists to 1.
drhf5bf0a72001-11-23 00:24:12 +0000185 In practice, no more than one sorter and one list was ever used anyhow.
drha8b38d22001-11-01 14:41:34 +0000186 </li>
drh33f51c92001-10-31 15:44:46 +0000187}
188
drh6d4abfb2001-10-22 02:58:08 +0000189chng {2001 Oct 21 (2.0.7)} {
190<li>Any UTF-8 character or ISO8859 character can be used as part of
191 an identifier.</li>
192<li>Patches from Christian Werner to improve ODBC compatibility and to
193 fix a bug in the round() function.</li>
194<li>Plug some memory leaks that use to occur if malloc() failed.
195 We have been and continue to be memory leak free as long as
196 malloc() works.</li>
197<li>Changes to some test scripts so that they work on Windows in
198 addition to Unix.</li>
drh01a34662001-10-20 12:30:10 +0000199}
200
drh6a535342001-10-19 16:44:56 +0000201chng {2001 Oct 19 (2.0.6)} {
202<li>Added the EMPTY_RESULT_CALLBACKS pragma</li>
drh98808ba2001-10-18 12:34:46 +0000203<li>Support for UTF-8 and ISO8859 characters in column and table names.</li>
204<li>Bug fix: Compute correct table names with the FULL_COLUMN_NAMES pragma
205 is turned on.</li>
206}
207
drh1bee3d72001-10-15 00:44:35 +0000208chng {2001 Oct 14 (2.0.5)} {
209<li>Added the COUNT_CHANGES pragma.</li>
210<li>Changes to the FULL_COLUMN_NAMES pragma to help out the ODBC driver.</li>
211<li>Bug fix: "SELECT count(*)" was returning NULL for empty tables.
212 Now it returns 0.</li>
213}
214
drhe21a5732001-10-13 21:56:34 +0000215chng {2001 Oct 13 (2.0.4)} {
216<li>Bug fix: an abscure and relatively harmless bug was causing one of
217 the tests to fail when gcc optimizations are turned on. This release
218 fixes the problem.</li>
219}
220
drhbf4133c2001-10-13 02:59:08 +0000221chng {2001 Oct 13 (2.0.3)} {
drh81a20f22001-10-12 17:30:04 +0000222<li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000
223 times too long before failing.</li>
224<li>Bug fix: an assertion was failing if the disk holding the database
225 file became full or stopped accepting writes for some other reason.
226 New tests were added to detect similar problems in the future.</li>
drhbf4133c2001-10-13 02:59:08 +0000227<li>Added new operators: <b>&amp;</b> (bitwise-and)
228 <b>|</b> (bitwise-or), <b>~</b> (ones-complement),
229 <b>&lt;&lt;</b> (shift left), <b>&gt;&gt;</b> (shift right).</li>
230<li>Added new functions: <b>round()</b> and <b>abs()</b>.</li>
drh81a20f22001-10-12 17:30:04 +0000231}
232
drh286f11a2001-10-09 04:21:50 +0000233chng {2001 Oct 9 (2.0.2)} {
drhff0839c2001-10-09 12:39:24 +0000234<li>Fix two bugs in the locking protocol. (One was masking the other.)</li>
drh382c0242001-10-06 16:33:02 +0000235<li>Removed some unused "#include <unistd.h>" that were causing problems
236 for VC++.</li>
drhf57b3392001-10-08 13:22:32 +0000237<li>Fixed <b>sqlite.h</b> so that it is usable from C++</li>
drh382c0242001-10-06 16:33:02 +0000238<li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of
239 columns are reported back as TABLE.COLUMN instead of just COLUMN.</li>
drhad75e982001-10-09 04:19:46 +0000240<li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the
241 ODBC interface.</li>
drhf57b3392001-10-08 13:22:32 +0000242<li>Added support for TEMPORARY tables and indices.</li>
drh382c0242001-10-06 16:33:02 +0000243}
244
drh100569d2001-10-02 13:01:48 +0000245chng {2001 Oct 2 (2.0.1)} {
246<li>Remove some C++ style comments from btree.c so that it will compile
247 using compilers other than gcc.</li>
drh33048c02001-10-01 14:29:22 +0000248<li>The ".dump" output from the shell does not work if there are embedded
249 newlines anywhere in the data. This is an old bug that was carried
250 forward from version 1.0. To fix it, the ".dump" output no longer
251 uses the COPY command. It instead generates INSERT statements.</li>
252<li>Extend the expression syntax to support "expr NOT NULL" (with a
253 space between the "NOT" and the "NULL") in addition to "expr NOTNULL"
254 (with no space).</li>
255}
256
drh90ca9752001-09-28 17:47:14 +0000257chng {2001 Sep 28 (2.0.0)} {
258<li>Automatically build binaries for Linux and Windows and put them on
259 the website.</li>
260}
261
262chng {2001 Sep 28 (2.0-alpha-4)} {
263<li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li>
264}
265
drh60c309b2001-09-27 15:13:40 +0000266chng {2001 Sep 27 (2.0-alpha-3)} {
drh717e6402001-09-27 03:22:32 +0000267<li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary
drh60c309b2001-09-27 15:13:40 +0000268 keys are required to be unique.</li>
269<li>File format changed back to what it was for alpha-1</li>
drh90bfcda2001-09-23 19:46:51 +0000270<li>Fixes to the rollback and locking behavior</li>
271}
272
drh4aa85c42001-09-20 12:32:53 +0000273chng {2001 Sep 20 (2.0-alpha-2)} {
drhb19a2bc2001-09-16 00:13:26 +0000274<li>Initial release of version 2.0. The idea of renaming the library
275 to "SQLus" was abandoned in favor of keeping the "SQLite" name and
276 bumping the major version number.</li>
277<li>The pager and btree subsystems added back. They are now the only
278 available backend.</li>
279<li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li>
280<li>Copyright on all code was disclaimed. The library is now in the
281 public domain.</li>
282}
283
drh87c40e82001-07-23 14:33:02 +0000284chng {2001 Jul 23 (1.0.32)} {
285<li>Pager and btree subsystems removed. These will be used in a follow-on
286 SQL server library named "SQLus".</li>
287<li>Add the ability to use quoted strings as table and column names in
288 expressions.</li>
289}
290
drhd9b02572001-04-15 00:37:09 +0000291chng {2001 Apr 14 (1.0.31)} {
292<li>Pager subsystem added but not yet used.</li>
drhdaffd0e2001-04-11 14:28:42 +0000293<li>More robust handling of out-of-memory errors.</li>
drhd1bf3512001-04-07 15:24:33 +0000294<li>New tests added to the test suite.</li>
295}
296
drh818041a2001-04-06 16:15:27 +0000297chng {2001 Apr 6 (1.0.30)} {
298<li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
299 in the previous version.</li>
300<li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
301 <b>sqlite</b> TCL command.</li>
302<li>Add tests to make sure that tclsqlite was compiled using Tcl header
303 files and libraries that match.</li>
304}
305
drhe17a7e32001-04-04 21:10:18 +0000306chng {2001 Apr 5 (1.0.29)} {
drh6f63c252001-04-05 16:25:53 +0000307<li>The library now assumes data is stored as UTF-8 if the --enable-utf8
308 option is given to configure. The default behavior is to assume
309 iso8859-x, as it has always done. This only makes a difference for
310 LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
311<li>If the library is not configured for UTF-8 and the Tcl library
312 is one of the newer ones that uses UTF-8 internally,
313 then a conversion from UTF-8 to iso8859 and
drh297ecf12001-04-05 15:57:13 +0000314 back again is done inside the TCL interface.</li>
drhe17a7e32001-04-04 21:10:18 +0000315}
316
drhc4a3c772001-04-04 11:48:57 +0000317chng {2001 Apr 4 (1.0.28)} {
318<li>Added limited support for transactions. At this point, transactions
319 will do table locking on the GDBM backend. There is no support (yet)
320 for rollback or atomic commit.</li>
321<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
322 unique random integer key associated with every row of every table.</li>
323<li>Additional tests added to the regression suite to cover the new ROWID
324 feature and the TCL interface bugs mentioned below.</li>
drh960e8c62001-04-03 16:53:21 +0000325<li>Changes to the "lemon" parser generator to help it work better when
326 compiled using MSVC.</li>
327<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
328}
329
drh0353ced2001-03-20 22:05:00 +0000330chng {2001 Mar 20 (1.0.27)} {
331<li>When doing DELETE and UPDATE, the library used to write the record
332 numbers of records to be deleted or updated into a temporary file.
333 This is changed so that the record numbers are held in memory.</li>
334<li>The DELETE command without a WHILE clause just removes the database
335 files from the disk, rather than going through and deleting record
336 by record.</li>
337}
338
drh3494ffe2001-03-20 12:55:13 +0000339chng {2001 Mar 20 (1.0.26)} {
340<li>A serious bug fixed on Windows. Windows users should upgrade.
341 No impact to Unix.</li>
342}
343
drhdb25e382001-03-15 18:21:22 +0000344chng {2001 Mar 15 (1.0.25)} {
345<li>Modify the test scripts to identify tests that depend on system
346 load and processor speed and
347 to warn the user that a failure of one of those (rare) tests does
348 not necessarily mean the library is malfunctioning. No changes to
349 code.
350 </li>
351}
352
353chng {2001 Mar 14 (1.0.24)} {
354<li>Fix a bug which was causing
drhb8525d92001-03-14 12:54:11 +0000355 the UPDATE command to fail on systems where "malloc(0)" returns
drhb0729502001-03-14 12:35:57 +0000356 NULL. The problem does not appear Windows, Linux, or HPUX but does
357 cause the library to fail on QNX.
358 </li>
359}
360
drhe53dea12001-02-19 23:48:16 +0000361chng {2001 Feb 19 (1.0.23)} {
362<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
363 for figuring out where to put temporary files for a "memory:" database
364 was not working quite right.
365 </li>
366}
367
drh573bd272001-02-19 23:23:38 +0000368chng {2001 Feb 19 (1.0.22)} {
369<li>The previous fix was not quite right. This one seems to work better.
370 </li>
371}
372
drh4f3c63e2001-02-19 18:24:21 +0000373chng {2001 Feb 19 (1.0.21)} {
374<li>The UPDATE statement was not working when the WHERE clause contained
375 some terms that could be satisfied using indices and other terms that
376 could not. Fixed.</li>
377}
378
drh338ea132001-02-11 16:56:24 +0000379chng {2001 Feb 11 (1.0.20)} {
380<li>Merge development changes into the main trunk. Future work toward
381 using a BTree file structure will use a separate CVS source tree. This
382 CVS tree will continue to support the GDBM version of SQLite only.</li>
383}
384
385chng {2001 Feb 6 (1.0.19)} {
386<li>Fix a strange (but valid) C declaration that was causing problems
387 for QNX. No logical changes.</li>
388}
389
drha2e1bb52001-01-04 14:20:18 +0000390chng {2001 Jan 4 (1.0.18)} {
391<li>Print the offending SQL statement when an error occurs.</li>
392<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +0000393<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +0000394<li>Changes to comments.</li>
395}
396
drh8c82b352000-12-10 18:23:50 +0000397chng {2000 Dec 10 (1.0.17)} {
398<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
399<li>Minor tweaks to other code to make it run a little faster.</li>
400<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
401}
402
403chng {2000 Dec 4 (1.0.16)} {
404<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
405}
406
drh8c3052c2000-10-23 13:16:31 +0000407chng {2000 Oct 23 (1.0.15)} {
408<li>Documentation updates</li>
409<li>Some sanity checking code was removed from the inner loop of vdbe.c
410 to help the library to run a little faster. The code is only
411 removed if you compile with -DNDEBUG.</li>
412}
413
drh767c2002000-10-19 14:10:08 +0000414chng {2000 Oct 19 (1.0.14)} {
415<li>Added a "memory:" backend driver that stores its database in an
416 in-memory hash table.</li>
417}
418
drhbb0b6792000-10-19 01:49:02 +0000419chng {2000 Oct 18 (1.0.13)} {
420<li>Break out the GDBM driver into a separate file in anticipation
421 to added new drivers.</li>
422<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +0000423 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +0000424}
425
drh9b1eb482000-10-17 01:31:22 +0000426chng {2000 Oct 16 (1.0.12)} {
427<li>Fixed an off-by-one error that was causing a coredump in
428 the '%q' format directive of the new
429 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +0000430<li>Added the <b>sqlite_interrupt()</b> interface.</li>
431<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
432 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +0000433<li>Fixed some instances where <b>sqlite_exec()</b> was
434 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +0000435}
436
drh611ad212000-10-16 22:09:38 +0000437chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +0000438<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +0000439<li>Removed a few variables that were not being used. Etc.</li>
440}
441
drha18c5682000-10-08 22:20:57 +0000442chng {2000 Oct 8 (1.0.9)} {
443<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
444<li>Modified the <b>sqlite</b> shell program to use the new interface
445 routines.</li>
446<li>Modified the <b>sqlite</b> shell program to print the schema for
447 the built-in SQLITE_MASTER table, if explicitly requested.</li>
448}
449
drh9b0d0a82000-09-30 22:46:05 +0000450chng {2000 Sep 30 (1.0.8)} {
451<li>Begin writing documentation on the TCL interface.</li>
452}
453
drhe3710332000-09-29 13:30:53 +0000454chng {2000 Sep 29 (Not Released)} {
455<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000456<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000457<li>Modified the <b>sqlite</b> shell to make use of the new
458 sqlite_get_table() API in order to print a list of tables
459 in multiple columns, similar to the way "ls" prints filenames.</li>
460<li>Modified the <b>sqlite</b> shell to print a semicolon at the
461 end of each CREATE statement in the output of the ".schema" command.</li>
462}
463
drh6d313162000-09-21 13:01:35 +0000464chng {2000 Sep 21 (Not Released)} {
465<li>Change the tclsqlite "eval" method to return a list of results if
466 no callback script is specified.</li>
467<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
468<li>Add tclsqlite.c to the libsqlite.a library</li>
469}
470
drha5c2ad02000-09-14 01:21:10 +0000471chng {2000 Sep 13 (Version 1.0.5)} {
472<li>Changed the print format for floating point values from "%g" to "%.15g".
473 </li>
474<li>Changed the comparison function so that numbers in exponential notation
475 (ex: 1.234e+05) sort in numerical order.</li>
476}
477
drhff6e9112000-08-28 16:21:58 +0000478chng {2000 Aug 28 (Version 1.0.4)} {
479<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
480<li>Fix a bug in the <b>sqlite</b> shell program that was causing
481 a coredump when the output mode was "column" and the first row
482 of data contained a NULL.</li>
483}
484
drh63e27412000-08-22 18:29:33 +0000485chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000486<li>In the sqlite shell, print the "Database opened READ ONLY" message
487 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000488<li>In the sqlite shell, now print the version number on initial startup.</li>
489<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000490<li>Makefile updates</li>
491<li>Bug fix: incorrect VDBE code was being generated for the following
492 circumstance: a query on an indexed table containing a WHERE clause with
493 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000494}
495
drhbbd4a752000-08-18 09:33:39 +0000496chng {2000 Aug 18 (Version 1.0.1)} {
497<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000498<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000499}
500
drh303aaa72000-08-17 10:22:34 +0000501chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000502<li>Change the <b>sqlite</b> program so that it can read
503 databases for which it lacks write permission. (It used to
504 refuse all access if it could not write.)</li>
505}
506
drh30cab802000-08-09 17:17:25 +0000507chng {2000 Aug 9} {
508<li>Treat carriage returns as white space.</li>
509}
510
drha50da102000-08-08 20:19:09 +0000511chng {2000 Aug 8} {
512<li>Added pattern matching to the ".table" command in the "sqlite"
513command shell.</li>
514}
515
drh2758db22000-08-04 13:52:30 +0000516chng {2000 Aug 4} {
517<li>Documentation updates</li>
518<li>Added "busy" and "timeout" methods to the Tcl interface</li>
519}
520
drhb97bedb2000-08-03 15:09:19 +0000521chng {2000 Aug 3} {
522<li>File format version number was being stored in sqlite_master.tcl
523 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
524}
525
drh353f57e2000-08-02 12:26:28 +0000526chng {2000 Aug 2} {
527<li>The file format for indices was changed slightly in order to work
528 around an inefficiency that can sometimes come up with GDBM when
529 there are large indices having many entries with the same key.
530 <font color="red">** Incompatible Change **</font></li>
531}
532
drhed380d82000-08-01 09:56:27 +0000533chng {2000 Aug 1} {
534<li>The parser's stack was overflowing on a very long UPDATE statement.
535 This is now fixed.</li>
536}
537
drh1050f982000-07-31 11:59:02 +0000538chng {2000 July 31} {
539<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000540<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000541<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000542<li>Fix a configuration problem for HPUX.</li>
543}
544
drhe1b6a5b2000-07-29 13:06:59 +0000545chng {2000 July 29} {
546<li>Better labels on column names of the result.</li>
547}
548
drh2dfbbca2000-07-28 14:32:48 +0000549chng {2000 July 28} {
550<li>Added the <b>sqlite_busy_handler()</b>
551 and <b>sqlite_busy_timeout()</b> interface.</li>
552}
553
drh74c360e2000-06-23 19:16:23 +0000554chng {2000 June 23} {
555<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
556}
557
drh1fd14a72000-06-21 14:00:39 +0000558chng {2000 June 21} {
559<li>Clean up comments and variable names. Changes to documentation.
560 No functional changes to the code.</li>
561}
562
drh6206d502000-06-19 19:09:08 +0000563chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000564<li>Column names in UPDATE statements were case sensitive.
565 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000566}
567
drh00400772000-06-16 20:51:26 +0000568chng {2000 June 16} {
569<li>Added the concatenate string operator (||)</li>
570}
571
drh61fc2c62000-06-12 12:29:25 +0000572chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000573<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
574 returns the number of database "Fetch" operations that have occurred.
575 This function is designed for use in test scripts to verify that
576 queries are efficient and appropriately optimized. Fcnt() has no other
577 useful purpose, as far as I know.</li>
578<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000579 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000580}
581
drhdcc7c742000-06-09 03:51:26 +0000582chng {2000 June 8} {
583<li>Added lots of new test cases</li>
584<li>Fix a few bugs discovered while adding test cases</li>
585<li>Begin adding lots of new documentation</li>
586}
587
drh49c87802000-06-06 18:24:42 +0000588chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000589<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000590<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000591<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
592<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
593<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
drhdb25e382001-03-15 18:21:22 +0000594<li>NULL values are now reported to the callback as a NULL pointer
drh49c87802000-06-06 18:24:42 +0000595 rather than an empty string.</li>
596}
597
drh32aa77e2000-06-03 19:28:48 +0000598chng {2000 June 3} {
599<li>Added support for default values on columns of a table.</li>
600<li>Improved test coverage. Fixed a few obscure bugs found by the
601improved tests.</li>
602}
603
drhbed86902000-06-02 13:27:59 +0000604chng {2000 June 2} {
605<li>All database files to be modified by an UPDATE, INSERT or DELETE are
606now locked before any changes are made to any files.
607This makes it safe (I think) to access
608the same database simultaneously from multiple processes.</li>
609<li>The code appears stable so we are now calling it "beta".</li>
610}
611
612chng {2000 June 1} {
613<li>Better support for file locking so that two or more processes
614(or threads)
615can access the same database simultaneously. More work needed in
616this area, though.</li>
617}
618
drh7203e282000-05-31 15:35:42 +0000619chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000620<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000621to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000622<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000623}
624
drhdce2cbe2000-05-31 02:27:49 +0000625chng {2000 May 30} {
626<li>Added the <b>LIKE</b> operator.</li>
627<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
628but it uses Unix shell globbing wildcards instead of the '%'
629and '_' wildcards of SQL.</li>
630<li>Added the <B>COPY</b> command patterned after
631<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
632can now read the output of the <b>pg_dump</b> database dump utility
633of PostgreSQL.</li>
634<li>Added a <B>VACUUM</B> command that that calls the
635<b>gdbm_reorganize()</b> function on the underlying database
636files.</li>
637<li>And many, many bug fixes...</li>
638}
639
640chng {2000 May 29} {
641<li>Initial Public Release of Alpha code</li>
642}
643
644puts {
645</DL>
646<p><hr /></p>
647<p><a href="index.html"><img src="/goback.jpg" border=0 />
648Back to the SQLite Home Page</a>
649</p>
650
651</body></html>}