blob: c208eed05ac6babbe0b0756938a01b5633c2c27a [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
drh573bd272001-02-19 23:23:38 +000020chng {2001 Feb 19 (1.0.22)} {
21<li>The previous fix was not quite right. This one seems to work better.
22 </li>
23}
24
drh4f3c63e2001-02-19 18:24:21 +000025chng {2001 Feb 19 (1.0.21)} {
26<li>The UPDATE statement was not working when the WHERE clause contained
27 some terms that could be satisfied using indices and other terms that
28 could not. Fixed.</li>
29}
30
drh338ea132001-02-11 16:56:24 +000031chng {2001 Feb 11 (1.0.20)} {
32<li>Merge development changes into the main trunk. Future work toward
33 using a BTree file structure will use a separate CVS source tree. This
34 CVS tree will continue to support the GDBM version of SQLite only.</li>
35}
36
37chng {2001 Feb 6 (1.0.19)} {
38<li>Fix a strange (but valid) C declaration that was causing problems
39 for QNX. No logical changes.</li>
40}
41
drha2e1bb52001-01-04 14:20:18 +000042chng {2001 Jan 4 (1.0.18)} {
43<li>Print the offending SQL statement when an error occurs.</li>
44<li>Do not require commas between constraints in CREATE TABLE statements.</li>
drh660f68d2001-01-04 14:27:07 +000045<li>Added the "-echo" option to the shell.</li>
drha2e1bb52001-01-04 14:20:18 +000046<li>Changes to comments.</li>
47}
48
drh8c82b352000-12-10 18:23:50 +000049chng {2000 Dec 10 (1.0.17)} {
50<li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
51<li>Minor tweaks to other code to make it run a little faster.</li>
52<li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
53}
54
55chng {2000 Dec 4 (1.0.16)} {
56<li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
57}
58
drh8c3052c2000-10-23 13:16:31 +000059chng {2000 Oct 23 (1.0.15)} {
60<li>Documentation updates</li>
61<li>Some sanity checking code was removed from the inner loop of vdbe.c
62 to help the library to run a little faster. The code is only
63 removed if you compile with -DNDEBUG.</li>
64}
65
drh767c2002000-10-19 14:10:08 +000066chng {2000 Oct 19 (1.0.14)} {
67<li>Added a "memory:" backend driver that stores its database in an
68 in-memory hash table.</li>
69}
70
drhbb0b6792000-10-19 01:49:02 +000071chng {2000 Oct 18 (1.0.13)} {
72<li>Break out the GDBM driver into a separate file in anticipation
73 to added new drivers.</li>
74<li>Allow the name of a database to be prefixed by the driver type.
drh8c82b352000-12-10 18:23:50 +000075 For now, the only driver type is "gdbm:".</li>
drhbb0b6792000-10-19 01:49:02 +000076}
77
drh9b1eb482000-10-17 01:31:22 +000078chng {2000 Oct 16 (1.0.12)} {
79<li>Fixed an off-by-one error that was causing a coredump in
80 the '%q' format directive of the new
81 <b>sqlite_..._printf()</b> routines.</li>
drh4c504392000-10-16 22:06:40 +000082<li>Added the <b>sqlite_interrupt()</b> interface.</li>
83<li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
84 user presses Control-C</li>
drh1afad7c2000-10-16 22:11:57 +000085<li>Fixed some instances where <b>sqlite_exec()</b> was
86 returning the wrong error code.</li>
drh4c504392000-10-16 22:06:40 +000087}
88
drh611ad212000-10-16 22:09:38 +000089chng {2000 Oct 11 (1.0.10)} {
drh7c68d602000-10-11 19:28:51 +000090<li>Added notes on how to compile for Windows95/98.</li>
drh7c68d602000-10-11 19:28:51 +000091<li>Removed a few variables that were not being used. Etc.</li>
92}
93
drha18c5682000-10-08 22:20:57 +000094chng {2000 Oct 8 (1.0.9)} {
95<li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
96<li>Modified the <b>sqlite</b> shell program to use the new interface
97 routines.</li>
98<li>Modified the <b>sqlite</b> shell program to print the schema for
99 the built-in SQLITE_MASTER table, if explicitly requested.</li>
100}
101
drh9b0d0a82000-09-30 22:46:05 +0000102chng {2000 Sep 30 (1.0.8)} {
103<li>Begin writing documentation on the TCL interface.</li>
104}
105
drhe3710332000-09-29 13:30:53 +0000106chng {2000 Sep 29 (Not Released)} {
107<li>Added the <b>sqlite_get_table()</b> API</li>
drh98699b52000-10-09 12:57:00 +0000108<li>Updated the documentation for due to the above change.</li>
drhe3710332000-09-29 13:30:53 +0000109<li>Modified the <b>sqlite</b> shell to make use of the new
110 sqlite_get_table() API in order to print a list of tables
111 in multiple columns, similar to the way "ls" prints filenames.</li>
112<li>Modified the <b>sqlite</b> shell to print a semicolon at the
113 end of each CREATE statement in the output of the ".schema" command.</li>
114}
115
drh6d313162000-09-21 13:01:35 +0000116chng {2000 Sep 21 (Not Released)} {
117<li>Change the tclsqlite "eval" method to return a list of results if
118 no callback script is specified.</li>
119<li>Change tclsqlite.c to use the Tcl_Obj interface</li>
120<li>Add tclsqlite.c to the libsqlite.a library</li>
121}
122
drha5c2ad02000-09-14 01:21:10 +0000123chng {2000 Sep 13 (Version 1.0.5)} {
124<li>Changed the print format for floating point values from "%g" to "%.15g".
125 </li>
126<li>Changed the comparison function so that numbers in exponential notation
127 (ex: 1.234e+05) sort in numerical order.</li>
128}
129
drhff6e9112000-08-28 16:21:58 +0000130chng {2000 Aug 28 (Version 1.0.4)} {
131<li>Added functions <b>length()</b> and <b>substr()</b>.</li>
132<li>Fix a bug in the <b>sqlite</b> shell program that was causing
133 a coredump when the output mode was "column" and the first row
134 of data contained a NULL.</li>
135}
136
drh63e27412000-08-22 18:29:33 +0000137chng {2000 Aug 22 (Version 1.0.3)} {
drh80afdca2000-08-22 13:27:22 +0000138<li>In the sqlite shell, print the "Database opened READ ONLY" message
139 to stderr instead of stdout.</li>
drh4b1fb132000-08-22 13:43:28 +0000140<li>In the sqlite shell, now print the version number on initial startup.</li>
141<li>Add the <b>sqlite_version[]</b> string constant to the library</li>
drh63e27412000-08-22 18:29:33 +0000142<li>Makefile updates</li>
143<li>Bug fix: incorrect VDBE code was being generated for the following
144 circumstance: a query on an indexed table containing a WHERE clause with
145 an IN operator that had a subquery on its right-hand side.</li>
drh80afdca2000-08-22 13:27:22 +0000146}
147
drhbbd4a752000-08-18 09:33:39 +0000148chng {2000 Aug 18 (Version 1.0.1)} {
149<li>Fix a bug in the configure script.</li>
drhea1fea52000-08-18 09:58:51 +0000150<li>Minor revisions to the website.</li>
drhbbd4a752000-08-18 09:33:39 +0000151}
152
drh303aaa72000-08-17 10:22:34 +0000153chng {2000 Aug 17 (Version 1.0)} {
drh167a4b12000-08-17 09:49:59 +0000154<li>Change the <b>sqlite</b> program so that it can read
155 databases for which it lacks write permission. (It used to
156 refuse all access if it could not write.)</li>
157}
158
drh30cab802000-08-09 17:17:25 +0000159chng {2000 Aug 9} {
160<li>Treat carriage returns as white space.</li>
161}
162
drha50da102000-08-08 20:19:09 +0000163chng {2000 Aug 8} {
164<li>Added pattern matching to the ".table" command in the "sqlite"
165command shell.</li>
166}
167
drh2758db22000-08-04 13:52:30 +0000168chng {2000 Aug 4} {
169<li>Documentation updates</li>
170<li>Added "busy" and "timeout" methods to the Tcl interface</li>
171}
172
drhb97bedb2000-08-03 15:09:19 +0000173chng {2000 Aug 3} {
174<li>File format version number was being stored in sqlite_master.tcl
175 multiple times. This was harmless, but unnecessary. It is now fixed.</li>
176}
177
drh353f57e2000-08-02 12:26:28 +0000178chng {2000 Aug 2} {
179<li>The file format for indices was changed slightly in order to work
180 around an inefficiency that can sometimes come up with GDBM when
181 there are large indices having many entries with the same key.
182 <font color="red">** Incompatible Change **</font></li>
183}
184
drhed380d82000-08-01 09:56:27 +0000185chng {2000 Aug 1} {
186<li>The parser's stack was overflowing on a very long UPDATE statement.
187 This is now fixed.</li>
188}
189
drh1050f982000-07-31 11:59:02 +0000190chng {2000 July 31} {
191<li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
drh867f9ee2000-07-31 18:56:15 +0000192<li>Added documentation on compiling to WindowsNT.</li>
drhd0752602000-07-31 14:10:47 +0000193<li>Fix a configuration program for WindowsNT.</li>
drh1050f982000-07-31 11:59:02 +0000194<li>Fix a configuration problem for HPUX.</li>
195}
196
drhe1b6a5b2000-07-29 13:06:59 +0000197chng {2000 July 29} {
198<li>Better labels on column names of the result.</li>
199}
200
drh2dfbbca2000-07-28 14:32:48 +0000201chng {2000 July 28} {
202<li>Added the <b>sqlite_busy_handler()</b>
203 and <b>sqlite_busy_timeout()</b> interface.</li>
204}
205
drh74c360e2000-06-23 19:16:23 +0000206chng {2000 June 23} {
207<li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
208}
209
drh1fd14a72000-06-21 14:00:39 +0000210chng {2000 June 21} {
211<li>Clean up comments and variable names. Changes to documentation.
212 No functional changes to the code.</li>
213}
214
drh6206d502000-06-19 19:09:08 +0000215chng {2000 June 19} {
drh7ed19902000-06-19 19:10:28 +0000216<li>Column names in UPDATE statements were case sensitive.
217 This mistake has now been fixed.</li>
drh6206d502000-06-19 19:09:08 +0000218}
219
drh00400772000-06-16 20:51:26 +0000220chng {2000 June 16} {
221<li>Added the concatenate string operator (||)</li>
222}
223
drh61fc2c62000-06-12 12:29:25 +0000224chng {2000 June 12} {
drhe91cd0c2000-06-12 12:36:36 +0000225<li>Added the fcnt() function to the SQL interpreter. The fcnt() function
226 returns the number of database "Fetch" operations that have occurred.
227 This function is designed for use in test scripts to verify that
228 queries are efficient and appropriately optimized. Fcnt() has no other
229 useful purpose, as far as I know.</li>
230<li>Added a bunch more tests that take advantage of the new fcnt() function.
drh61fc2c62000-06-12 12:29:25 +0000231 The new tests did not uncover any new problems.</li>
drh6de4f4c2000-06-12 12:20:48 +0000232}
233
drhdcc7c742000-06-09 03:51:26 +0000234chng {2000 June 8} {
235<li>Added lots of new test cases</li>
236<li>Fix a few bugs discovered while adding test cases</li>
237<li>Begin adding lots of new documentation</li>
238}
239
drh49c87802000-06-06 18:24:42 +0000240chng {2000 June 6} {
drh37f0b252000-06-09 03:52:04 +0000241<li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
drhf5005772000-06-06 22:19:00 +0000242<b>INTERSECT</b>, and <b>EXCEPT</b></li>
drh49c87802000-06-06 18:24:42 +0000243<li>Added support for using <b>(SELECT ...)</b> within expressions</li>
244<li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
245<li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
246<li>NULL values are now reported ot the callback as a NULL pointer
247 rather than an empty string.</li>
248}
249
drh32aa77e2000-06-03 19:28:48 +0000250chng {2000 June 3} {
251<li>Added support for default values on columns of a table.</li>
252<li>Improved test coverage. Fixed a few obscure bugs found by the
253improved tests.</li>
254}
255
drhbed86902000-06-02 13:27:59 +0000256chng {2000 June 2} {
257<li>All database files to be modified by an UPDATE, INSERT or DELETE are
258now locked before any changes are made to any files.
259This makes it safe (I think) to access
260the same database simultaneously from multiple processes.</li>
261<li>The code appears stable so we are now calling it "beta".</li>
262}
263
264chng {2000 June 1} {
265<li>Better support for file locking so that two or more processes
266(or threads)
267can access the same database simultaneously. More work needed in
268this area, though.</li>
269}
270
drh7203e282000-05-31 15:35:42 +0000271chng {2000 May 31} {
drhbf66fff2000-05-31 15:43:25 +0000272<li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
drhcce7d172000-05-31 15:34:51 +0000273to the SELECT statement.</li>
drh56d48ad2000-05-31 21:06:30 +0000274<li>Added support for <B>SELECT DISTINCT ...</B></li>
drhcce7d172000-05-31 15:34:51 +0000275}
276
drhdce2cbe2000-05-31 02:27:49 +0000277chng {2000 May 30} {
278<li>Added the <b>LIKE</b> operator.</li>
279<li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
280but it uses Unix shell globbing wildcards instead of the '%'
281and '_' wildcards of SQL.</li>
282<li>Added the <B>COPY</b> command patterned after
283<a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
284can now read the output of the <b>pg_dump</b> database dump utility
285of PostgreSQL.</li>
286<li>Added a <B>VACUUM</B> command that that calls the
287<b>gdbm_reorganize()</b> function on the underlying database
288files.</li>
289<li>And many, many bug fixes...</li>
290}
291
292chng {2000 May 29} {
293<li>Initial Public Release of Alpha code</li>
294}
295
296puts {
297</DL>
298<p><hr /></p>
299<p><a href="index.html"><img src="/goback.jpg" border=0 />
300Back to the SQLite Home Page</a>
301</p>
302
303</body></html>}