drh | dce2cbe | 2000-05-31 02:27:49 +0000 | [diff] [blame] | 1 | # |
| 2 | # Run this script to generated a changes.html output file |
| 3 | # |
| 4 | puts {<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 | |
| 15 | proc chng {date desc} { |
| 16 | puts "<DT><B>$date</B></DT>" |
| 17 | puts "<DD><P><UL>$desc</UL></P></DD>" |
| 18 | } |
| 19 | |
drh | 3494ffe | 2001-03-20 12:55:13 +0000 | [diff] [blame^] | 20 | chng {2001 Mar 20 (1.0.26)} { |
| 21 | <li>A serious bug fixed on Windows. Windows users should upgrade. |
| 22 | No impact to Unix.</li> |
| 23 | } |
| 24 | |
drh | db25e38 | 2001-03-15 18:21:22 +0000 | [diff] [blame] | 25 | chng {2001 Mar 15 (1.0.25)} { |
| 26 | <li>Modify the test scripts to identify tests that depend on system |
| 27 | load and processor speed and |
| 28 | to warn the user that a failure of one of those (rare) tests does |
| 29 | not necessarily mean the library is malfunctioning. No changes to |
| 30 | code. |
| 31 | </li> |
| 32 | } |
| 33 | |
| 34 | chng {2001 Mar 14 (1.0.24)} { |
| 35 | <li>Fix a bug which was causing |
drh | b8525d9 | 2001-03-14 12:54:11 +0000 | [diff] [blame] | 36 | the UPDATE command to fail on systems where "malloc(0)" returns |
drh | b072950 | 2001-03-14 12:35:57 +0000 | [diff] [blame] | 37 | NULL. The problem does not appear Windows, Linux, or HPUX but does |
| 38 | cause the library to fail on QNX. |
| 39 | </li> |
| 40 | } |
| 41 | |
drh | e53dea1 | 2001-02-19 23:48:16 +0000 | [diff] [blame] | 42 | chng {2001 Feb 19 (1.0.23)} { |
| 43 | <li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm |
| 44 | for figuring out where to put temporary files for a "memory:" database |
| 45 | was not working quite right. |
| 46 | </li> |
| 47 | } |
| 48 | |
drh | 573bd27 | 2001-02-19 23:23:38 +0000 | [diff] [blame] | 49 | chng {2001 Feb 19 (1.0.22)} { |
| 50 | <li>The previous fix was not quite right. This one seems to work better. |
| 51 | </li> |
| 52 | } |
| 53 | |
drh | 4f3c63e | 2001-02-19 18:24:21 +0000 | [diff] [blame] | 54 | chng {2001 Feb 19 (1.0.21)} { |
| 55 | <li>The UPDATE statement was not working when the WHERE clause contained |
| 56 | some terms that could be satisfied using indices and other terms that |
| 57 | could not. Fixed.</li> |
| 58 | } |
| 59 | |
drh | 338ea13 | 2001-02-11 16:56:24 +0000 | [diff] [blame] | 60 | chng {2001 Feb 11 (1.0.20)} { |
| 61 | <li>Merge development changes into the main trunk. Future work toward |
| 62 | using a BTree file structure will use a separate CVS source tree. This |
| 63 | CVS tree will continue to support the GDBM version of SQLite only.</li> |
| 64 | } |
| 65 | |
| 66 | chng {2001 Feb 6 (1.0.19)} { |
| 67 | <li>Fix a strange (but valid) C declaration that was causing problems |
| 68 | for QNX. No logical changes.</li> |
| 69 | } |
| 70 | |
drh | a2e1bb5 | 2001-01-04 14:20:18 +0000 | [diff] [blame] | 71 | chng {2001 Jan 4 (1.0.18)} { |
| 72 | <li>Print the offending SQL statement when an error occurs.</li> |
| 73 | <li>Do not require commas between constraints in CREATE TABLE statements.</li> |
drh | 660f68d | 2001-01-04 14:27:07 +0000 | [diff] [blame] | 74 | <li>Added the "-echo" option to the shell.</li> |
drh | a2e1bb5 | 2001-01-04 14:20:18 +0000 | [diff] [blame] | 75 | <li>Changes to comments.</li> |
| 76 | } |
| 77 | |
drh | 8c82b35 | 2000-12-10 18:23:50 +0000 | [diff] [blame] | 78 | chng {2000 Dec 10 (1.0.17)} { |
| 79 | <li>Rewrote <b>sqlite_complete()</b> to make it faster.</li> |
| 80 | <li>Minor tweaks to other code to make it run a little faster.</li> |
| 81 | <li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li> |
| 82 | } |
| 83 | |
| 84 | chng {2000 Dec 4 (1.0.16)} { |
| 85 | <li>Documentation updates. Mostly fixing of typos and spelling errors.</li> |
| 86 | } |
| 87 | |
drh | 8c3052c | 2000-10-23 13:16:31 +0000 | [diff] [blame] | 88 | chng {2000 Oct 23 (1.0.15)} { |
| 89 | <li>Documentation updates</li> |
| 90 | <li>Some sanity checking code was removed from the inner loop of vdbe.c |
| 91 | to help the library to run a little faster. The code is only |
| 92 | removed if you compile with -DNDEBUG.</li> |
| 93 | } |
| 94 | |
drh | 767c200 | 2000-10-19 14:10:08 +0000 | [diff] [blame] | 95 | chng {2000 Oct 19 (1.0.14)} { |
| 96 | <li>Added a "memory:" backend driver that stores its database in an |
| 97 | in-memory hash table.</li> |
| 98 | } |
| 99 | |
drh | bb0b679 | 2000-10-19 01:49:02 +0000 | [diff] [blame] | 100 | chng {2000 Oct 18 (1.0.13)} { |
| 101 | <li>Break out the GDBM driver into a separate file in anticipation |
| 102 | to added new drivers.</li> |
| 103 | <li>Allow the name of a database to be prefixed by the driver type. |
drh | 8c82b35 | 2000-12-10 18:23:50 +0000 | [diff] [blame] | 104 | For now, the only driver type is "gdbm:".</li> |
drh | bb0b679 | 2000-10-19 01:49:02 +0000 | [diff] [blame] | 105 | } |
| 106 | |
drh | 9b1eb48 | 2000-10-17 01:31:22 +0000 | [diff] [blame] | 107 | chng {2000 Oct 16 (1.0.12)} { |
| 108 | <li>Fixed an off-by-one error that was causing a coredump in |
| 109 | the '%q' format directive of the new |
| 110 | <b>sqlite_..._printf()</b> routines.</li> |
drh | 4c50439 | 2000-10-16 22:06:40 +0000 | [diff] [blame] | 111 | <li>Added the <b>sqlite_interrupt()</b> interface.</li> |
| 112 | <li>In the shell, <b>sqlite_interrupt()</b> is invoked when the |
| 113 | user presses Control-C</li> |
drh | 1afad7c | 2000-10-16 22:11:57 +0000 | [diff] [blame] | 114 | <li>Fixed some instances where <b>sqlite_exec()</b> was |
| 115 | returning the wrong error code.</li> |
drh | 4c50439 | 2000-10-16 22:06:40 +0000 | [diff] [blame] | 116 | } |
| 117 | |
drh | 611ad21 | 2000-10-16 22:09:38 +0000 | [diff] [blame] | 118 | chng {2000 Oct 11 (1.0.10)} { |
drh | 7c68d60 | 2000-10-11 19:28:51 +0000 | [diff] [blame] | 119 | <li>Added notes on how to compile for Windows95/98.</li> |
drh | 7c68d60 | 2000-10-11 19:28:51 +0000 | [diff] [blame] | 120 | <li>Removed a few variables that were not being used. Etc.</li> |
| 121 | } |
| 122 | |
drh | a18c568 | 2000-10-08 22:20:57 +0000 | [diff] [blame] | 123 | chng {2000 Oct 8 (1.0.9)} { |
| 124 | <li>Added the <b>sqlite_..._printf()</b> interface routines.</li> |
| 125 | <li>Modified the <b>sqlite</b> shell program to use the new interface |
| 126 | routines.</li> |
| 127 | <li>Modified the <b>sqlite</b> shell program to print the schema for |
| 128 | the built-in SQLITE_MASTER table, if explicitly requested.</li> |
| 129 | } |
| 130 | |
drh | 9b0d0a8 | 2000-09-30 22:46:05 +0000 | [diff] [blame] | 131 | chng {2000 Sep 30 (1.0.8)} { |
| 132 | <li>Begin writing documentation on the TCL interface.</li> |
| 133 | } |
| 134 | |
drh | e371033 | 2000-09-29 13:30:53 +0000 | [diff] [blame] | 135 | chng {2000 Sep 29 (Not Released)} { |
| 136 | <li>Added the <b>sqlite_get_table()</b> API</li> |
drh | 98699b5 | 2000-10-09 12:57:00 +0000 | [diff] [blame] | 137 | <li>Updated the documentation for due to the above change.</li> |
drh | e371033 | 2000-09-29 13:30:53 +0000 | [diff] [blame] | 138 | <li>Modified the <b>sqlite</b> shell to make use of the new |
| 139 | sqlite_get_table() API in order to print a list of tables |
| 140 | in multiple columns, similar to the way "ls" prints filenames.</li> |
| 141 | <li>Modified the <b>sqlite</b> shell to print a semicolon at the |
| 142 | end of each CREATE statement in the output of the ".schema" command.</li> |
| 143 | } |
| 144 | |
drh | 6d31316 | 2000-09-21 13:01:35 +0000 | [diff] [blame] | 145 | chng {2000 Sep 21 (Not Released)} { |
| 146 | <li>Change the tclsqlite "eval" method to return a list of results if |
| 147 | no callback script is specified.</li> |
| 148 | <li>Change tclsqlite.c to use the Tcl_Obj interface</li> |
| 149 | <li>Add tclsqlite.c to the libsqlite.a library</li> |
| 150 | } |
| 151 | |
drh | a5c2ad0 | 2000-09-14 01:21:10 +0000 | [diff] [blame] | 152 | chng {2000 Sep 13 (Version 1.0.5)} { |
| 153 | <li>Changed the print format for floating point values from "%g" to "%.15g". |
| 154 | </li> |
| 155 | <li>Changed the comparison function so that numbers in exponential notation |
| 156 | (ex: 1.234e+05) sort in numerical order.</li> |
| 157 | } |
| 158 | |
drh | ff6e911 | 2000-08-28 16:21:58 +0000 | [diff] [blame] | 159 | chng {2000 Aug 28 (Version 1.0.4)} { |
| 160 | <li>Added functions <b>length()</b> and <b>substr()</b>.</li> |
| 161 | <li>Fix a bug in the <b>sqlite</b> shell program that was causing |
| 162 | a coredump when the output mode was "column" and the first row |
| 163 | of data contained a NULL.</li> |
| 164 | } |
| 165 | |
drh | 63e2741 | 2000-08-22 18:29:33 +0000 | [diff] [blame] | 166 | chng {2000 Aug 22 (Version 1.0.3)} { |
drh | 80afdca | 2000-08-22 13:27:22 +0000 | [diff] [blame] | 167 | <li>In the sqlite shell, print the "Database opened READ ONLY" message |
| 168 | to stderr instead of stdout.</li> |
drh | 4b1fb13 | 2000-08-22 13:43:28 +0000 | [diff] [blame] | 169 | <li>In the sqlite shell, now print the version number on initial startup.</li> |
| 170 | <li>Add the <b>sqlite_version[]</b> string constant to the library</li> |
drh | 63e2741 | 2000-08-22 18:29:33 +0000 | [diff] [blame] | 171 | <li>Makefile updates</li> |
| 172 | <li>Bug fix: incorrect VDBE code was being generated for the following |
| 173 | circumstance: a query on an indexed table containing a WHERE clause with |
| 174 | an IN operator that had a subquery on its right-hand side.</li> |
drh | 80afdca | 2000-08-22 13:27:22 +0000 | [diff] [blame] | 175 | } |
| 176 | |
drh | bbd4a75 | 2000-08-18 09:33:39 +0000 | [diff] [blame] | 177 | chng {2000 Aug 18 (Version 1.0.1)} { |
| 178 | <li>Fix a bug in the configure script.</li> |
drh | ea1fea5 | 2000-08-18 09:58:51 +0000 | [diff] [blame] | 179 | <li>Minor revisions to the website.</li> |
drh | bbd4a75 | 2000-08-18 09:33:39 +0000 | [diff] [blame] | 180 | } |
| 181 | |
drh | 303aaa7 | 2000-08-17 10:22:34 +0000 | [diff] [blame] | 182 | chng {2000 Aug 17 (Version 1.0)} { |
drh | 167a4b1 | 2000-08-17 09:49:59 +0000 | [diff] [blame] | 183 | <li>Change the <b>sqlite</b> program so that it can read |
| 184 | databases for which it lacks write permission. (It used to |
| 185 | refuse all access if it could not write.)</li> |
| 186 | } |
| 187 | |
drh | 30cab80 | 2000-08-09 17:17:25 +0000 | [diff] [blame] | 188 | chng {2000 Aug 9} { |
| 189 | <li>Treat carriage returns as white space.</li> |
| 190 | } |
| 191 | |
drh | a50da10 | 2000-08-08 20:19:09 +0000 | [diff] [blame] | 192 | chng {2000 Aug 8} { |
| 193 | <li>Added pattern matching to the ".table" command in the "sqlite" |
| 194 | command shell.</li> |
| 195 | } |
| 196 | |
drh | 2758db2 | 2000-08-04 13:52:30 +0000 | [diff] [blame] | 197 | chng {2000 Aug 4} { |
| 198 | <li>Documentation updates</li> |
| 199 | <li>Added "busy" and "timeout" methods to the Tcl interface</li> |
| 200 | } |
| 201 | |
drh | b97bedb | 2000-08-03 15:09:19 +0000 | [diff] [blame] | 202 | chng {2000 Aug 3} { |
| 203 | <li>File format version number was being stored in sqlite_master.tcl |
| 204 | multiple times. This was harmless, but unnecessary. It is now fixed.</li> |
| 205 | } |
| 206 | |
drh | 353f57e | 2000-08-02 12:26:28 +0000 | [diff] [blame] | 207 | chng {2000 Aug 2} { |
| 208 | <li>The file format for indices was changed slightly in order to work |
| 209 | around an inefficiency that can sometimes come up with GDBM when |
| 210 | there are large indices having many entries with the same key. |
| 211 | <font color="red">** Incompatible Change **</font></li> |
| 212 | } |
| 213 | |
drh | ed380d8 | 2000-08-01 09:56:27 +0000 | [diff] [blame] | 214 | chng {2000 Aug 1} { |
| 215 | <li>The parser's stack was overflowing on a very long UPDATE statement. |
| 216 | This is now fixed.</li> |
| 217 | } |
| 218 | |
drh | 1050f98 | 2000-07-31 11:59:02 +0000 | [diff] [blame] | 219 | chng {2000 July 31} { |
| 220 | <li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li> |
drh | 867f9ee | 2000-07-31 18:56:15 +0000 | [diff] [blame] | 221 | <li>Added documentation on compiling to WindowsNT.</li> |
drh | d075260 | 2000-07-31 14:10:47 +0000 | [diff] [blame] | 222 | <li>Fix a configuration program for WindowsNT.</li> |
drh | 1050f98 | 2000-07-31 11:59:02 +0000 | [diff] [blame] | 223 | <li>Fix a configuration problem for HPUX.</li> |
| 224 | } |
| 225 | |
drh | e1b6a5b | 2000-07-29 13:06:59 +0000 | [diff] [blame] | 226 | chng {2000 July 29} { |
| 227 | <li>Better labels on column names of the result.</li> |
| 228 | } |
| 229 | |
drh | 2dfbbca | 2000-07-28 14:32:48 +0000 | [diff] [blame] | 230 | chng {2000 July 28} { |
| 231 | <li>Added the <b>sqlite_busy_handler()</b> |
| 232 | and <b>sqlite_busy_timeout()</b> interface.</li> |
| 233 | } |
| 234 | |
drh | 74c360e | 2000-06-23 19:16:23 +0000 | [diff] [blame] | 235 | chng {2000 June 23} { |
| 236 | <li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li> |
| 237 | } |
| 238 | |
drh | 1fd14a7 | 2000-06-21 14:00:39 +0000 | [diff] [blame] | 239 | chng {2000 June 21} { |
| 240 | <li>Clean up comments and variable names. Changes to documentation. |
| 241 | No functional changes to the code.</li> |
| 242 | } |
| 243 | |
drh | 6206d50 | 2000-06-19 19:09:08 +0000 | [diff] [blame] | 244 | chng {2000 June 19} { |
drh | 7ed1990 | 2000-06-19 19:10:28 +0000 | [diff] [blame] | 245 | <li>Column names in UPDATE statements were case sensitive. |
| 246 | This mistake has now been fixed.</li> |
drh | 6206d50 | 2000-06-19 19:09:08 +0000 | [diff] [blame] | 247 | } |
| 248 | |
drh | 0040077 | 2000-06-16 20:51:26 +0000 | [diff] [blame] | 249 | chng {2000 June 16} { |
| 250 | <li>Added the concatenate string operator (||)</li> |
| 251 | } |
| 252 | |
drh | 61fc2c6 | 2000-06-12 12:29:25 +0000 | [diff] [blame] | 253 | chng {2000 June 12} { |
drh | e91cd0c | 2000-06-12 12:36:36 +0000 | [diff] [blame] | 254 | <li>Added the fcnt() function to the SQL interpreter. The fcnt() function |
| 255 | returns the number of database "Fetch" operations that have occurred. |
| 256 | This function is designed for use in test scripts to verify that |
| 257 | queries are efficient and appropriately optimized. Fcnt() has no other |
| 258 | useful purpose, as far as I know.</li> |
| 259 | <li>Added a bunch more tests that take advantage of the new fcnt() function. |
drh | 61fc2c6 | 2000-06-12 12:29:25 +0000 | [diff] [blame] | 260 | The new tests did not uncover any new problems.</li> |
drh | 6de4f4c | 2000-06-12 12:20:48 +0000 | [diff] [blame] | 261 | } |
| 262 | |
drh | dcc7c74 | 2000-06-09 03:51:26 +0000 | [diff] [blame] | 263 | chng {2000 June 8} { |
| 264 | <li>Added lots of new test cases</li> |
| 265 | <li>Fix a few bugs discovered while adding test cases</li> |
| 266 | <li>Begin adding lots of new documentation</li> |
| 267 | } |
| 268 | |
drh | 49c8780 | 2000-06-06 18:24:42 +0000 | [diff] [blame] | 269 | chng {2000 June 6} { |
drh | 37f0b25 | 2000-06-09 03:52:04 +0000 | [diff] [blame] | 270 | <li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>, |
drh | f500577 | 2000-06-06 22:19:00 +0000 | [diff] [blame] | 271 | <b>INTERSECT</b>, and <b>EXCEPT</b></li> |
drh | 49c8780 | 2000-06-06 18:24:42 +0000 | [diff] [blame] | 272 | <li>Added support for using <b>(SELECT ...)</b> within expressions</li> |
| 273 | <li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li> |
| 274 | <li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li> |
drh | db25e38 | 2001-03-15 18:21:22 +0000 | [diff] [blame] | 275 | <li>NULL values are now reported to the callback as a NULL pointer |
drh | 49c8780 | 2000-06-06 18:24:42 +0000 | [diff] [blame] | 276 | rather than an empty string.</li> |
| 277 | } |
| 278 | |
drh | 32aa77e | 2000-06-03 19:28:48 +0000 | [diff] [blame] | 279 | chng {2000 June 3} { |
| 280 | <li>Added support for default values on columns of a table.</li> |
| 281 | <li>Improved test coverage. Fixed a few obscure bugs found by the |
| 282 | improved tests.</li> |
| 283 | } |
| 284 | |
drh | bed8690 | 2000-06-02 13:27:59 +0000 | [diff] [blame] | 285 | chng {2000 June 2} { |
| 286 | <li>All database files to be modified by an UPDATE, INSERT or DELETE are |
| 287 | now locked before any changes are made to any files. |
| 288 | This makes it safe (I think) to access |
| 289 | the same database simultaneously from multiple processes.</li> |
| 290 | <li>The code appears stable so we are now calling it "beta".</li> |
| 291 | } |
| 292 | |
| 293 | chng {2000 June 1} { |
| 294 | <li>Better support for file locking so that two or more processes |
| 295 | (or threads) |
| 296 | can access the same database simultaneously. More work needed in |
| 297 | this area, though.</li> |
| 298 | } |
| 299 | |
drh | 7203e28 | 2000-05-31 15:35:42 +0000 | [diff] [blame] | 300 | chng {2000 May 31} { |
drh | bf66fff | 2000-05-31 15:43:25 +0000 | [diff] [blame] | 301 | <li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>) |
drh | cce7d17 | 2000-05-31 15:34:51 +0000 | [diff] [blame] | 302 | to the SELECT statement.</li> |
drh | 56d48ad | 2000-05-31 21:06:30 +0000 | [diff] [blame] | 303 | <li>Added support for <B>SELECT DISTINCT ...</B></li> |
drh | cce7d17 | 2000-05-31 15:34:51 +0000 | [diff] [blame] | 304 | } |
| 305 | |
drh | dce2cbe | 2000-05-31 02:27:49 +0000 | [diff] [blame] | 306 | chng {2000 May 30} { |
| 307 | <li>Added the <b>LIKE</b> operator.</li> |
| 308 | <li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B> |
| 309 | but it uses Unix shell globbing wildcards instead of the '%' |
| 310 | and '_' wildcards of SQL.</li> |
| 311 | <li>Added the <B>COPY</b> command patterned after |
| 312 | <a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite |
| 313 | can now read the output of the <b>pg_dump</b> database dump utility |
| 314 | of PostgreSQL.</li> |
| 315 | <li>Added a <B>VACUUM</B> command that that calls the |
| 316 | <b>gdbm_reorganize()</b> function on the underlying database |
| 317 | files.</li> |
| 318 | <li>And many, many bug fixes...</li> |
| 319 | } |
| 320 | |
| 321 | chng {2000 May 29} { |
| 322 | <li>Initial Public Release of Alpha code</li> |
| 323 | } |
| 324 | |
| 325 | puts { |
| 326 | </DL> |
| 327 | <p><hr /></p> |
| 328 | <p><a href="index.html"><img src="/goback.jpg" border=0 /> |
| 329 | Back to the SQLite Home Page</a> |
| 330 | </p> |
| 331 | |
| 332 | </body></html>} |