blob: 732fe6cc78bf77230e2ca4eb9b30e9e95fe8af85 [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
drh24e97df2002-02-03 19:06:02 +000020chng {2002 Jan 30 (2.3.0)} {
21<li>Fix a serious bug in the INSERT command which was causing data to go
22 into the wrong columns if the data source was a SELECT and the INSERT
23 clauses specified its columns in some order other than the default.</li>
drhb419a922002-01-30 16:17:23 +000024<li>Added the ability to resolve constraint conflicts is ways other than
25 an abort and rollback. See the documentation on the "ON CONFLICT"
26 clause for details.</li>
drhfa86c412002-02-02 15:01:15 +000027<li>Temporary files are now automatically deleted by the operating system
28 when closed. There are no more dangling temporary files on a program
29 crash. (If the OS crashes, fsck will delete the file after reboot
30 under Unix. I do not know what happens under Windows.)</li>
drhb419a922002-01-30 16:17:23 +000031<li>NOT NULL constraints are honored.</li>
32<li>The COPY command puts NULLs in columns whose data is '\N'.</li>
33<li>In the COPY command, backslash can now be used to escape a newline.</li>
drh24e97df2002-02-03 19:06:02 +000034<li>Added the SANITY_CHECK pragma.</li>
drhb419a922002-01-30 16:17:23 +000035}
36
drh6b125452002-01-28 15:53:03 +000037chng {2002 Jan 28 (2.2.5)} {
38<li>Important bug fix: the IN operator was not working if either the
39 left-hand or right-hand side was derived from an INTEGER PRIMARY KEY.</li>
40<li>Do not escape the backslash '\' character in the output of the
41 <b>sqlite</b> command-line access program.</li>
42}
43
drh92086432002-01-22 14:11:29 +000044chng {2002 Jan 22 (2.2.4)} {
drha2e00042002-01-22 03:13:42 +000045<li>The label to the right of an AS in the column list of a SELECT can now
46 be used as part of an expression in the WHERE, ORDER BY, GROUP BY, and/or
47 HAVING clauses.</li>
drh7613bfa2002-01-22 12:39:24 +000048<li>Fix a bug in the <b>-separator</b> command-line option to the <b>sqlite</b>
49 command.</li>
drh92086432002-01-22 14:11:29 +000050<li>Fix a problem with the sort order when comparing upper-case strings against
51 characters greater than 'Z' but less than 'a'.</li>
52<li>Report an error if an ORDER BY or GROUP BY expression is constant.</li>
drha2e00042002-01-22 03:13:42 +000053}
54
drhaf9ff332002-01-16 21:00:27 +000055chng {2002 Jan 16 (2.2.3)} {
drha297b5c2002-01-15 18:39:43 +000056<li>Fix warning messages in VC++ 7.0. (Patches from nicolas352001)</li>
57<li>Make the library thread-safe. (The code is there and appears to work
58 but has not been stressed.)</li>
drhaf9ff332002-01-16 21:00:27 +000059<li>Added the new <b>sqlite_last_insert_rowid()</b> API function.</li>
drha297b5c2002-01-15 18:39:43 +000060}
61
drh9647ff82002-01-14 02:56:24 +000062chng {2002 Jan 13 (2.2.2)} {
drhda9e0342002-01-10 14:31:48 +000063<li>Bug fix: An assertion was failing when a temporary table with an index
64 had the same name as a permanent table created by a separate process.</li>
drh9647ff82002-01-14 02:56:24 +000065<li>Bug fix: Updates to tables containing an INTEGER PRIMARY KEY and an
66 index could fail.</li>
drhda9e0342002-01-10 14:31:48 +000067}
68
drhaf989ba2002-01-09 13:35:11 +000069chng {2002 Jan 9 (2.2.1)} {
drhc6b52df2002-01-04 03:09:29 +000070<li>Bug fix: An attempt to delete a single row of a table with a WHERE
71 clause of "ROWID=x" when no such rowid exists was causing an error.</li>
drhe638bbf2002-01-07 19:04:21 +000072<li>Bug fix: Passing in a NULL as the 3rd parameter to <b>sqlite_open()</b>
73 would sometimes cause a coredump.</li>
drh74e24cd2002-01-09 03:19:59 +000074<li>Bug fix: DROP TABLE followed by a CREATE TABLE with the same name all
75 within a single transaction was causing a coredump.</li>
76<li>Makefile updates from A. Rottmann</li>
drhc6b52df2002-01-04 03:09:29 +000077}
78
drhe7ec2202001-12-22 19:27:39 +000079chng {2001 Dec 22 (2.2.0)} {
80<li>Columns of type INTEGER PRIMARY KEY are actually used as the primary
81 key in underlying B-Tree representation of the table.</li>
82<li>Several obscure, unrelated bugs were found and fixed while
83 implemented the integer primary key change of the previous bullet.</li>
drh7c917d12001-12-16 20:05:05 +000084<li>Added the ability to specify "*" as part of a larger column list in
85 the result section of a SELECT statement. For example:
86 <nobr>"<b>SELECT rowid, * FROM table1;</b>"</nobr>.</li>
87<li>Updates to comments and documentation.</li>
88}
89
drh4cbd68f2001-12-15 02:58:18 +000090chng {2001 Dec 14 (2.1.7)} {
91<li>Fix a bug in <b>CREATE TEMPORARY TABLE</b> which was causing the
92 table to be initially allocated in the main database file instead
93 of in the separate temporary file. This bug could cause the library
drhc38f3d52001-12-15 03:00:42 +000094 to suffer an assertion failure and it could cause "page leaks" in the
drh4cbd68f2001-12-15 02:58:18 +000095 main database file.
96<li>Fix a bug in the b-tree subsystem that could sometimes cause the first
97 row of a table to be repeated during a database scan.</li>
98}
99
drha7fcb052001-12-14 15:09:55 +0000100chng {2001 Dec 14 (2.1.6)} {
101<li>Fix the locking mechanism yet again to prevent
102 <b>sqlite_exec()</b> from returning SQLITE_PROTOCOL
103 unnecessarily. This time the bug was a race condition in
104 the locking code. This change effects both POSIX and Windows users.</li>
105}
106
drh2cf65aa2001-12-06 13:24:14 +0000107chng {2001 Dec 6 (2.1.5)} {
108<li>Fix for another problem (unrelated to the one fixed in 2.1.4)
109 that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL
110 unnecessarily. This time the bug was
111 in the POSIX locking code and should not effect windows users.</li>
112}
113
drhb8ca3072001-12-05 00:21:20 +0000114chng {2001 Dec 4 (2.1.4)} {
drh208611f2001-12-05 00:46:02 +0000115<li>Sometimes <b>sqlite_exec()</b> would return SQLITE_PROTOCOL when it
drhb8ca3072001-12-05 00:21:20 +0000116 should have returned SQLITE_BUSY.</li>
117<li>The fix to the previous bug uncovered a deadlock which was also
118 fixed.</li>
drh6ff13852001-11-25 13:18:23 +0000119<li>Add the ability to put a single .command in the second argument
120 of the sqlite shell</li>
drhb8ca3072001-12-05 00:21:20 +0000121<li>Updates to the FAQ</li>
drh6ff13852001-11-25 13:18:23 +0000122}
123
drh7a7c7392001-11-24 00:31:46 +0000124chng {2001 Nov 23 (2.1.3)} {
125<li>Fix the behavior of comparison operators
126 (ex: "<b>&lt</b>", "<b>==</b>", etc.)
127 so that they are consistent with the order of entries in an index.</li>
128<li>Correct handling of integers in SQL expressions that are larger than
129 what can be represented by the machine integer.</li>
130}
131
drhf5bf0a72001-11-23 00:24:12 +0000132chng {2001 Nov 22 (2.1.2)} {
drh5a2c2c22001-11-21 02:21:11 +0000133<li>Changes to support 64-bit architectures.</li>
drhc3a64ba2001-11-22 00:01:27 +0000134<li>Fix a bug in the locking protocol.</li>
drhf5bf0a72001-11-23 00:24:12 +0000135<li>Fix a bug that could (rarely) cause the database to become
136 unreadable after a DROP TABLE due to corruption to the SQLITE_MASTER
137 table.</li>
138<li>Change the code so that version 2.1.1 databases that were rendered
139 unreadable by the above bug can be read by this version of
140 the library even though the SQLITE_MASTER table is (slightly)
141 corrupted.</li>
drh5a2c2c22001-11-21 02:21:11 +0000142}
143
drhf6e515b2001-11-13 19:36:55 +0000144chng {2001 Nov 13 (2.1.1)} {
145<li>Bug fix: Sometimes arbirary strings were passed to the callback
146 function when the actual value of a column was NULL.</li>
147}
148
drh7900ead2001-11-12 13:51:43 +0000149chng {2001 Nov 12 (2.1.0)} {
drh80ff32f2001-11-04 18:32:46 +0000150<li>Change the format of data records so that records up to 16MB in size
151 can be stored.</li>
drh17e24df2001-11-06 14:10:41 +0000152<li>Change the format of indices to allow for better query optimization.</li>
153<li>Implement the "LIMIT ... OFFSET ..." clause on SELECT statements.</li>
drh80ff32f2001-11-04 18:32:46 +0000154}
155
drh0f246782001-11-03 23:59:16 +0000156chng {2001 Nov 3 (2.0.8)} {
157<li>Made selected parameters in API functions <b>const</b>. This should
158 be fully backwards compatible.</li>
drh33f51c92001-10-31 15:44:46 +0000159<li>Documentation updates</li>
drha8b38d22001-11-01 14:41:34 +0000160<li>Simplify the design of the VDBE by restricting the number of sorters
161 and lists to 1.
drhf5bf0a72001-11-23 00:24:12 +0000162 In practice, no more than one sorter and one list was ever used anyhow.
drha8b38d22001-11-01 14:41:34 +0000163 </li>
drh33f51c92001-10-31 15:44:46 +0000164}
165
drh6d4abfb2001-10-22 02:58:08 +0000166chng {2001 Oct 21 (2.0.7)} {
167<li>Any UTF-8 character or ISO8859 character can be used as part of
168 an identifier.</li>
169<li>Patches from Christian Werner to improve ODBC compatibility and to
170 fix a bug in the round() function.</li>
171<li>Plug some memory leaks that use to occur if malloc() failed.
172 We have been and continue to be memory leak free as long as
173 malloc() works.</li>
174<li>Changes to some test scripts so that they work on Windows in
175 addition to Unix.</li>
drh01a34662001-10-20 12:30:10 +0000176}
177
drh6a535342001-10-19 16:44:56 +0000178chng {2001 Oct 19 (2.0.6)} {
179<li>Added the EMPTY_RESULT_CALLBACKS pragma</li>
drh98808ba2001-10-18 12:34:46 +0000180<li>Support for UTF-8 and ISO8859 characters in column and table names.</li>
181<li>Bug fix: Compute correct table names with the FULL_COLUMN_NAMES pragma
182 is turned on.</li>
183}
184
drh1bee3d72001-10-15 00:44:35 +0000185chng {2001 Oct 14 (2.0.5)} {
186<li>Added the COUNT_CHANGES pragma.</li>
187<li>Changes to the FULL_COLUMN_NAMES pragma to help out the ODBC driver.</li>
188<li>Bug fix: "SELECT count(*)" was returning NULL for empty tables.
189 Now it returns 0.</li>
190}
191
drhe21a5732001-10-13 21:56:34 +0000192chng {2001 Oct 13 (2.0.4)} {
193<li>Bug fix: an abscure and relatively harmless bug was causing one of
194 the tests to fail when gcc optimizations are turned on. This release
195 fixes the problem.</li>
196}
197
drhbf4133c2001-10-13 02:59:08 +0000198chng {2001 Oct 13 (2.0.3)} {
drh81a20f22001-10-12 17:30:04 +0000199<li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000
200 times too long before failing.</li>
201<li>Bug fix: an assertion was failing if the disk holding the database
202 file became full or stopped accepting writes for some other reason.
203 New tests were added to detect similar problems in the future.</li>
drhbf4133c2001-10-13 02:59:08 +0000204<li>Added new operators: <b>&amp;</b> (bitwise-and)
205 <b>|</b> (bitwise-or), <b>~</b> (ones-complement),
206 <b>&lt;&lt;</b> (shift left), <b>&gt;&gt;</b> (shift right).</li>
207<li>Added new functions: <b>round()</b> and <b>abs()</b>.</li>
drh81a20f22001-10-12 17:30:04 +0000208}
209
drh286f11a2001-10-09 04:21:50 +0000210chng {2001 Oct 9 (2.0.2)} {
drhff0839c2001-10-09 12:39:24 +0000211<li>Fix two bugs in the locking protocol. (One was masking the other.)</li>
drh382c0242001-10-06 16:33:02 +0000212<li>Removed some unused "#include <unistd.h>" that were causing problems
213 for VC++.</li>
drhf57b3392001-10-08 13:22:32 +0000214<li>Fixed <b>sqlite.h</b> so that it is usable from C++</li>
drh382c0242001-10-06 16:33:02 +0000215<li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of
216 columns are reported back as TABLE.COLUMN instead of just COLUMN.</li>
drhad75e982001-10-09 04:19:46 +0000217<li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the
218 ODBC interface.</li>
drhf57b3392001-10-08 13:22:32 +0000219<li>Added support for TEMPORARY tables and indices.</li>
drh382c0242001-10-06 16:33:02 +0000220}
221
drh100569d2001-10-02 13:01:48 +0000222chng {2001 Oct 2 (2.0.1)} {
223<li>Remove some C++ style comments from btree.c so that it will compile
224 using compilers other than gcc.</li>
drh33048c02001-10-01 14:29:22 +0000225<li>The ".dump" output from the shell does not work if there are embedded
226 newlines anywhere in the data. This is an old bug that was carried
227 forward from version 1.0. To fix it, the ".dump" output no longer
228 uses the COPY command. It instead generates INSERT statements.</li>
229<li>Extend the expression syntax to support "expr NOT NULL" (with a
230 space between the "NOT" and the "NULL") in addition to "expr NOTNULL"
231 (with no space).</li>
232}
233
drh90ca9752001-09-28 17:47:14 +0000234chng {2001 Sep 28 (2.0.0)} {
235<li>Automatically build binaries for Linux and Windows and put them on
236 the website.</li>
237}
238
239chng {2001 Sep 28 (2.0-alpha-4)} {
240<li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li>
241}
242
drh60c309b2001-09-27 15:13:40 +0000243chng {2001 Sep 27 (2.0-alpha-3)} {
drh717e6402001-09-27 03:22:32 +0000244<li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary
drh60c309b2001-09-27 15:13:40 +0000245 keys are required to be unique.</li>
246<li>File format changed back to what it was for alpha-1</li>
drh90bfcda2001-09-23 19:46:51 +0000247<li>Fixes to the rollback and locking behavior</li>
248}
249
drh4aa85c42001-09-20 12:32:53 +0000250chng {2001 Sep 20 (2.0-alpha-2)} {
drhb19a2bc2001-09-16 00:13:26 +0000251<li>Initial release of version 2.0. The idea of renaming the library
252 to "SQLus" was abandoned in favor of keeping the "SQLite" name and
253 bumping the major version number.</li>
254<li>The pager and btree subsystems added back. They are now the only
255 available backend.</li>
256<li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li>
257<li>Copyright on all code was disclaimed. The library is now in the
258 public domain.</li>
259}
260
drh87c40e82001-07-23 14:33:02 +0000261chng {2001 Jul 23 (1.0.32)} {
262<li>Pager and btree subsystems removed. These will be used in a follow-on
263 SQL server library named "SQLus".</li>
264<li>Add the ability to use quoted strings as table and column names in
265 expressions.</li>
266}
267
drhd9b02572001-04-15 00:37:09 +0000268chng {2001 Apr 14 (1.0.31)} {
269<li>Pager subsystem added but not yet used.</li>
drhdaffd0e2001-04-11 14:28:42 +0000270<li>More robust handling of out-of-memory errors.</li>
drhd1bf3512001-04-07 15:24:33 +0000271<li>New tests added to the test suite.</li>
272}
273
drh818041a2001-04-06 16:15:27 +0000274chng {2001 Apr 6 (1.0.30)} {
275<li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
276 in the previous version.</li>
277<li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
278 <b>sqlite</b> TCL command.</li>
279<li>Add tests to make sure that tclsqlite was compiled using Tcl header
280 files and libraries that match.</li>
281}
282
drhe17a7e32001-04-04 21:10:18 +0000283chng {2001 Apr 5 (1.0.29)} {
drh6f63c252001-04-05 16:25:53 +0000284<li>The library now assumes data is stored as UTF-8 if the --enable-utf8
285 option is given to configure. The default behavior is to assume
286 iso8859-x, as it has always done. This only makes a difference for
287 LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
288<li>If the library is not configured for UTF-8 and the Tcl library
289 is one of the newer ones that uses UTF-8 internally,
290 then a conversion from UTF-8 to iso8859 and
drh297ecf12001-04-05 15:57:13 +0000291 back again is done inside the TCL interface.</li>
drhe17a7e32001-04-04 21:10:18 +0000292}
293
drhc4a3c772001-04-04 11:48:57 +0000294chng {2001 Apr 4 (1.0.28)} {
295<li>Added limited support for transactions. At this point, transactions
296 will do table locking on the GDBM backend. There is no support (yet)
297 for rollback or atomic commit.</li>
298<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
299 unique random integer key associated with every row of every table.</li>
300<li>Additional tests added to the regression suite to cover the new ROWID
301 feature and the TCL interface bugs mentioned below.</li>
drh960e8c62001-04-03 16:53:21 +0000302<li>Changes to the "lemon" parser generator to help it work better when
303 compiled using MSVC.</li>
304<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
305}
306
drh0353ced2001-03-20 22:05:00 +0000307chng {2001 Mar 20 (1.0.27)} {
308<li>When doing DELETE and UPDATE, the library used to write the record
309 numbers of records to be deleted or updated into a temporary file.
310 This is changed so that the record numbers are held in memory.</li>
311<li>The DELETE command without a WHILE clause just removes the database
312 files from the disk, rather than going through and deleting record
313 by record.</li>
314}
315
drh3494ffe2001-03-20 12:55:13 +0000316chng {2001 Mar 20 (1.0.26)} {
317<li>A serious bug fixed on Windows. Windows users should upgrade.
318 No impact to Unix.</li>
319}
320
drhdb25e382001-03-15 18:21:22 +0000321chng {2001 Mar 15 (1.0.25)} {
322<li>Modify the test scripts to identify tests that depend on system
323 load and processor speed and
324 to warn the user that a failure of one of those (rare) tests does
325 not necessarily mean the library is malfunctioning. No changes to
326 code.
327 </li>
328}
329
330chng {2001 Mar 14 (1.0.24)} {
331<li>Fix a bug which was causing
drhb8525d92001-03-14 12:54:11 +0000332 the UPDATE command to fail on systems where "malloc(0)" returns
drhb0729502001-03-14 12:35:57 +0000333 NULL. The problem does not appear Windows, Linux, or HPUX but does
334 cause the library to fail on QNX.
335 </li>
336}
337
drhe53dea12001-02-19 23:48:16 +0000338chng {2001 Feb 19 (1.0.23)} {
339<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
340 for figuring out where to put temporary files for a "memory:" database
341 was not working quite right.
342 </li>
343}
344
drh573bd272001-02-19 23:23:38 +0000345chng {2001 Feb 19 (1.0.22)} {
346<li>The previous fix was not quite right. This one seems to work better.
347 </li>
348}
349
drh4f3c63e2001-02-19 18:24:21 +0000350chng {2001 Feb 19 (1.0.21)} {
351<li>The UPDATE statement was not working when the WHERE clause contained
352 some terms that could be satisfied using indices and other terms that
353 could not. Fixed.</li>
354}
355
drh338ea132001-02-11 16:56:24 +0000356chng {2001 Feb 11 (1.0.20)} {
357<li>Merge development changes into the main trunk. Future work toward
358 using a BTree file structure will use a separate CVS source tree. This
359 CVS tree will continue to support the GDBM version of SQLite only.</li>
360}
361
362chng {2001 Feb 6 (1.0.19)} {
363<li>Fix a strange (but valid) C declaration that was causing problems
364 for QNX. No logical changes.</li>
365}
366
drha2e1bb52001-01-04 14:20:18 +0000367chng {2001 Jan 4 (1.0.18)} {
368<li>Print the offending SQL statement when an error occurs.</li>
369<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +0000370<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +0000371<li>Changes to comments.</li>
372}
373
drh8c82b352000-12-10 18:23:50 +0000374chng {2000 Dec 10 (1.0.17)} {
375<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
376<li>Minor tweaks to other code to make it run a little faster.</li>
377<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
378}
379
380chng {2000 Dec 4 (1.0.16)} {
381<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
382}
383
drh8c3052c2000-10-23 13:16:31 +0000384chng {2000 Oct 23 (1.0.15)} {
385<li>Documentation updates</li>
386<li>Some sanity checking code was removed from the inner loop of vdbe.c
387 to help the library to run a little faster. The code is only
388 removed if you compile with -DNDEBUG.</li>
389}
390
drh767c2002000-10-19 14:10:08 +0000391chng {2000 Oct 19 (1.0.14)} {
392<li>Added a "memory:" backend driver that stores its database in an
393 in-memory hash table.</li>
394}
395
drhbb0b6792000-10-19 01:49:02 +0000396chng {2000 Oct 18 (1.0.13)} {
397<li>Break out the GDBM driver into a separate file in anticipation
398 to added new drivers.</li>
399<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +0000400 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +0000401}
402
drh9b1eb482000-10-17 01:31:22 +0000403chng {2000 Oct 16 (1.0.12)} {
404<li>Fixed an off-by-one error that was causing a coredump in
405 the '%q' format directive of the new
406 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +0000407<li>Added the <b>sqlite_interrupt()</b> interface.</li>
408<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
409 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +0000410<li>Fixed some instances where <b>sqlite_exec()</b> was
411 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +0000412}
413
drh611ad212000-10-16 22:09:38 +0000414chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +0000415<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +0000416<li>Removed a few variables that were not being used. Etc.</li>
417}
418
drha18c5682000-10-08 22:20:57 +0000419chng {2000 Oct 8 (1.0.9)} {
420<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
421<li>Modified the <b>sqlite</b> shell program to use the new interface
422 routines.</li>
423<li>Modified the <b>sqlite</b> shell program to print the schema for
424 the built-in SQLITE_MASTER table, if explicitly requested.</li>
425}
426
drh9b0d0a82000-09-30 22:46:05 +0000427chng {2000 Sep 30 (1.0.8)} {
428<li>Begin writing documentation on the TCL interface.</li>
429}
430
drhe3710332000-09-29 13:30:53 +0000431chng {2000 Sep 29 (Not Released)} {
432<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000433<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000434<li>Modified the <b>sqlite</b> shell to make use of the new
435 sqlite_get_table() API in order to print a list of tables
436 in multiple columns, similar to the way "ls" prints filenames.</li>
437<li>Modified the <b>sqlite</b> shell to print a semicolon at the
438 end of each CREATE statement in the output of the ".schema" command.</li>
439}
440
drh6d313162000-09-21 13:01:35 +0000441chng {2000 Sep 21 (Not Released)} {
442<li>Change the tclsqlite "eval" method to return a list of results if
443 no callback script is specified.</li>
444<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
445<li>Add tclsqlite.c to the libsqlite.a library</li>
446}
447
drha5c2ad02000-09-14 01:21:10 +0000448chng {2000 Sep 13 (Version 1.0.5)} {
449<li>Changed the print format for floating point values from "%g" to "%.15g".
450 </li>
451<li>Changed the comparison function so that numbers in exponential notation
452 (ex: 1.234e+05) sort in numerical order.</li>
453}
454
drhff6e9112000-08-28 16:21:58 +0000455chng {2000 Aug 28 (Version 1.0.4)} {
456<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
457<li>Fix a bug in the <b>sqlite</b> shell program that was causing
458 a coredump when the output mode was "column" and the first row
459 of data contained a NULL.</li>
460}
461
drh63e27412000-08-22 18:29:33 +0000462chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000463<li>In the sqlite shell, print the "Database opened READ ONLY" message
464 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000465<li>In the sqlite shell, now print the version number on initial startup.</li>
466<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000467<li>Makefile updates</li>
468<li>Bug fix: incorrect VDBE code was being generated for the following
469 circumstance: a query on an indexed table containing a WHERE clause with
470 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000471}
472
drhbbd4a752000-08-18 09:33:39 +0000473chng {2000 Aug 18 (Version 1.0.1)} {
474<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000475<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000476}
477
drh303aaa72000-08-17 10:22:34 +0000478chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000479<li>Change the <b>sqlite</b> program so that it can read
480 databases for which it lacks write permission. (It used to
481 refuse all access if it could not write.)</li>
482}
483
drh30cab802000-08-09 17:17:25 +0000484chng {2000 Aug 9} {
485<li>Treat carriage returns as white space.</li>
486}
487
drha50da102000-08-08 20:19:09 +0000488chng {2000 Aug 8} {
489<li>Added pattern matching to the ".table" command in the "sqlite"
490command shell.</li>
491}
492
drh2758db22000-08-04 13:52:30 +0000493chng {2000 Aug 4} {
494<li>Documentation updates</li>
495<li>Added "busy" and "timeout" methods to the Tcl interface</li>
496}
497
drhb97bedb2000-08-03 15:09:19 +0000498chng {2000 Aug 3} {
499<li>File format version number was being stored in sqlite_master.tcl
500 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
501}
502
drh353f57e2000-08-02 12:26:28 +0000503chng {2000 Aug 2} {
504<li>The file format for indices was changed slightly in order to work
505 around an inefficiency that can sometimes come up with GDBM when
506 there are large indices having many entries with the same key.
507 <font color="red">** Incompatible Change **</font></li>
508}
509
drhed380d82000-08-01 09:56:27 +0000510chng {2000 Aug 1} {
511<li>The parser's stack was overflowing on a very long UPDATE statement.
512 This is now fixed.</li>
513}
514
drh1050f982000-07-31 11:59:02 +0000515chng {2000 July 31} {
516<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000517<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000518<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000519<li>Fix a configuration problem for HPUX.</li>
520}
521
drhe1b6a5b2000-07-29 13:06:59 +0000522chng {2000 July 29} {
523<li>Better labels on column names of the result.</li>
524}
525
drh2dfbbca2000-07-28 14:32:48 +0000526chng {2000 July 28} {
527<li>Added the <b>sqlite_busy_handler()</b>
528 and <b>sqlite_busy_timeout()</b> interface.</li>
529}
530
drh74c360e2000-06-23 19:16:23 +0000531chng {2000 June 23} {
532<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
533}
534
drh1fd14a72000-06-21 14:00:39 +0000535chng {2000 June 21} {
536<li>Clean up comments and variable names. Changes to documentation.
537 No functional changes to the code.</li>
538}
539
drh6206d502000-06-19 19:09:08 +0000540chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000541<li>Column names in UPDATE statements were case sensitive.
542 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000543}
544
drh00400772000-06-16 20:51:26 +0000545chng {2000 June 16} {
546<li>Added the concatenate string operator (||)</li>
547}
548
drh61fc2c62000-06-12 12:29:25 +0000549chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000550<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
551 returns the number of database "Fetch" operations that have occurred.
552 This function is designed for use in test scripts to verify that
553 queries are efficient and appropriately optimized. Fcnt() has no other
554 useful purpose, as far as I know.</li>
555<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000556 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000557}
558
drhdcc7c742000-06-09 03:51:26 +0000559chng {2000 June 8} {
560<li>Added lots of new test cases</li>
561<li>Fix a few bugs discovered while adding test cases</li>
562<li>Begin adding lots of new documentation</li>
563}
564
drh49c87802000-06-06 18:24:42 +0000565chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000566<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000567<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000568<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
569<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
570<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
drhdb25e382001-03-15 18:21:22 +0000571<li>NULL values are now reported to the callback as a NULL pointer
drh49c87802000-06-06 18:24:42 +0000572 rather than an empty string.</li>
573}
574
drh32aa77e2000-06-03 19:28:48 +0000575chng {2000 June 3} {
576<li>Added support for default values on columns of a table.</li>
577<li>Improved test coverage. Fixed a few obscure bugs found by the
578improved tests.</li>
579}
580
drhbed86902000-06-02 13:27:59 +0000581chng {2000 June 2} {
582<li>All database files to be modified by an UPDATE, INSERT or DELETE are
583now locked before any changes are made to any files.
584This makes it safe (I think) to access
585the same database simultaneously from multiple processes.</li>
586<li>The code appears stable so we are now calling it "beta".</li>
587}
588
589chng {2000 June 1} {
590<li>Better support for file locking so that two or more processes
591(or threads)
592can access the same database simultaneously. More work needed in
593this area, though.</li>
594}
595
drh7203e282000-05-31 15:35:42 +0000596chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000597<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000598to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000599<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000600}
601
drhdce2cbe2000-05-31 02:27:49 +0000602chng {2000 May 30} {
603<li>Added the <b>LIKE</b> operator.</li>
604<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
605but it uses Unix shell globbing wildcards instead of the '%'
606and '_' wildcards of SQL.</li>
607<li>Added the <B>COPY</b> command patterned after
608<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
609can now read the output of the <b>pg_dump</b> database dump utility
610of PostgreSQL.</li>
611<li>Added a <B>VACUUM</B> command that that calls the
612<b>gdbm_reorganize()</b> function on the underlying database
613files.</li>
614<li>And many, many bug fixes...</li>
615}
616
617chng {2000 May 29} {
618<li>Initial Public Release of Alpha code</li>
619}
620
621puts {
622</DL>
623<p><hr /></p>
624<p><a href="index.html"><img src="/goback.jpg" border=0 />
625Back to the SQLite Home Page</a>
626</p>
627
628</body></html>}