blob: 68272e740c649dea25eda1b5f7bf6da3c5556d6a [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
drh97665872002-02-13 23:22:53 +000020chng {2002 Feb 13 (2.3.1)} {
21<li>Bug fix: An assertion was failing if "PRAGMA full_column_names=ON;" was
22 set and you did a query that used a rowid, like this:
23 "SELECT rowid, * FROM ...".</li>
24}
25
drh24e97df2002-02-03 19:06:02 +000026chng {2002 Jan 30 (2.3.0)} {
27<li>Fix a serious bug in the INSERT command which was causing data to go
28 into the wrong columns if the data source was a SELECT and the INSERT
29 clauses specified its columns in some order other than the default.</li>
drhb419a922002-01-30 16:17:23 +000030<li>Added the ability to resolve constraint conflicts is ways other than
31 an abort and rollback. See the documentation on the "ON CONFLICT"
32 clause for details.</li>
drhfa86c412002-02-02 15:01:15 +000033<li>Temporary files are now automatically deleted by the operating system
34 when closed. There are no more dangling temporary files on a program
35 crash. (If the OS crashes, fsck will delete the file after reboot
36 under Unix. I do not know what happens under Windows.)</li>
drhb419a922002-01-30 16:17:23 +000037<li>NOT NULL constraints are honored.</li>
38<li>The COPY command puts NULLs in columns whose data is '\N'.</li>
39<li>In the COPY command, backslash can now be used to escape a newline.</li>
drh24e97df2002-02-03 19:06:02 +000040<li>Added the SANITY_CHECK pragma.</li>
drhb419a922002-01-30 16:17:23 +000041}
42
drh6b125452002-01-28 15:53:03 +000043chng {2002 Jan 28 (2.2.5)} {
44<li>Important bug fix: the IN operator was not working if either the
45 left-hand or right-hand side was derived from an INTEGER PRIMARY KEY.</li>
46<li>Do not escape the backslash '\' character in the output of the
47 <b>sqlite</b> command-line access program.</li>
48}
49
drh92086432002-01-22 14:11:29 +000050chng {2002 Jan 22 (2.2.4)} {
drha2e00042002-01-22 03:13:42 +000051<li>The label to the right of an AS in the column list of a SELECT can now
52 be used as part of an expression in the WHERE, ORDER BY, GROUP BY, and/or
53 HAVING clauses.</li>
drh7613bfa2002-01-22 12:39:24 +000054<li>Fix a bug in the <b>-separator</b> command-line option to the <b>sqlite</b>
55 command.</li>
drh92086432002-01-22 14:11:29 +000056<li>Fix a problem with the sort order when comparing upper-case strings against
57 characters greater than 'Z' but less than 'a'.</li>
58<li>Report an error if an ORDER BY or GROUP BY expression is constant.</li>
drha2e00042002-01-22 03:13:42 +000059}
60
drhaf9ff332002-01-16 21:00:27 +000061chng {2002 Jan 16 (2.2.3)} {
drha297b5c2002-01-15 18:39:43 +000062<li>Fix warning messages in VC++ 7.0. (Patches from nicolas352001)</li>
63<li>Make the library thread-safe. (The code is there and appears to work
64 but has not been stressed.)</li>
drhaf9ff332002-01-16 21:00:27 +000065<li>Added the new <b>sqlite_last_insert_rowid()</b> API function.</li>
drha297b5c2002-01-15 18:39:43 +000066}
67
drh9647ff82002-01-14 02:56:24 +000068chng {2002 Jan 13 (2.2.2)} {
drhda9e0342002-01-10 14:31:48 +000069<li>Bug fix: An assertion was failing when a temporary table with an index
70 had the same name as a permanent table created by a separate process.</li>
drh9647ff82002-01-14 02:56:24 +000071<li>Bug fix: Updates to tables containing an INTEGER PRIMARY KEY and an
72 index could fail.</li>
drhda9e0342002-01-10 14:31:48 +000073}
74
drhaf989ba2002-01-09 13:35:11 +000075chng {2002 Jan 9 (2.2.1)} {
drhc6b52df2002-01-04 03:09:29 +000076<li>Bug fix: An attempt to delete a single row of a table with a WHERE
77 clause of "ROWID=x" when no such rowid exists was causing an error.</li>
drhe638bbf2002-01-07 19:04:21 +000078<li>Bug fix: Passing in a NULL as the 3rd parameter to <b>sqlite_open()</b>
79 would sometimes cause a coredump.</li>
drh74e24cd2002-01-09 03:19:59 +000080<li>Bug fix: DROP TABLE followed by a CREATE TABLE with the same name all
81 within a single transaction was causing a coredump.</li>
82<li>Makefile updates from A. Rottmann</li>
drhc6b52df2002-01-04 03:09:29 +000083}
84
drhe7ec2202001-12-22 19:27:39 +000085chng {2001 Dec 22 (2.2.0)} {
86<li>Columns of type INTEGER PRIMARY KEY are actually used as the primary
87 key in underlying B-Tree representation of the table.</li>
88<li>Several obscure, unrelated bugs were found and fixed while
89 implemented the integer primary key change of the previous bullet.</li>
drh7c917d12001-12-16 20:05:05 +000090<li>Added the ability to specify "*" as part of a larger column list in
91 the result section of a SELECT statement. For example:
92 <nobr>"<b>SELECT rowid, * FROM table1;</b>"</nobr>.</li>
93<li>Updates to comments and documentation.</li>
94}
95
drh4cbd68f2001-12-15 02:58:18 +000096chng {2001 Dec 14 (2.1.7)} {
97<li>Fix a bug in <b>CREATE TEMPORARY TABLE</b> which was causing the
98 table to be initially allocated in the main database file instead
99 of in the separate temporary file. This bug could cause the library
drhc38f3d52001-12-15 03:00:42 +0000100 to suffer an assertion failure and it could cause "page leaks" in the
drh4cbd68f2001-12-15 02:58:18 +0000101 main database file.
102<li>Fix a bug in the b-tree subsystem that could sometimes cause the first
103 row of a table to be repeated during a database scan.</li>
104}
105
drha7fcb052001-12-14 15:09:55 +0000106chng {2001 Dec 14 (2.1.6)} {
107<li>Fix the locking mechanism yet again to prevent
108 <b>sqlite_exec()</b> from returning SQLITE_PROTOCOL
109 unnecessarily. This time the bug was a race condition in
110 the locking code. This change effects both POSIX and Windows users.</li>
111}
112
drh2cf65aa2001-12-06 13:24:14 +0000113chng {2001 Dec 6 (2.1.5)} {
114<li>Fix for another problem (unrelated to the one fixed in 2.1.4)
115 that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL
116 unnecessarily. This time the bug was
117 in the POSIX locking code and should not effect windows users.</li>
118}
119
drhb8ca3072001-12-05 00:21:20 +0000120chng {2001 Dec 4 (2.1.4)} {
drh208611f2001-12-05 00:46:02 +0000121<li>Sometimes <b>sqlite_exec()</b> would return SQLITE_PROTOCOL when it
drhb8ca3072001-12-05 00:21:20 +0000122 should have returned SQLITE_BUSY.</li>
123<li>The fix to the previous bug uncovered a deadlock which was also
124 fixed.</li>
drh6ff13852001-11-25 13:18:23 +0000125<li>Add the ability to put a single .command in the second argument
126 of the sqlite shell</li>
drhb8ca3072001-12-05 00:21:20 +0000127<li>Updates to the FAQ</li>
drh6ff13852001-11-25 13:18:23 +0000128}
129
drh7a7c7392001-11-24 00:31:46 +0000130chng {2001 Nov 23 (2.1.3)} {
131<li>Fix the behavior of comparison operators
132 (ex: "<b>&lt</b>", "<b>==</b>", etc.)
133 so that they are consistent with the order of entries in an index.</li>
134<li>Correct handling of integers in SQL expressions that are larger than
135 what can be represented by the machine integer.</li>
136}
137
drhf5bf0a72001-11-23 00:24:12 +0000138chng {2001 Nov 22 (2.1.2)} {
drh5a2c2c22001-11-21 02:21:11 +0000139<li>Changes to support 64-bit architectures.</li>
drhc3a64ba2001-11-22 00:01:27 +0000140<li>Fix a bug in the locking protocol.</li>
drhf5bf0a72001-11-23 00:24:12 +0000141<li>Fix a bug that could (rarely) cause the database to become
142 unreadable after a DROP TABLE due to corruption to the SQLITE_MASTER
143 table.</li>
144<li>Change the code so that version 2.1.1 databases that were rendered
145 unreadable by the above bug can be read by this version of
146 the library even though the SQLITE_MASTER table is (slightly)
147 corrupted.</li>
drh5a2c2c22001-11-21 02:21:11 +0000148}
149
drhf6e515b2001-11-13 19:36:55 +0000150chng {2001 Nov 13 (2.1.1)} {
151<li>Bug fix: Sometimes arbirary strings were passed to the callback
152 function when the actual value of a column was NULL.</li>
153}
154
drh7900ead2001-11-12 13:51:43 +0000155chng {2001 Nov 12 (2.1.0)} {
drh80ff32f2001-11-04 18:32:46 +0000156<li>Change the format of data records so that records up to 16MB in size
157 can be stored.</li>
drh17e24df2001-11-06 14:10:41 +0000158<li>Change the format of indices to allow for better query optimization.</li>
159<li>Implement the "LIMIT ... OFFSET ..." clause on SELECT statements.</li>
drh80ff32f2001-11-04 18:32:46 +0000160}
161
drh0f246782001-11-03 23:59:16 +0000162chng {2001 Nov 3 (2.0.8)} {
163<li>Made selected parameters in API functions <b>const</b>. This should
164 be fully backwards compatible.</li>
drh33f51c92001-10-31 15:44:46 +0000165<li>Documentation updates</li>
drha8b38d22001-11-01 14:41:34 +0000166<li>Simplify the design of the VDBE by restricting the number of sorters
167 and lists to 1.
drhf5bf0a72001-11-23 00:24:12 +0000168 In practice, no more than one sorter and one list was ever used anyhow.
drha8b38d22001-11-01 14:41:34 +0000169 </li>
drh33f51c92001-10-31 15:44:46 +0000170}
171
drh6d4abfb2001-10-22 02:58:08 +0000172chng {2001 Oct 21 (2.0.7)} {
173<li>Any UTF-8 character or ISO8859 character can be used as part of
174 an identifier.</li>
175<li>Patches from Christian Werner to improve ODBC compatibility and to
176 fix a bug in the round() function.</li>
177<li>Plug some memory leaks that use to occur if malloc() failed.
178 We have been and continue to be memory leak free as long as
179 malloc() works.</li>
180<li>Changes to some test scripts so that they work on Windows in
181 addition to Unix.</li>
drh01a34662001-10-20 12:30:10 +0000182}
183
drh6a535342001-10-19 16:44:56 +0000184chng {2001 Oct 19 (2.0.6)} {
185<li>Added the EMPTY_RESULT_CALLBACKS pragma</li>
drh98808ba2001-10-18 12:34:46 +0000186<li>Support for UTF-8 and ISO8859 characters in column and table names.</li>
187<li>Bug fix: Compute correct table names with the FULL_COLUMN_NAMES pragma
188 is turned on.</li>
189}
190
drh1bee3d72001-10-15 00:44:35 +0000191chng {2001 Oct 14 (2.0.5)} {
192<li>Added the COUNT_CHANGES pragma.</li>
193<li>Changes to the FULL_COLUMN_NAMES pragma to help out the ODBC driver.</li>
194<li>Bug fix: "SELECT count(*)" was returning NULL for empty tables.
195 Now it returns 0.</li>
196}
197
drhe21a5732001-10-13 21:56:34 +0000198chng {2001 Oct 13 (2.0.4)} {
199<li>Bug fix: an abscure and relatively harmless bug was causing one of
200 the tests to fail when gcc optimizations are turned on. This release
201 fixes the problem.</li>
202}
203
drhbf4133c2001-10-13 02:59:08 +0000204chng {2001 Oct 13 (2.0.3)} {
drh81a20f22001-10-12 17:30:04 +0000205<li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000
206 times too long before failing.</li>
207<li>Bug fix: an assertion was failing if the disk holding the database
208 file became full or stopped accepting writes for some other reason.
209 New tests were added to detect similar problems in the future.</li>
drhbf4133c2001-10-13 02:59:08 +0000210<li>Added new operators: <b>&amp;</b> (bitwise-and)
211 <b>|</b> (bitwise-or), <b>~</b> (ones-complement),
212 <b>&lt;&lt;</b> (shift left), <b>&gt;&gt;</b> (shift right).</li>
213<li>Added new functions: <b>round()</b> and <b>abs()</b>.</li>
drh81a20f22001-10-12 17:30:04 +0000214}
215
drh286f11a2001-10-09 04:21:50 +0000216chng {2001 Oct 9 (2.0.2)} {
drhff0839c2001-10-09 12:39:24 +0000217<li>Fix two bugs in the locking protocol. (One was masking the other.)</li>
drh382c0242001-10-06 16:33:02 +0000218<li>Removed some unused "#include <unistd.h>" that were causing problems
219 for VC++.</li>
drhf57b3392001-10-08 13:22:32 +0000220<li>Fixed <b>sqlite.h</b> so that it is usable from C++</li>
drh382c0242001-10-06 16:33:02 +0000221<li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of
222 columns are reported back as TABLE.COLUMN instead of just COLUMN.</li>
drhad75e982001-10-09 04:19:46 +0000223<li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the
224 ODBC interface.</li>
drhf57b3392001-10-08 13:22:32 +0000225<li>Added support for TEMPORARY tables and indices.</li>
drh382c0242001-10-06 16:33:02 +0000226}
227
drh100569d2001-10-02 13:01:48 +0000228chng {2001 Oct 2 (2.0.1)} {
229<li>Remove some C++ style comments from btree.c so that it will compile
230 using compilers other than gcc.</li>
drh33048c02001-10-01 14:29:22 +0000231<li>The ".dump" output from the shell does not work if there are embedded
232 newlines anywhere in the data. This is an old bug that was carried
233 forward from version 1.0. To fix it, the ".dump" output no longer
234 uses the COPY command. It instead generates INSERT statements.</li>
235<li>Extend the expression syntax to support "expr NOT NULL" (with a
236 space between the "NOT" and the "NULL") in addition to "expr NOTNULL"
237 (with no space).</li>
238}
239
drh90ca9752001-09-28 17:47:14 +0000240chng {2001 Sep 28 (2.0.0)} {
241<li>Automatically build binaries for Linux and Windows and put them on
242 the website.</li>
243}
244
245chng {2001 Sep 28 (2.0-alpha-4)} {
246<li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li>
247}
248
drh60c309b2001-09-27 15:13:40 +0000249chng {2001 Sep 27 (2.0-alpha-3)} {
drh717e6402001-09-27 03:22:32 +0000250<li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary
drh60c309b2001-09-27 15:13:40 +0000251 keys are required to be unique.</li>
252<li>File format changed back to what it was for alpha-1</li>
drh90bfcda2001-09-23 19:46:51 +0000253<li>Fixes to the rollback and locking behavior</li>
254}
255
drh4aa85c42001-09-20 12:32:53 +0000256chng {2001 Sep 20 (2.0-alpha-2)} {
drhb19a2bc2001-09-16 00:13:26 +0000257<li>Initial release of version 2.0. The idea of renaming the library
258 to "SQLus" was abandoned in favor of keeping the "SQLite" name and
259 bumping the major version number.</li>
260<li>The pager and btree subsystems added back. They are now the only
261 available backend.</li>
262<li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li>
263<li>Copyright on all code was disclaimed. The library is now in the
264 public domain.</li>
265}
266
drh87c40e82001-07-23 14:33:02 +0000267chng {2001 Jul 23 (1.0.32)} {
268<li>Pager and btree subsystems removed. These will be used in a follow-on
269 SQL server library named "SQLus".</li>
270<li>Add the ability to use quoted strings as table and column names in
271 expressions.</li>
272}
273
drhd9b02572001-04-15 00:37:09 +0000274chng {2001 Apr 14 (1.0.31)} {
275<li>Pager subsystem added but not yet used.</li>
drhdaffd0e2001-04-11 14:28:42 +0000276<li>More robust handling of out-of-memory errors.</li>
drhd1bf3512001-04-07 15:24:33 +0000277<li>New tests added to the test suite.</li>
278}
279
drh818041a2001-04-06 16:15:27 +0000280chng {2001 Apr 6 (1.0.30)} {
281<li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
282 in the previous version.</li>
283<li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
284 <b>sqlite</b> TCL command.</li>
285<li>Add tests to make sure that tclsqlite was compiled using Tcl header
286 files and libraries that match.</li>
287}
288
drhe17a7e32001-04-04 21:10:18 +0000289chng {2001 Apr 5 (1.0.29)} {
drh6f63c252001-04-05 16:25:53 +0000290<li>The library now assumes data is stored as UTF-8 if the --enable-utf8
291 option is given to configure. The default behavior is to assume
292 iso8859-x, as it has always done. This only makes a difference for
293 LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
294<li>If the library is not configured for UTF-8 and the Tcl library
295 is one of the newer ones that uses UTF-8 internally,
296 then a conversion from UTF-8 to iso8859 and
drh297ecf12001-04-05 15:57:13 +0000297 back again is done inside the TCL interface.</li>
drhe17a7e32001-04-04 21:10:18 +0000298}
299
drhc4a3c772001-04-04 11:48:57 +0000300chng {2001 Apr 4 (1.0.28)} {
301<li>Added limited support for transactions. At this point, transactions
302 will do table locking on the GDBM backend. There is no support (yet)
303 for rollback or atomic commit.</li>
304<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
305 unique random integer key associated with every row of every table.</li>
306<li>Additional tests added to the regression suite to cover the new ROWID
307 feature and the TCL interface bugs mentioned below.</li>
drh960e8c62001-04-03 16:53:21 +0000308<li>Changes to the "lemon" parser generator to help it work better when
309 compiled using MSVC.</li>
310<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
311}
312
drh0353ced2001-03-20 22:05:00 +0000313chng {2001 Mar 20 (1.0.27)} {
314<li>When doing DELETE and UPDATE, the library used to write the record
315 numbers of records to be deleted or updated into a temporary file.
316 This is changed so that the record numbers are held in memory.</li>
317<li>The DELETE command without a WHILE clause just removes the database
318 files from the disk, rather than going through and deleting record
319 by record.</li>
320}
321
drh3494ffe2001-03-20 12:55:13 +0000322chng {2001 Mar 20 (1.0.26)} {
323<li>A serious bug fixed on Windows. Windows users should upgrade.
324 No impact to Unix.</li>
325}
326
drhdb25e382001-03-15 18:21:22 +0000327chng {2001 Mar 15 (1.0.25)} {
328<li>Modify the test scripts to identify tests that depend on system
329 load and processor speed and
330 to warn the user that a failure of one of those (rare) tests does
331 not necessarily mean the library is malfunctioning. No changes to
332 code.
333 </li>
334}
335
336chng {2001 Mar 14 (1.0.24)} {
337<li>Fix a bug which was causing
drhb8525d92001-03-14 12:54:11 +0000338 the UPDATE command to fail on systems where "malloc(0)" returns
drhb0729502001-03-14 12:35:57 +0000339 NULL. The problem does not appear Windows, Linux, or HPUX but does
340 cause the library to fail on QNX.
341 </li>
342}
343
drhe53dea12001-02-19 23:48:16 +0000344chng {2001 Feb 19 (1.0.23)} {
345<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
346 for figuring out where to put temporary files for a "memory:" database
347 was not working quite right.
348 </li>
349}
350
drh573bd272001-02-19 23:23:38 +0000351chng {2001 Feb 19 (1.0.22)} {
352<li>The previous fix was not quite right. This one seems to work better.
353 </li>
354}
355
drh4f3c63e2001-02-19 18:24:21 +0000356chng {2001 Feb 19 (1.0.21)} {
357<li>The UPDATE statement was not working when the WHERE clause contained
358 some terms that could be satisfied using indices and other terms that
359 could not. Fixed.</li>
360}
361
drh338ea132001-02-11 16:56:24 +0000362chng {2001 Feb 11 (1.0.20)} {
363<li>Merge development changes into the main trunk. Future work toward
364 using a BTree file structure will use a separate CVS source tree. This
365 CVS tree will continue to support the GDBM version of SQLite only.</li>
366}
367
368chng {2001 Feb 6 (1.0.19)} {
369<li>Fix a strange (but valid) C declaration that was causing problems
370 for QNX. No logical changes.</li>
371}
372
drha2e1bb52001-01-04 14:20:18 +0000373chng {2001 Jan 4 (1.0.18)} {
374<li>Print the offending SQL statement when an error occurs.</li>
375<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +0000376<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +0000377<li>Changes to comments.</li>
378}
379
drh8c82b352000-12-10 18:23:50 +0000380chng {2000 Dec 10 (1.0.17)} {
381<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
382<li>Minor tweaks to other code to make it run a little faster.</li>
383<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
384}
385
386chng {2000 Dec 4 (1.0.16)} {
387<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
388}
389
drh8c3052c2000-10-23 13:16:31 +0000390chng {2000 Oct 23 (1.0.15)} {
391<li>Documentation updates</li>
392<li>Some sanity checking code was removed from the inner loop of vdbe.c
393 to help the library to run a little faster. The code is only
394 removed if you compile with -DNDEBUG.</li>
395}
396
drh767c2002000-10-19 14:10:08 +0000397chng {2000 Oct 19 (1.0.14)} {
398<li>Added a "memory:" backend driver that stores its database in an
399 in-memory hash table.</li>
400}
401
drhbb0b6792000-10-19 01:49:02 +0000402chng {2000 Oct 18 (1.0.13)} {
403<li>Break out the GDBM driver into a separate file in anticipation
404 to added new drivers.</li>
405<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +0000406 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +0000407}
408
drh9b1eb482000-10-17 01:31:22 +0000409chng {2000 Oct 16 (1.0.12)} {
410<li>Fixed an off-by-one error that was causing a coredump in
411 the '%q' format directive of the new
412 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +0000413<li>Added the <b>sqlite_interrupt()</b> interface.</li>
414<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
415 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +0000416<li>Fixed some instances where <b>sqlite_exec()</b> was
417 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +0000418}
419
drh611ad212000-10-16 22:09:38 +0000420chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +0000421<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +0000422<li>Removed a few variables that were not being used. Etc.</li>
423}
424
drha18c5682000-10-08 22:20:57 +0000425chng {2000 Oct 8 (1.0.9)} {
426<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
427<li>Modified the <b>sqlite</b> shell program to use the new interface
428 routines.</li>
429<li>Modified the <b>sqlite</b> shell program to print the schema for
430 the built-in SQLITE_MASTER table, if explicitly requested.</li>
431}
432
drh9b0d0a82000-09-30 22:46:05 +0000433chng {2000 Sep 30 (1.0.8)} {
434<li>Begin writing documentation on the TCL interface.</li>
435}
436
drhe3710332000-09-29 13:30:53 +0000437chng {2000 Sep 29 (Not Released)} {
438<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000439<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000440<li>Modified the <b>sqlite</b> shell to make use of the new
441 sqlite_get_table() API in order to print a list of tables
442 in multiple columns, similar to the way "ls" prints filenames.</li>
443<li>Modified the <b>sqlite</b> shell to print a semicolon at the
444 end of each CREATE statement in the output of the ".schema" command.</li>
445}
446
drh6d313162000-09-21 13:01:35 +0000447chng {2000 Sep 21 (Not Released)} {
448<li>Change the tclsqlite "eval" method to return a list of results if
449 no callback script is specified.</li>
450<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
451<li>Add tclsqlite.c to the libsqlite.a library</li>
452}
453
drha5c2ad02000-09-14 01:21:10 +0000454chng {2000 Sep 13 (Version 1.0.5)} {
455<li>Changed the print format for floating point values from "%g" to "%.15g".
456 </li>
457<li>Changed the comparison function so that numbers in exponential notation
458 (ex: 1.234e+05) sort in numerical order.</li>
459}
460
drhff6e9112000-08-28 16:21:58 +0000461chng {2000 Aug 28 (Version 1.0.4)} {
462<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
463<li>Fix a bug in the <b>sqlite</b> shell program that was causing
464 a coredump when the output mode was "column" and the first row
465 of data contained a NULL.</li>
466}
467
drh63e27412000-08-22 18:29:33 +0000468chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000469<li>In the sqlite shell, print the "Database opened READ ONLY" message
470 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000471<li>In the sqlite shell, now print the version number on initial startup.</li>
472<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000473<li>Makefile updates</li>
474<li>Bug fix: incorrect VDBE code was being generated for the following
475 circumstance: a query on an indexed table containing a WHERE clause with
476 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000477}
478
drhbbd4a752000-08-18 09:33:39 +0000479chng {2000 Aug 18 (Version 1.0.1)} {
480<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000481<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000482}
483
drh303aaa72000-08-17 10:22:34 +0000484chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000485<li>Change the <b>sqlite</b> program so that it can read
486 databases for which it lacks write permission. (It used to
487 refuse all access if it could not write.)</li>
488}
489
drh30cab802000-08-09 17:17:25 +0000490chng {2000 Aug 9} {
491<li>Treat carriage returns as white space.</li>
492}
493
drha50da102000-08-08 20:19:09 +0000494chng {2000 Aug 8} {
495<li>Added pattern matching to the ".table" command in the "sqlite"
496command shell.</li>
497}
498
drh2758db22000-08-04 13:52:30 +0000499chng {2000 Aug 4} {
500<li>Documentation updates</li>
501<li>Added "busy" and "timeout" methods to the Tcl interface</li>
502}
503
drhb97bedb2000-08-03 15:09:19 +0000504chng {2000 Aug 3} {
505<li>File format version number was being stored in sqlite_master.tcl
506 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
507}
508
drh353f57e2000-08-02 12:26:28 +0000509chng {2000 Aug 2} {
510<li>The file format for indices was changed slightly in order to work
511 around an inefficiency that can sometimes come up with GDBM when
512 there are large indices having many entries with the same key.
513 <font color="red">** Incompatible Change **</font></li>
514}
515
drhed380d82000-08-01 09:56:27 +0000516chng {2000 Aug 1} {
517<li>The parser's stack was overflowing on a very long UPDATE statement.
518 This is now fixed.</li>
519}
520
drh1050f982000-07-31 11:59:02 +0000521chng {2000 July 31} {
522<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000523<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000524<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000525<li>Fix a configuration problem for HPUX.</li>
526}
527
drhe1b6a5b2000-07-29 13:06:59 +0000528chng {2000 July 29} {
529<li>Better labels on column names of the result.</li>
530}
531
drh2dfbbca2000-07-28 14:32:48 +0000532chng {2000 July 28} {
533<li>Added the <b>sqlite_busy_handler()</b>
534 and <b>sqlite_busy_timeout()</b> interface.</li>
535}
536
drh74c360e2000-06-23 19:16:23 +0000537chng {2000 June 23} {
538<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
539}
540
drh1fd14a72000-06-21 14:00:39 +0000541chng {2000 June 21} {
542<li>Clean up comments and variable names. Changes to documentation.
543 No functional changes to the code.</li>
544}
545
drh6206d502000-06-19 19:09:08 +0000546chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000547<li>Column names in UPDATE statements were case sensitive.
548 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000549}
550
drh00400772000-06-16 20:51:26 +0000551chng {2000 June 16} {
552<li>Added the concatenate string operator (||)</li>
553}
554
drh61fc2c62000-06-12 12:29:25 +0000555chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000556<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
557 returns the number of database "Fetch" operations that have occurred.
558 This function is designed for use in test scripts to verify that
559 queries are efficient and appropriately optimized. Fcnt() has no other
560 useful purpose, as far as I know.</li>
561<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000562 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000563}
564
drhdcc7c742000-06-09 03:51:26 +0000565chng {2000 June 8} {
566<li>Added lots of new test cases</li>
567<li>Fix a few bugs discovered while adding test cases</li>
568<li>Begin adding lots of new documentation</li>
569}
570
drh49c87802000-06-06 18:24:42 +0000571chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000572<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000573<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000574<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
575<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
576<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
drhdb25e382001-03-15 18:21:22 +0000577<li>NULL values are now reported to the callback as a NULL pointer
drh49c87802000-06-06 18:24:42 +0000578 rather than an empty string.</li>
579}
580
drh32aa77e2000-06-03 19:28:48 +0000581chng {2000 June 3} {
582<li>Added support for default values on columns of a table.</li>
583<li>Improved test coverage. Fixed a few obscure bugs found by the
584improved tests.</li>
585}
586
drhbed86902000-06-02 13:27:59 +0000587chng {2000 June 2} {
588<li>All database files to be modified by an UPDATE, INSERT or DELETE are
589now locked before any changes are made to any files.
590This makes it safe (I think) to access
591the same database simultaneously from multiple processes.</li>
592<li>The code appears stable so we are now calling it "beta".</li>
593}
594
595chng {2000 June 1} {
596<li>Better support for file locking so that two or more processes
597(or threads)
598can access the same database simultaneously. More work needed in
599this area, though.</li>
600}
601
drh7203e282000-05-31 15:35:42 +0000602chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000603<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000604to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000605<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000606}
607
drhdce2cbe2000-05-31 02:27:49 +0000608chng {2000 May 30} {
609<li>Added the <b>LIKE</b> operator.</li>
610<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
611but it uses Unix shell globbing wildcards instead of the '%'
612and '_' wildcards of SQL.</li>
613<li>Added the <B>COPY</b> command patterned after
614<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
615can now read the output of the <b>pg_dump</b> database dump utility
616of PostgreSQL.</li>
617<li>Added a <B>VACUUM</B> command that that calls the
618<b>gdbm_reorganize()</b> function on the underlying database
619files.</li>
620<li>And many, many bug fixes...</li>
621}
622
623chng {2000 May 29} {
624<li>Initial Public Release of Alpha code</li>
625}
626
627puts {
628</DL>
629<p><hr /></p>
630<p><a href="index.html"><img src="/goback.jpg" border=0 />
631Back to the SQLite Home Page</a>
632</p>
633
634</body></html>}