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