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 | af989ba | 2002-01-09 13:35:11 +0000 | [diff] [blame^] | 20 | chng {2002 Jan 9 (2.2.1)} { |
drh | c6b52df | 2002-01-04 03:09:29 +0000 | [diff] [blame] | 21 | <li>Bug fix: An attempt to delete a single row of a table with a WHERE |
| 22 | clause of "ROWID=x" when no such rowid exists was causing an error.</li> |
drh | e638bbf | 2002-01-07 19:04:21 +0000 | [diff] [blame] | 23 | <li>Bug fix: Passing in a NULL as the 3rd parameter to <b>sqlite_open()</b> |
| 24 | would sometimes cause a coredump.</li> |
drh | 74e24cd | 2002-01-09 03:19:59 +0000 | [diff] [blame] | 25 | <li>Bug fix: DROP TABLE followed by a CREATE TABLE with the same name all |
| 26 | within a single transaction was causing a coredump.</li> |
| 27 | <li>Makefile updates from A. Rottmann</li> |
drh | c6b52df | 2002-01-04 03:09:29 +0000 | [diff] [blame] | 28 | } |
| 29 | |
drh | e7ec220 | 2001-12-22 19:27:39 +0000 | [diff] [blame] | 30 | chng {2001 Dec 22 (2.2.0)} { |
| 31 | <li>Columns of type INTEGER PRIMARY KEY are actually used as the primary |
| 32 | key in underlying B-Tree representation of the table.</li> |
| 33 | <li>Several obscure, unrelated bugs were found and fixed while |
| 34 | implemented the integer primary key change of the previous bullet.</li> |
drh | 7c917d1 | 2001-12-16 20:05:05 +0000 | [diff] [blame] | 35 | <li>Added the ability to specify "*" as part of a larger column list in |
| 36 | the result section of a SELECT statement. For example: |
| 37 | <nobr>"<b>SELECT rowid, * FROM table1;</b>"</nobr>.</li> |
| 38 | <li>Updates to comments and documentation.</li> |
| 39 | } |
| 40 | |
drh | 4cbd68f | 2001-12-15 02:58:18 +0000 | [diff] [blame] | 41 | chng {2001 Dec 14 (2.1.7)} { |
| 42 | <li>Fix a bug in <b>CREATE TEMPORARY TABLE</b> which was causing the |
| 43 | table to be initially allocated in the main database file instead |
| 44 | of in the separate temporary file. This bug could cause the library |
drh | c38f3d5 | 2001-12-15 03:00:42 +0000 | [diff] [blame] | 45 | to suffer an assertion failure and it could cause "page leaks" in the |
drh | 4cbd68f | 2001-12-15 02:58:18 +0000 | [diff] [blame] | 46 | main database file. |
| 47 | <li>Fix a bug in the b-tree subsystem that could sometimes cause the first |
| 48 | row of a table to be repeated during a database scan.</li> |
| 49 | } |
| 50 | |
drh | a7fcb05 | 2001-12-14 15:09:55 +0000 | [diff] [blame] | 51 | chng {2001 Dec 14 (2.1.6)} { |
| 52 | <li>Fix the locking mechanism yet again to prevent |
| 53 | <b>sqlite_exec()</b> from returning SQLITE_PROTOCOL |
| 54 | unnecessarily. This time the bug was a race condition in |
| 55 | the locking code. This change effects both POSIX and Windows users.</li> |
| 56 | } |
| 57 | |
drh | 2cf65aa | 2001-12-06 13:24:14 +0000 | [diff] [blame] | 58 | chng {2001 Dec 6 (2.1.5)} { |
| 59 | <li>Fix for another problem (unrelated to the one fixed in 2.1.4) |
| 60 | that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL |
| 61 | unnecessarily. This time the bug was |
| 62 | in the POSIX locking code and should not effect windows users.</li> |
| 63 | } |
| 64 | |
drh | b8ca307 | 2001-12-05 00:21:20 +0000 | [diff] [blame] | 65 | chng {2001 Dec 4 (2.1.4)} { |
drh | 208611f | 2001-12-05 00:46:02 +0000 | [diff] [blame] | 66 | <li>Sometimes <b>sqlite_exec()</b> would return SQLITE_PROTOCOL when it |
drh | b8ca307 | 2001-12-05 00:21:20 +0000 | [diff] [blame] | 67 | should have returned SQLITE_BUSY.</li> |
| 68 | <li>The fix to the previous bug uncovered a deadlock which was also |
| 69 | fixed.</li> |
drh | 6ff1385 | 2001-11-25 13:18:23 +0000 | [diff] [blame] | 70 | <li>Add the ability to put a single .command in the second argument |
| 71 | of the sqlite shell</li> |
drh | b8ca307 | 2001-12-05 00:21:20 +0000 | [diff] [blame] | 72 | <li>Updates to the FAQ</li> |
drh | 6ff1385 | 2001-11-25 13:18:23 +0000 | [diff] [blame] | 73 | } |
| 74 | |
drh | 7a7c739 | 2001-11-24 00:31:46 +0000 | [diff] [blame] | 75 | chng {2001 Nov 23 (2.1.3)} { |
| 76 | <li>Fix the behavior of comparison operators |
| 77 | (ex: "<b><</b>", "<b>==</b>", etc.) |
| 78 | so that they are consistent with the order of entries in an index.</li> |
| 79 | <li>Correct handling of integers in SQL expressions that are larger than |
| 80 | what can be represented by the machine integer.</li> |
| 81 | } |
| 82 | |
drh | f5bf0a7 | 2001-11-23 00:24:12 +0000 | [diff] [blame] | 83 | chng {2001 Nov 22 (2.1.2)} { |
drh | 5a2c2c2 | 2001-11-21 02:21:11 +0000 | [diff] [blame] | 84 | <li>Changes to support 64-bit architectures.</li> |
drh | c3a64ba | 2001-11-22 00:01:27 +0000 | [diff] [blame] | 85 | <li>Fix a bug in the locking protocol.</li> |
drh | f5bf0a7 | 2001-11-23 00:24:12 +0000 | [diff] [blame] | 86 | <li>Fix a bug that could (rarely) cause the database to become |
| 87 | unreadable after a DROP TABLE due to corruption to the SQLITE_MASTER |
| 88 | table.</li> |
| 89 | <li>Change the code so that version 2.1.1 databases that were rendered |
| 90 | unreadable by the above bug can be read by this version of |
| 91 | the library even though the SQLITE_MASTER table is (slightly) |
| 92 | corrupted.</li> |
drh | 5a2c2c2 | 2001-11-21 02:21:11 +0000 | [diff] [blame] | 93 | } |
| 94 | |
drh | f6e515b | 2001-11-13 19:36:55 +0000 | [diff] [blame] | 95 | chng {2001 Nov 13 (2.1.1)} { |
| 96 | <li>Bug fix: Sometimes arbirary strings were passed to the callback |
| 97 | function when the actual value of a column was NULL.</li> |
| 98 | } |
| 99 | |
drh | 7900ead | 2001-11-12 13:51:43 +0000 | [diff] [blame] | 100 | chng {2001 Nov 12 (2.1.0)} { |
drh | 80ff32f | 2001-11-04 18:32:46 +0000 | [diff] [blame] | 101 | <li>Change the format of data records so that records up to 16MB in size |
| 102 | can be stored.</li> |
drh | 17e24df | 2001-11-06 14:10:41 +0000 | [diff] [blame] | 103 | <li>Change the format of indices to allow for better query optimization.</li> |
| 104 | <li>Implement the "LIMIT ... OFFSET ..." clause on SELECT statements.</li> |
drh | 80ff32f | 2001-11-04 18:32:46 +0000 | [diff] [blame] | 105 | } |
| 106 | |
drh | 0f24678 | 2001-11-03 23:59:16 +0000 | [diff] [blame] | 107 | chng {2001 Nov 3 (2.0.8)} { |
| 108 | <li>Made selected parameters in API functions <b>const</b>. This should |
| 109 | be fully backwards compatible.</li> |
drh | 33f51c9 | 2001-10-31 15:44:46 +0000 | [diff] [blame] | 110 | <li>Documentation updates</li> |
drh | a8b38d2 | 2001-11-01 14:41:34 +0000 | [diff] [blame] | 111 | <li>Simplify the design of the VDBE by restricting the number of sorters |
| 112 | and lists to 1. |
drh | f5bf0a7 | 2001-11-23 00:24:12 +0000 | [diff] [blame] | 113 | In practice, no more than one sorter and one list was ever used anyhow. |
drh | a8b38d2 | 2001-11-01 14:41:34 +0000 | [diff] [blame] | 114 | </li> |
drh | 33f51c9 | 2001-10-31 15:44:46 +0000 | [diff] [blame] | 115 | } |
| 116 | |
drh | 6d4abfb | 2001-10-22 02:58:08 +0000 | [diff] [blame] | 117 | chng {2001 Oct 21 (2.0.7)} { |
| 118 | <li>Any UTF-8 character or ISO8859 character can be used as part of |
| 119 | an identifier.</li> |
| 120 | <li>Patches from Christian Werner to improve ODBC compatibility and to |
| 121 | fix a bug in the round() function.</li> |
| 122 | <li>Plug some memory leaks that use to occur if malloc() failed. |
| 123 | We have been and continue to be memory leak free as long as |
| 124 | malloc() works.</li> |
| 125 | <li>Changes to some test scripts so that they work on Windows in |
| 126 | addition to Unix.</li> |
drh | 01a3466 | 2001-10-20 12:30:10 +0000 | [diff] [blame] | 127 | } |
| 128 | |
drh | 6a53534 | 2001-10-19 16:44:56 +0000 | [diff] [blame] | 129 | chng {2001 Oct 19 (2.0.6)} { |
| 130 | <li>Added the EMPTY_RESULT_CALLBACKS pragma</li> |
drh | 98808ba | 2001-10-18 12:34:46 +0000 | [diff] [blame] | 131 | <li>Support for UTF-8 and ISO8859 characters in column and table names.</li> |
| 132 | <li>Bug fix: Compute correct table names with the FULL_COLUMN_NAMES pragma |
| 133 | is turned on.</li> |
| 134 | } |
| 135 | |
drh | 1bee3d7 | 2001-10-15 00:44:35 +0000 | [diff] [blame] | 136 | chng {2001 Oct 14 (2.0.5)} { |
| 137 | <li>Added the COUNT_CHANGES pragma.</li> |
| 138 | <li>Changes to the FULL_COLUMN_NAMES pragma to help out the ODBC driver.</li> |
| 139 | <li>Bug fix: "SELECT count(*)" was returning NULL for empty tables. |
| 140 | Now it returns 0.</li> |
| 141 | } |
| 142 | |
drh | e21a573 | 2001-10-13 21:56:34 +0000 | [diff] [blame] | 143 | chng {2001 Oct 13 (2.0.4)} { |
| 144 | <li>Bug fix: an abscure and relatively harmless bug was causing one of |
| 145 | the tests to fail when gcc optimizations are turned on. This release |
| 146 | fixes the problem.</li> |
| 147 | } |
| 148 | |
drh | bf4133c | 2001-10-13 02:59:08 +0000 | [diff] [blame] | 149 | chng {2001 Oct 13 (2.0.3)} { |
drh | 81a20f2 | 2001-10-12 17:30:04 +0000 | [diff] [blame] | 150 | <li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000 |
| 151 | times too long before failing.</li> |
| 152 | <li>Bug fix: an assertion was failing if the disk holding the database |
| 153 | file became full or stopped accepting writes for some other reason. |
| 154 | New tests were added to detect similar problems in the future.</li> |
drh | bf4133c | 2001-10-13 02:59:08 +0000 | [diff] [blame] | 155 | <li>Added new operators: <b>&</b> (bitwise-and) |
| 156 | <b>|</b> (bitwise-or), <b>~</b> (ones-complement), |
| 157 | <b><<</b> (shift left), <b>>></b> (shift right).</li> |
| 158 | <li>Added new functions: <b>round()</b> and <b>abs()</b>.</li> |
drh | 81a20f2 | 2001-10-12 17:30:04 +0000 | [diff] [blame] | 159 | } |
| 160 | |
drh | 286f11a | 2001-10-09 04:21:50 +0000 | [diff] [blame] | 161 | chng {2001 Oct 9 (2.0.2)} { |
drh | ff0839c | 2001-10-09 12:39:24 +0000 | [diff] [blame] | 162 | <li>Fix two bugs in the locking protocol. (One was masking the other.)</li> |
drh | 382c024 | 2001-10-06 16:33:02 +0000 | [diff] [blame] | 163 | <li>Removed some unused "#include <unistd.h>" that were causing problems |
| 164 | for VC++.</li> |
drh | f57b339 | 2001-10-08 13:22:32 +0000 | [diff] [blame] | 165 | <li>Fixed <b>sqlite.h</b> so that it is usable from C++</li> |
drh | 382c024 | 2001-10-06 16:33:02 +0000 | [diff] [blame] | 166 | <li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of |
| 167 | columns are reported back as TABLE.COLUMN instead of just COLUMN.</li> |
drh | ad75e98 | 2001-10-09 04:19:46 +0000 | [diff] [blame] | 168 | <li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the |
| 169 | ODBC interface.</li> |
drh | f57b339 | 2001-10-08 13:22:32 +0000 | [diff] [blame] | 170 | <li>Added support for TEMPORARY tables and indices.</li> |
drh | 382c024 | 2001-10-06 16:33:02 +0000 | [diff] [blame] | 171 | } |
| 172 | |
drh | 100569d | 2001-10-02 13:01:48 +0000 | [diff] [blame] | 173 | chng {2001 Oct 2 (2.0.1)} { |
| 174 | <li>Remove some C++ style comments from btree.c so that it will compile |
| 175 | using compilers other than gcc.</li> |
drh | 33048c0 | 2001-10-01 14:29:22 +0000 | [diff] [blame] | 176 | <li>The ".dump" output from the shell does not work if there are embedded |
| 177 | newlines anywhere in the data. This is an old bug that was carried |
| 178 | forward from version 1.0. To fix it, the ".dump" output no longer |
| 179 | uses the COPY command. It instead generates INSERT statements.</li> |
| 180 | <li>Extend the expression syntax to support "expr NOT NULL" (with a |
| 181 | space between the "NOT" and the "NULL") in addition to "expr NOTNULL" |
| 182 | (with no space).</li> |
| 183 | } |
| 184 | |
drh | 90ca975 | 2001-09-28 17:47:14 +0000 | [diff] [blame] | 185 | chng {2001 Sep 28 (2.0.0)} { |
| 186 | <li>Automatically build binaries for Linux and Windows and put them on |
| 187 | the website.</li> |
| 188 | } |
| 189 | |
| 190 | chng {2001 Sep 28 (2.0-alpha-4)} { |
| 191 | <li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li> |
| 192 | } |
| 193 | |
drh | 60c309b | 2001-09-27 15:13:40 +0000 | [diff] [blame] | 194 | chng {2001 Sep 27 (2.0-alpha-3)} { |
drh | 717e640 | 2001-09-27 03:22:32 +0000 | [diff] [blame] | 195 | <li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary |
drh | 60c309b | 2001-09-27 15:13:40 +0000 | [diff] [blame] | 196 | keys are required to be unique.</li> |
| 197 | <li>File format changed back to what it was for alpha-1</li> |
drh | 90bfcda | 2001-09-23 19:46:51 +0000 | [diff] [blame] | 198 | <li>Fixes to the rollback and locking behavior</li> |
| 199 | } |
| 200 | |
drh | 4aa85c4 | 2001-09-20 12:32:53 +0000 | [diff] [blame] | 201 | chng {2001 Sep 20 (2.0-alpha-2)} { |
drh | b19a2bc | 2001-09-16 00:13:26 +0000 | [diff] [blame] | 202 | <li>Initial release of version 2.0. The idea of renaming the library |
| 203 | to "SQLus" was abandoned in favor of keeping the "SQLite" name and |
| 204 | bumping the major version number.</li> |
| 205 | <li>The pager and btree subsystems added back. They are now the only |
| 206 | available backend.</li> |
| 207 | <li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li> |
| 208 | <li>Copyright on all code was disclaimed. The library is now in the |
| 209 | public domain.</li> |
| 210 | } |
| 211 | |
drh | 87c40e8 | 2001-07-23 14:33:02 +0000 | [diff] [blame] | 212 | chng {2001 Jul 23 (1.0.32)} { |
| 213 | <li>Pager and btree subsystems removed. These will be used in a follow-on |
| 214 | SQL server library named "SQLus".</li> |
| 215 | <li>Add the ability to use quoted strings as table and column names in |
| 216 | expressions.</li> |
| 217 | } |
| 218 | |
drh | d9b0257 | 2001-04-15 00:37:09 +0000 | [diff] [blame] | 219 | chng {2001 Apr 14 (1.0.31)} { |
| 220 | <li>Pager subsystem added but not yet used.</li> |
drh | daffd0e | 2001-04-11 14:28:42 +0000 | [diff] [blame] | 221 | <li>More robust handling of out-of-memory errors.</li> |
drh | d1bf351 | 2001-04-07 15:24:33 +0000 | [diff] [blame] | 222 | <li>New tests added to the test suite.</li> |
| 223 | } |
| 224 | |
drh | 818041a | 2001-04-06 16:15:27 +0000 | [diff] [blame] | 225 | chng {2001 Apr 6 (1.0.30)} { |
| 226 | <li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced |
| 227 | in the previous version.</li> |
| 228 | <li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the |
| 229 | <b>sqlite</b> TCL command.</li> |
| 230 | <li>Add tests to make sure that tclsqlite was compiled using Tcl header |
| 231 | files and libraries that match.</li> |
| 232 | } |
| 233 | |
drh | e17a7e3 | 2001-04-04 21:10:18 +0000 | [diff] [blame] | 234 | chng {2001 Apr 5 (1.0.29)} { |
drh | 6f63c25 | 2001-04-05 16:25:53 +0000 | [diff] [blame] | 235 | <li>The library now assumes data is stored as UTF-8 if the --enable-utf8 |
| 236 | option is given to configure. The default behavior is to assume |
| 237 | iso8859-x, as it has always done. This only makes a difference for |
| 238 | LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li> |
| 239 | <li>If the library is not configured for UTF-8 and the Tcl library |
| 240 | is one of the newer ones that uses UTF-8 internally, |
| 241 | then a conversion from UTF-8 to iso8859 and |
drh | 297ecf1 | 2001-04-05 15:57:13 +0000 | [diff] [blame] | 242 | back again is done inside the TCL interface.</li> |
drh | e17a7e3 | 2001-04-04 21:10:18 +0000 | [diff] [blame] | 243 | } |
| 244 | |
drh | c4a3c77 | 2001-04-04 11:48:57 +0000 | [diff] [blame] | 245 | chng {2001 Apr 4 (1.0.28)} { |
| 246 | <li>Added limited support for transactions. At this point, transactions |
| 247 | will do table locking on the GDBM backend. There is no support (yet) |
| 248 | for rollback or atomic commit.</li> |
| 249 | <li>Added special column names ROWID, OID, and _ROWID_ that refer to the |
| 250 | unique random integer key associated with every row of every table.</li> |
| 251 | <li>Additional tests added to the regression suite to cover the new ROWID |
| 252 | feature and the TCL interface bugs mentioned below.</li> |
drh | 960e8c6 | 2001-04-03 16:53:21 +0000 | [diff] [blame] | 253 | <li>Changes to the "lemon" parser generator to help it work better when |
| 254 | compiled using MSVC.</li> |
| 255 | <li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li> |
| 256 | } |
| 257 | |
drh | 0353ced | 2001-03-20 22:05:00 +0000 | [diff] [blame] | 258 | chng {2001 Mar 20 (1.0.27)} { |
| 259 | <li>When doing DELETE and UPDATE, the library used to write the record |
| 260 | numbers of records to be deleted or updated into a temporary file. |
| 261 | This is changed so that the record numbers are held in memory.</li> |
| 262 | <li>The DELETE command without a WHILE clause just removes the database |
| 263 | files from the disk, rather than going through and deleting record |
| 264 | by record.</li> |
| 265 | } |
| 266 | |
drh | 3494ffe | 2001-03-20 12:55:13 +0000 | [diff] [blame] | 267 | chng {2001 Mar 20 (1.0.26)} { |
| 268 | <li>A serious bug fixed on Windows. Windows users should upgrade. |
| 269 | No impact to Unix.</li> |
| 270 | } |
| 271 | |
drh | db25e38 | 2001-03-15 18:21:22 +0000 | [diff] [blame] | 272 | chng {2001 Mar 15 (1.0.25)} { |
| 273 | <li>Modify the test scripts to identify tests that depend on system |
| 274 | load and processor speed and |
| 275 | to warn the user that a failure of one of those (rare) tests does |
| 276 | not necessarily mean the library is malfunctioning. No changes to |
| 277 | code. |
| 278 | </li> |
| 279 | } |
| 280 | |
| 281 | chng {2001 Mar 14 (1.0.24)} { |
| 282 | <li>Fix a bug which was causing |
drh | b8525d9 | 2001-03-14 12:54:11 +0000 | [diff] [blame] | 283 | the UPDATE command to fail on systems where "malloc(0)" returns |
drh | b072950 | 2001-03-14 12:35:57 +0000 | [diff] [blame] | 284 | NULL. The problem does not appear Windows, Linux, or HPUX but does |
| 285 | cause the library to fail on QNX. |
| 286 | </li> |
| 287 | } |
| 288 | |
drh | e53dea1 | 2001-02-19 23:48:16 +0000 | [diff] [blame] | 289 | chng {2001 Feb 19 (1.0.23)} { |
| 290 | <li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm |
| 291 | for figuring out where to put temporary files for a "memory:" database |
| 292 | was not working quite right. |
| 293 | </li> |
| 294 | } |
| 295 | |
drh | 573bd27 | 2001-02-19 23:23:38 +0000 | [diff] [blame] | 296 | chng {2001 Feb 19 (1.0.22)} { |
| 297 | <li>The previous fix was not quite right. This one seems to work better. |
| 298 | </li> |
| 299 | } |
| 300 | |
drh | 4f3c63e | 2001-02-19 18:24:21 +0000 | [diff] [blame] | 301 | chng {2001 Feb 19 (1.0.21)} { |
| 302 | <li>The UPDATE statement was not working when the WHERE clause contained |
| 303 | some terms that could be satisfied using indices and other terms that |
| 304 | could not. Fixed.</li> |
| 305 | } |
| 306 | |
drh | 338ea13 | 2001-02-11 16:56:24 +0000 | [diff] [blame] | 307 | chng {2001 Feb 11 (1.0.20)} { |
| 308 | <li>Merge development changes into the main trunk. Future work toward |
| 309 | using a BTree file structure will use a separate CVS source tree. This |
| 310 | CVS tree will continue to support the GDBM version of SQLite only.</li> |
| 311 | } |
| 312 | |
| 313 | chng {2001 Feb 6 (1.0.19)} { |
| 314 | <li>Fix a strange (but valid) C declaration that was causing problems |
| 315 | for QNX. No logical changes.</li> |
| 316 | } |
| 317 | |
drh | a2e1bb5 | 2001-01-04 14:20:18 +0000 | [diff] [blame] | 318 | chng {2001 Jan 4 (1.0.18)} { |
| 319 | <li>Print the offending SQL statement when an error occurs.</li> |
| 320 | <li>Do not require commas between constraints in CREATE TABLE statements.</li> |
drh | 660f68d | 2001-01-04 14:27:07 +0000 | [diff] [blame] | 321 | <li>Added the "-echo" option to the shell.</li> |
drh | a2e1bb5 | 2001-01-04 14:20:18 +0000 | [diff] [blame] | 322 | <li>Changes to comments.</li> |
| 323 | } |
| 324 | |
drh | 8c82b35 | 2000-12-10 18:23:50 +0000 | [diff] [blame] | 325 | chng {2000 Dec 10 (1.0.17)} { |
| 326 | <li>Rewrote <b>sqlite_complete()</b> to make it faster.</li> |
| 327 | <li>Minor tweaks to other code to make it run a little faster.</li> |
| 328 | <li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li> |
| 329 | } |
| 330 | |
| 331 | chng {2000 Dec 4 (1.0.16)} { |
| 332 | <li>Documentation updates. Mostly fixing of typos and spelling errors.</li> |
| 333 | } |
| 334 | |
drh | 8c3052c | 2000-10-23 13:16:31 +0000 | [diff] [blame] | 335 | chng {2000 Oct 23 (1.0.15)} { |
| 336 | <li>Documentation updates</li> |
| 337 | <li>Some sanity checking code was removed from the inner loop of vdbe.c |
| 338 | to help the library to run a little faster. The code is only |
| 339 | removed if you compile with -DNDEBUG.</li> |
| 340 | } |
| 341 | |
drh | 767c200 | 2000-10-19 14:10:08 +0000 | [diff] [blame] | 342 | chng {2000 Oct 19 (1.0.14)} { |
| 343 | <li>Added a "memory:" backend driver that stores its database in an |
| 344 | in-memory hash table.</li> |
| 345 | } |
| 346 | |
drh | bb0b679 | 2000-10-19 01:49:02 +0000 | [diff] [blame] | 347 | chng {2000 Oct 18 (1.0.13)} { |
| 348 | <li>Break out the GDBM driver into a separate file in anticipation |
| 349 | to added new drivers.</li> |
| 350 | <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] | 351 | For now, the only driver type is "gdbm:".</li> |
drh | bb0b679 | 2000-10-19 01:49:02 +0000 | [diff] [blame] | 352 | } |
| 353 | |
drh | 9b1eb48 | 2000-10-17 01:31:22 +0000 | [diff] [blame] | 354 | chng {2000 Oct 16 (1.0.12)} { |
| 355 | <li>Fixed an off-by-one error that was causing a coredump in |
| 356 | the '%q' format directive of the new |
| 357 | <b>sqlite_..._printf()</b> routines.</li> |
drh | 4c50439 | 2000-10-16 22:06:40 +0000 | [diff] [blame] | 358 | <li>Added the <b>sqlite_interrupt()</b> interface.</li> |
| 359 | <li>In the shell, <b>sqlite_interrupt()</b> is invoked when the |
| 360 | user presses Control-C</li> |
drh | 1afad7c | 2000-10-16 22:11:57 +0000 | [diff] [blame] | 361 | <li>Fixed some instances where <b>sqlite_exec()</b> was |
| 362 | returning the wrong error code.</li> |
drh | 4c50439 | 2000-10-16 22:06:40 +0000 | [diff] [blame] | 363 | } |
| 364 | |
drh | 611ad21 | 2000-10-16 22:09:38 +0000 | [diff] [blame] | 365 | chng {2000 Oct 11 (1.0.10)} { |
drh | 7c68d60 | 2000-10-11 19:28:51 +0000 | [diff] [blame] | 366 | <li>Added notes on how to compile for Windows95/98.</li> |
drh | 7c68d60 | 2000-10-11 19:28:51 +0000 | [diff] [blame] | 367 | <li>Removed a few variables that were not being used. Etc.</li> |
| 368 | } |
| 369 | |
drh | a18c568 | 2000-10-08 22:20:57 +0000 | [diff] [blame] | 370 | chng {2000 Oct 8 (1.0.9)} { |
| 371 | <li>Added the <b>sqlite_..._printf()</b> interface routines.</li> |
| 372 | <li>Modified the <b>sqlite</b> shell program to use the new interface |
| 373 | routines.</li> |
| 374 | <li>Modified the <b>sqlite</b> shell program to print the schema for |
| 375 | the built-in SQLITE_MASTER table, if explicitly requested.</li> |
| 376 | } |
| 377 | |
drh | 9b0d0a8 | 2000-09-30 22:46:05 +0000 | [diff] [blame] | 378 | chng {2000 Sep 30 (1.0.8)} { |
| 379 | <li>Begin writing documentation on the TCL interface.</li> |
| 380 | } |
| 381 | |
drh | e371033 | 2000-09-29 13:30:53 +0000 | [diff] [blame] | 382 | chng {2000 Sep 29 (Not Released)} { |
| 383 | <li>Added the <b>sqlite_get_table()</b> API</li> |
drh | 98699b5 | 2000-10-09 12:57:00 +0000 | [diff] [blame] | 384 | <li>Updated the documentation for due to the above change.</li> |
drh | e371033 | 2000-09-29 13:30:53 +0000 | [diff] [blame] | 385 | <li>Modified the <b>sqlite</b> shell to make use of the new |
| 386 | sqlite_get_table() API in order to print a list of tables |
| 387 | in multiple columns, similar to the way "ls" prints filenames.</li> |
| 388 | <li>Modified the <b>sqlite</b> shell to print a semicolon at the |
| 389 | end of each CREATE statement in the output of the ".schema" command.</li> |
| 390 | } |
| 391 | |
drh | 6d31316 | 2000-09-21 13:01:35 +0000 | [diff] [blame] | 392 | chng {2000 Sep 21 (Not Released)} { |
| 393 | <li>Change the tclsqlite "eval" method to return a list of results if |
| 394 | no callback script is specified.</li> |
| 395 | <li>Change tclsqlite.c to use the Tcl_Obj interface</li> |
| 396 | <li>Add tclsqlite.c to the libsqlite.a library</li> |
| 397 | } |
| 398 | |
drh | a5c2ad0 | 2000-09-14 01:21:10 +0000 | [diff] [blame] | 399 | chng {2000 Sep 13 (Version 1.0.5)} { |
| 400 | <li>Changed the print format for floating point values from "%g" to "%.15g". |
| 401 | </li> |
| 402 | <li>Changed the comparison function so that numbers in exponential notation |
| 403 | (ex: 1.234e+05) sort in numerical order.</li> |
| 404 | } |
| 405 | |
drh | ff6e911 | 2000-08-28 16:21:58 +0000 | [diff] [blame] | 406 | chng {2000 Aug 28 (Version 1.0.4)} { |
| 407 | <li>Added functions <b>length()</b> and <b>substr()</b>.</li> |
| 408 | <li>Fix a bug in the <b>sqlite</b> shell program that was causing |
| 409 | a coredump when the output mode was "column" and the first row |
| 410 | of data contained a NULL.</li> |
| 411 | } |
| 412 | |
drh | 63e2741 | 2000-08-22 18:29:33 +0000 | [diff] [blame] | 413 | chng {2000 Aug 22 (Version 1.0.3)} { |
drh | 80afdca | 2000-08-22 13:27:22 +0000 | [diff] [blame] | 414 | <li>In the sqlite shell, print the "Database opened READ ONLY" message |
| 415 | to stderr instead of stdout.</li> |
drh | 4b1fb13 | 2000-08-22 13:43:28 +0000 | [diff] [blame] | 416 | <li>In the sqlite shell, now print the version number on initial startup.</li> |
| 417 | <li>Add the <b>sqlite_version[]</b> string constant to the library</li> |
drh | 63e2741 | 2000-08-22 18:29:33 +0000 | [diff] [blame] | 418 | <li>Makefile updates</li> |
| 419 | <li>Bug fix: incorrect VDBE code was being generated for the following |
| 420 | circumstance: a query on an indexed table containing a WHERE clause with |
| 421 | an IN operator that had a subquery on its right-hand side.</li> |
drh | 80afdca | 2000-08-22 13:27:22 +0000 | [diff] [blame] | 422 | } |
| 423 | |
drh | bbd4a75 | 2000-08-18 09:33:39 +0000 | [diff] [blame] | 424 | chng {2000 Aug 18 (Version 1.0.1)} { |
| 425 | <li>Fix a bug in the configure script.</li> |
drh | ea1fea5 | 2000-08-18 09:58:51 +0000 | [diff] [blame] | 426 | <li>Minor revisions to the website.</li> |
drh | bbd4a75 | 2000-08-18 09:33:39 +0000 | [diff] [blame] | 427 | } |
| 428 | |
drh | 303aaa7 | 2000-08-17 10:22:34 +0000 | [diff] [blame] | 429 | chng {2000 Aug 17 (Version 1.0)} { |
drh | 167a4b1 | 2000-08-17 09:49:59 +0000 | [diff] [blame] | 430 | <li>Change the <b>sqlite</b> program so that it can read |
| 431 | databases for which it lacks write permission. (It used to |
| 432 | refuse all access if it could not write.)</li> |
| 433 | } |
| 434 | |
drh | 30cab80 | 2000-08-09 17:17:25 +0000 | [diff] [blame] | 435 | chng {2000 Aug 9} { |
| 436 | <li>Treat carriage returns as white space.</li> |
| 437 | } |
| 438 | |
drh | a50da10 | 2000-08-08 20:19:09 +0000 | [diff] [blame] | 439 | chng {2000 Aug 8} { |
| 440 | <li>Added pattern matching to the ".table" command in the "sqlite" |
| 441 | command shell.</li> |
| 442 | } |
| 443 | |
drh | 2758db2 | 2000-08-04 13:52:30 +0000 | [diff] [blame] | 444 | chng {2000 Aug 4} { |
| 445 | <li>Documentation updates</li> |
| 446 | <li>Added "busy" and "timeout" methods to the Tcl interface</li> |
| 447 | } |
| 448 | |
drh | b97bedb | 2000-08-03 15:09:19 +0000 | [diff] [blame] | 449 | chng {2000 Aug 3} { |
| 450 | <li>File format version number was being stored in sqlite_master.tcl |
| 451 | multiple times. This was harmless, but unnecessary. It is now fixed.</li> |
| 452 | } |
| 453 | |
drh | 353f57e | 2000-08-02 12:26:28 +0000 | [diff] [blame] | 454 | chng {2000 Aug 2} { |
| 455 | <li>The file format for indices was changed slightly in order to work |
| 456 | around an inefficiency that can sometimes come up with GDBM when |
| 457 | there are large indices having many entries with the same key. |
| 458 | <font color="red">** Incompatible Change **</font></li> |
| 459 | } |
| 460 | |
drh | ed380d8 | 2000-08-01 09:56:27 +0000 | [diff] [blame] | 461 | chng {2000 Aug 1} { |
| 462 | <li>The parser's stack was overflowing on a very long UPDATE statement. |
| 463 | This is now fixed.</li> |
| 464 | } |
| 465 | |
drh | 1050f98 | 2000-07-31 11:59:02 +0000 | [diff] [blame] | 466 | chng {2000 July 31} { |
| 467 | <li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li> |
drh | 867f9ee | 2000-07-31 18:56:15 +0000 | [diff] [blame] | 468 | <li>Added documentation on compiling to WindowsNT.</li> |
drh | d075260 | 2000-07-31 14:10:47 +0000 | [diff] [blame] | 469 | <li>Fix a configuration program for WindowsNT.</li> |
drh | 1050f98 | 2000-07-31 11:59:02 +0000 | [diff] [blame] | 470 | <li>Fix a configuration problem for HPUX.</li> |
| 471 | } |
| 472 | |
drh | e1b6a5b | 2000-07-29 13:06:59 +0000 | [diff] [blame] | 473 | chng {2000 July 29} { |
| 474 | <li>Better labels on column names of the result.</li> |
| 475 | } |
| 476 | |
drh | 2dfbbca | 2000-07-28 14:32:48 +0000 | [diff] [blame] | 477 | chng {2000 July 28} { |
| 478 | <li>Added the <b>sqlite_busy_handler()</b> |
| 479 | and <b>sqlite_busy_timeout()</b> interface.</li> |
| 480 | } |
| 481 | |
drh | 74c360e | 2000-06-23 19:16:23 +0000 | [diff] [blame] | 482 | chng {2000 June 23} { |
| 483 | <li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li> |
| 484 | } |
| 485 | |
drh | 1fd14a7 | 2000-06-21 14:00:39 +0000 | [diff] [blame] | 486 | chng {2000 June 21} { |
| 487 | <li>Clean up comments and variable names. Changes to documentation. |
| 488 | No functional changes to the code.</li> |
| 489 | } |
| 490 | |
drh | 6206d50 | 2000-06-19 19:09:08 +0000 | [diff] [blame] | 491 | chng {2000 June 19} { |
drh | 7ed1990 | 2000-06-19 19:10:28 +0000 | [diff] [blame] | 492 | <li>Column names in UPDATE statements were case sensitive. |
| 493 | This mistake has now been fixed.</li> |
drh | 6206d50 | 2000-06-19 19:09:08 +0000 | [diff] [blame] | 494 | } |
| 495 | |
drh | 0040077 | 2000-06-16 20:51:26 +0000 | [diff] [blame] | 496 | chng {2000 June 16} { |
| 497 | <li>Added the concatenate string operator (||)</li> |
| 498 | } |
| 499 | |
drh | 61fc2c6 | 2000-06-12 12:29:25 +0000 | [diff] [blame] | 500 | chng {2000 June 12} { |
drh | e91cd0c | 2000-06-12 12:36:36 +0000 | [diff] [blame] | 501 | <li>Added the fcnt() function to the SQL interpreter. The fcnt() function |
| 502 | returns the number of database "Fetch" operations that have occurred. |
| 503 | This function is designed for use in test scripts to verify that |
| 504 | queries are efficient and appropriately optimized. Fcnt() has no other |
| 505 | useful purpose, as far as I know.</li> |
| 506 | <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] | 507 | The new tests did not uncover any new problems.</li> |
drh | 6de4f4c | 2000-06-12 12:20:48 +0000 | [diff] [blame] | 508 | } |
| 509 | |
drh | dcc7c74 | 2000-06-09 03:51:26 +0000 | [diff] [blame] | 510 | chng {2000 June 8} { |
| 511 | <li>Added lots of new test cases</li> |
| 512 | <li>Fix a few bugs discovered while adding test cases</li> |
| 513 | <li>Begin adding lots of new documentation</li> |
| 514 | } |
| 515 | |
drh | 49c8780 | 2000-06-06 18:24:42 +0000 | [diff] [blame] | 516 | chng {2000 June 6} { |
drh | 37f0b25 | 2000-06-09 03:52:04 +0000 | [diff] [blame] | 517 | <li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>, |
drh | f500577 | 2000-06-06 22:19:00 +0000 | [diff] [blame] | 518 | <b>INTERSECT</b>, and <b>EXCEPT</b></li> |
drh | 49c8780 | 2000-06-06 18:24:42 +0000 | [diff] [blame] | 519 | <li>Added support for using <b>(SELECT ...)</b> within expressions</li> |
| 520 | <li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li> |
| 521 | <li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li> |
drh | db25e38 | 2001-03-15 18:21:22 +0000 | [diff] [blame] | 522 | <li>NULL values are now reported to the callback as a NULL pointer |
drh | 49c8780 | 2000-06-06 18:24:42 +0000 | [diff] [blame] | 523 | rather than an empty string.</li> |
| 524 | } |
| 525 | |
drh | 32aa77e | 2000-06-03 19:28:48 +0000 | [diff] [blame] | 526 | chng {2000 June 3} { |
| 527 | <li>Added support for default values on columns of a table.</li> |
| 528 | <li>Improved test coverage. Fixed a few obscure bugs found by the |
| 529 | improved tests.</li> |
| 530 | } |
| 531 | |
drh | bed8690 | 2000-06-02 13:27:59 +0000 | [diff] [blame] | 532 | chng {2000 June 2} { |
| 533 | <li>All database files to be modified by an UPDATE, INSERT or DELETE are |
| 534 | now locked before any changes are made to any files. |
| 535 | This makes it safe (I think) to access |
| 536 | the same database simultaneously from multiple processes.</li> |
| 537 | <li>The code appears stable so we are now calling it "beta".</li> |
| 538 | } |
| 539 | |
| 540 | chng {2000 June 1} { |
| 541 | <li>Better support for file locking so that two or more processes |
| 542 | (or threads) |
| 543 | can access the same database simultaneously. More work needed in |
| 544 | this area, though.</li> |
| 545 | } |
| 546 | |
drh | 7203e28 | 2000-05-31 15:35:42 +0000 | [diff] [blame] | 547 | chng {2000 May 31} { |
drh | bf66fff | 2000-05-31 15:43:25 +0000 | [diff] [blame] | 548 | <li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>) |
drh | cce7d17 | 2000-05-31 15:34:51 +0000 | [diff] [blame] | 549 | to the SELECT statement.</li> |
drh | 56d48ad | 2000-05-31 21:06:30 +0000 | [diff] [blame] | 550 | <li>Added support for <B>SELECT DISTINCT ...</B></li> |
drh | cce7d17 | 2000-05-31 15:34:51 +0000 | [diff] [blame] | 551 | } |
| 552 | |
drh | dce2cbe | 2000-05-31 02:27:49 +0000 | [diff] [blame] | 553 | chng {2000 May 30} { |
| 554 | <li>Added the <b>LIKE</b> operator.</li> |
| 555 | <li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B> |
| 556 | but it uses Unix shell globbing wildcards instead of the '%' |
| 557 | and '_' wildcards of SQL.</li> |
| 558 | <li>Added the <B>COPY</b> command patterned after |
| 559 | <a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite |
| 560 | can now read the output of the <b>pg_dump</b> database dump utility |
| 561 | of PostgreSQL.</li> |
| 562 | <li>Added a <B>VACUUM</B> command that that calls the |
| 563 | <b>gdbm_reorganize()</b> function on the underlying database |
| 564 | files.</li> |
| 565 | <li>And many, many bug fixes...</li> |
| 566 | } |
| 567 | |
| 568 | chng {2000 May 29} { |
| 569 | <li>Initial Public Release of Alpha code</li> |
| 570 | } |
| 571 | |
| 572 | puts { |
| 573 | </DL> |
| 574 | <p><hr /></p> |
| 575 | <p><a href="index.html"><img src="/goback.jpg" border=0 /> |
| 576 | Back to the SQLite Home Page</a> |
| 577 | </p> |
| 578 | |
| 579 | </body></html>} |