blob: 9ca8882b8ce8fb9eb49e9547067013a236460c0e [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
drhc4a3c772001-04-04 11:48:57 +000020chng {2001 Apr 4 (1.0.28)} {
21<li>Added limited support for transactions. At this point, transactions
22 will do table locking on the GDBM backend. There is no support (yet)
23 for rollback or atomic commit.</li>
24<li>Added special column names ROWID, OID, and _ROWID_ that refer to the
25 unique random integer key associated with every row of every table.</li>
26<li>Additional tests added to the regression suite to cover the new ROWID
27 feature and the TCL interface bugs mentioned below.</li>
drh960e8c62001-04-03 16:53:21 +000028<li>Changes to the "lemon" parser generator to help it work better when
29 compiled using MSVC.</li>
30<li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
31}
32
drh0353ced2001-03-20 22:05:00 +000033chng {2001 Mar 20 (1.0.27)} {
34<li>When doing DELETE and UPDATE, the library used to write the record
35 numbers of records to be deleted or updated into a temporary file.
36 This is changed so that the record numbers are held in memory.</li>
37<li>The DELETE command without a WHILE clause just removes the database
38 files from the disk, rather than going through and deleting record
39 by record.</li>
40}
41
drh3494ffe2001-03-20 12:55:13 +000042chng {2001 Mar 20 (1.0.26)} {
43<li>A serious bug fixed on Windows. Windows users should upgrade.
44 No impact to Unix.</li>
45}
46
drhdb25e382001-03-15 18:21:22 +000047chng {2001 Mar 15 (1.0.25)} {
48<li>Modify the test scripts to identify tests that depend on system
49 load and processor speed and
50 to warn the user that a failure of one of those (rare) tests does
51 not necessarily mean the library is malfunctioning. No changes to
52 code.
53 </li>
54}
55
56chng {2001 Mar 14 (1.0.24)} {
57<li>Fix a bug which was causing
drhb8525d92001-03-14 12:54:11 +000058 the UPDATE command to fail on systems where "malloc(0)" returns
drhb0729502001-03-14 12:35:57 +000059 NULL. The problem does not appear Windows, Linux, or HPUX but does
60 cause the library to fail on QNX.
61 </li>
62}
63
drhe53dea12001-02-19 23:48:16 +000064chng {2001 Feb 19 (1.0.23)} {
65<li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
66 for figuring out where to put temporary files for a "memory:" database
67 was not working quite right.
68 </li>
69}
70
drh573bd272001-02-19 23:23:38 +000071chng {2001 Feb 19 (1.0.22)} {
72<li>The previous fix was not quite right. This one seems to work better.
73 </li>
74}
75
drh4f3c63e2001-02-19 18:24:21 +000076chng {2001 Feb 19 (1.0.21)} {
77<li>The UPDATE statement was not working when the WHERE clause contained
78 some terms that could be satisfied using indices and other terms that
79 could not. Fixed.</li>
80}
81
drh338ea132001-02-11 16:56:24 +000082chng {2001 Feb 11 (1.0.20)} {
83<li>Merge development changes into the main trunk. Future work toward
84 using a BTree file structure will use a separate CVS source tree. This
85 CVS tree will continue to support the GDBM version of SQLite only.</li>
86}
87
88chng {2001 Feb 6 (1.0.19)} {
89<li>Fix a strange (but valid) C declaration that was causing problems
90 for QNX. No logical changes.</li>
91}
92
drha2e1bb52001-01-04 14:20:18 +000093chng {2001 Jan 4 (1.0.18)} {
94<li>Print the offending SQL statement when an error occurs.</li>
95<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +000096<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +000097<li>Changes to comments.</li>
98}
99
drh8c82b352000-12-10 18:23:50 +0000100chng {2000 Dec 10 (1.0.17)} {
101<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
102<li>Minor tweaks to other code to make it run a little faster.</li>
103<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
104}
105
106chng {2000 Dec 4 (1.0.16)} {
107<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
108}
109
drh8c3052c2000-10-23 13:16:31 +0000110chng {2000 Oct 23 (1.0.15)} {
111<li>Documentation updates</li>
112<li>Some sanity checking code was removed from the inner loop of vdbe.c
113 to help the library to run a little faster. The code is only
114 removed if you compile with -DNDEBUG.</li>
115}
116
drh767c2002000-10-19 14:10:08 +0000117chng {2000 Oct 19 (1.0.14)} {
118<li>Added a "memory:" backend driver that stores its database in an
119 in-memory hash table.</li>
120}
121
drhbb0b6792000-10-19 01:49:02 +0000122chng {2000 Oct 18 (1.0.13)} {
123<li>Break out the GDBM driver into a separate file in anticipation
124 to added new drivers.</li>
125<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +0000126 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +0000127}
128
drh9b1eb482000-10-17 01:31:22 +0000129chng {2000 Oct 16 (1.0.12)} {
130<li>Fixed an off-by-one error that was causing a coredump in
131 the '%q' format directive of the new
132 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +0000133<li>Added the <b>sqlite_interrupt()</b> interface.</li>
134<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
135 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +0000136<li>Fixed some instances where <b>sqlite_exec()</b> was
137 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +0000138}
139
drh611ad212000-10-16 22:09:38 +0000140chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +0000141<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +0000142<li>Removed a few variables that were not being used. Etc.</li>
143}
144
drha18c5682000-10-08 22:20:57 +0000145chng {2000 Oct 8 (1.0.9)} {
146<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
147<li>Modified the <b>sqlite</b> shell program to use the new interface
148 routines.</li>
149<li>Modified the <b>sqlite</b> shell program to print the schema for
150 the built-in SQLITE_MASTER table, if explicitly requested.</li>
151}
152
drh9b0d0a82000-09-30 22:46:05 +0000153chng {2000 Sep 30 (1.0.8)} {
154<li>Begin writing documentation on the TCL interface.</li>
155}
156
drhe3710332000-09-29 13:30:53 +0000157chng {2000 Sep 29 (Not Released)} {
158<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000159<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000160<li>Modified the <b>sqlite</b> shell to make use of the new
161 sqlite_get_table() API in order to print a list of tables
162 in multiple columns, similar to the way "ls" prints filenames.</li>
163<li>Modified the <b>sqlite</b> shell to print a semicolon at the
164 end of each CREATE statement in the output of the ".schema" command.</li>
165}
166
drh6d313162000-09-21 13:01:35 +0000167chng {2000 Sep 21 (Not Released)} {
168<li>Change the tclsqlite "eval" method to return a list of results if
169 no callback script is specified.</li>
170<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
171<li>Add tclsqlite.c to the libsqlite.a library</li>
172}
173
drha5c2ad02000-09-14 01:21:10 +0000174chng {2000 Sep 13 (Version 1.0.5)} {
175<li>Changed the print format for floating point values from "%g" to "%.15g".
176 </li>
177<li>Changed the comparison function so that numbers in exponential notation
178 (ex: 1.234e+05) sort in numerical order.</li>
179}
180
drhff6e9112000-08-28 16:21:58 +0000181chng {2000 Aug 28 (Version 1.0.4)} {
182<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
183<li>Fix a bug in the <b>sqlite</b> shell program that was causing
184 a coredump when the output mode was "column" and the first row
185 of data contained a NULL.</li>
186}
187
drh63e27412000-08-22 18:29:33 +0000188chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000189<li>In the sqlite shell, print the "Database opened READ ONLY" message
190 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000191<li>In the sqlite shell, now print the version number on initial startup.</li>
192<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000193<li>Makefile updates</li>
194<li>Bug fix: incorrect VDBE code was being generated for the following
195 circumstance: a query on an indexed table containing a WHERE clause with
196 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000197}
198
drhbbd4a752000-08-18 09:33:39 +0000199chng {2000 Aug 18 (Version 1.0.1)} {
200<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000201<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000202}
203
drh303aaa72000-08-17 10:22:34 +0000204chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000205<li>Change the <b>sqlite</b> program so that it can read
206 databases for which it lacks write permission. (It used to
207 refuse all access if it could not write.)</li>
208}
209
drh30cab802000-08-09 17:17:25 +0000210chng {2000 Aug 9} {
211<li>Treat carriage returns as white space.</li>
212}
213
drha50da102000-08-08 20:19:09 +0000214chng {2000 Aug 8} {
215<li>Added pattern matching to the ".table" command in the "sqlite"
216command shell.</li>
217}
218
drh2758db22000-08-04 13:52:30 +0000219chng {2000 Aug 4} {
220<li>Documentation updates</li>
221<li>Added "busy" and "timeout" methods to the Tcl interface</li>
222}
223
drhb97bedb2000-08-03 15:09:19 +0000224chng {2000 Aug 3} {
225<li>File format version number was being stored in sqlite_master.tcl
226 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
227}
228
drh353f57e2000-08-02 12:26:28 +0000229chng {2000 Aug 2} {
230<li>The file format for indices was changed slightly in order to work
231 around an inefficiency that can sometimes come up with GDBM when
232 there are large indices having many entries with the same key.
233 <font color="red">** Incompatible Change **</font></li>
234}
235
drhed380d82000-08-01 09:56:27 +0000236chng {2000 Aug 1} {
237<li>The parser's stack was overflowing on a very long UPDATE statement.
238 This is now fixed.</li>
239}
240
drh1050f982000-07-31 11:59:02 +0000241chng {2000 July 31} {
242<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000243<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000244<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000245<li>Fix a configuration problem for HPUX.</li>
246}
247
drhe1b6a5b2000-07-29 13:06:59 +0000248chng {2000 July 29} {
249<li>Better labels on column names of the result.</li>
250}
251
drh2dfbbca2000-07-28 14:32:48 +0000252chng {2000 July 28} {
253<li>Added the <b>sqlite_busy_handler()</b>
254 and <b>sqlite_busy_timeout()</b> interface.</li>
255}
256
drh74c360e2000-06-23 19:16:23 +0000257chng {2000 June 23} {
258<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
259}
260
drh1fd14a72000-06-21 14:00:39 +0000261chng {2000 June 21} {
262<li>Clean up comments and variable names. Changes to documentation.
263 No functional changes to the code.</li>
264}
265
drh6206d502000-06-19 19:09:08 +0000266chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000267<li>Column names in UPDATE statements were case sensitive.
268 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000269}
270
drh00400772000-06-16 20:51:26 +0000271chng {2000 June 16} {
272<li>Added the concatenate string operator (||)</li>
273}
274
drh61fc2c62000-06-12 12:29:25 +0000275chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000276<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
277 returns the number of database "Fetch" operations that have occurred.
278 This function is designed for use in test scripts to verify that
279 queries are efficient and appropriately optimized. Fcnt() has no other
280 useful purpose, as far as I know.</li>
281<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000282 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000283}
284
drhdcc7c742000-06-09 03:51:26 +0000285chng {2000 June 8} {
286<li>Added lots of new test cases</li>
287<li>Fix a few bugs discovered while adding test cases</li>
288<li>Begin adding lots of new documentation</li>
289}
290
drh49c87802000-06-06 18:24:42 +0000291chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000292<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000293<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000294<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
295<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
296<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
drhdb25e382001-03-15 18:21:22 +0000297<li>NULL values are now reported to the callback as a NULL pointer
drh49c87802000-06-06 18:24:42 +0000298 rather than an empty string.</li>
299}
300
drh32aa77e2000-06-03 19:28:48 +0000301chng {2000 June 3} {
302<li>Added support for default values on columns of a table.</li>
303<li>Improved test coverage. Fixed a few obscure bugs found by the
304improved tests.</li>
305}
306
drhbed86902000-06-02 13:27:59 +0000307chng {2000 June 2} {
308<li>All database files to be modified by an UPDATE, INSERT or DELETE are
309now locked before any changes are made to any files.
310This makes it safe (I think) to access
311the same database simultaneously from multiple processes.</li>
312<li>The code appears stable so we are now calling it "beta".</li>
313}
314
315chng {2000 June 1} {
316<li>Better support for file locking so that two or more processes
317(or threads)
318can access the same database simultaneously. More work needed in
319this area, though.</li>
320}
321
drh7203e282000-05-31 15:35:42 +0000322chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000323<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000324to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000325<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000326}
327
drhdce2cbe2000-05-31 02:27:49 +0000328chng {2000 May 30} {
329<li>Added the <b>LIKE</b> operator.</li>
330<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
331but it uses Unix shell globbing wildcards instead of the '%'
332and '_' wildcards of SQL.</li>
333<li>Added the <B>COPY</b> command patterned after
334<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
335can now read the output of the <b>pg_dump</b> database dump utility
336of PostgreSQL.</li>
337<li>Added a <B>VACUUM</B> command that that calls the
338<b>gdbm_reorganize()</b> function on the underlying database
339files.</li>
340<li>And many, many bug fixes...</li>
341}
342
343chng {2000 May 29} {
344<li>Initial Public Release of Alpha code</li>
345}
346
347puts {
348</DL>
349<p><hr /></p>
350<p><a href="index.html"><img src="/goback.jpg" border=0 />
351Back to the SQLite Home Page</a>
352</p>
353
354</body></html>}