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