changes.tcl 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  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. <p>
  11. This file provides a high-level summary of changes to SQLite.
  12. For more detail, refer the the checkin logs generated by
  13. CVS at
  14. <a href="http://cvs.hwaci.com:2080/sqlite/timeline">
  15. http://cvs.hwaci.com:2080/sqlite/timeline</a>.
  16. </p>
  17. <DL>
  18. }
  19. proc chng {date desc} {
  20. puts "<DT><B>$date</B></DT>"
  21. puts "<DD><P><UL>$desc</UL></P></DD>"
  22. }
  23. chng {2002 Jun 17 (2.5.0)} {
  24. <li>Added support for row triggers.</li>
  25. <li>Added SQL-92 compliant handling of NULLs.</li>
  26. <li>Add support for the full SQL-92 join syntax and LEFT OUTER JOINs.</li>
  27. <li>Double-quoted strings interpreted as column names not text literals.</li>
  28. <li>Parse (but do not implement) foreign keys.</li>
  29. <li>Performance improvemenets in the parser, pager, and WHERE clause code
  30. generator.</li>
  31. <li>Make the LIMIT clause work on subqueries. (ORDER BY still does not
  32. work, though.)</li>
  33. <li>Added the "%Q" expansion to sqlite_*_printf().</li>
  34. <li>Bug fixes too numerious to mention (see the change log).</li>
  35. }
  36. chng {2002 May 09 (2.4.12)} {
  37. <li>Added logic to detect when the library API routines are called out
  38. of sequence.</li>
  39. }
  40. chng {2002 May 08 (2.4.11)} {
  41. <li>Bug fix: Column names in the result set were not being generated
  42. correctly for some (rather complex) VIEWs. This could cause a
  43. segfault under certain circumstances.</li>
  44. }
  45. chng {2002 May 02 (2.4.10)} {
  46. <li>Bug fix: Generate correct column headers when a compound SELECT is used
  47. as a subquery.</li>
  48. <li>Added the sqlite_encode_binary() and sqlite_decode_binary() functions to
  49. the source tree. But they are not yet linked into the library.</li>
  50. <li>Documentation updates.</li>
  51. <li>Export the sqlite_changes() function from windows DLLs.</li>
  52. <li>Bug fix: Do not attempt the subquery flattening optimization on queries
  53. that lack a FROM clause. To do so causes a segfault.</li>
  54. }
  55. chng {2002 Apr 21 (2.4.9)} {
  56. <li>Fix a bug that was causing the precompiled binary of SQLITE.EXE to
  57. report "out of memory" under Windows 98.</li>
  58. }
  59. chng {2002 Apr 20 (2.4.8)} {
  60. <li>Make sure VIEWs are created after their corresponding TABLEs in the
  61. output of the <b>.dump</b> command in the shell.</li>
  62. <li>Speed improvements: Do not do synchronous updates on TEMP tables.</li>
  63. <li>Many improvements and enhancements to the shell.</li>
  64. <li>Make the GLOB and LIKE operators functions that can be overridden
  65. by a programmer. This allows, for example, the LIKE operator to
  66. be changed to be case sensitive.</li>
  67. }
  68. chng {2002 Apr 06 (2.4.7)} {
  69. <li>Add the ability to put TABLE.* in the column list of a
  70. SELECT statement.</li>
  71. <li>Permit SELECT statements without a FROM clause.</li>
  72. <li>Added the <b>last_insert_rowid()</b> SQL function.</li>
  73. <li>Do not count rows where the IGNORE conflict resultion occurs in
  74. the row count.</li>
  75. <li>Make sure functions expressions in the VALUES clause of an INSERT
  76. are correct.</li>
  77. <li>Added the <b>sqlite_changes()</b> API function to return the number
  78. of row that changed in the most recent operation.</li>
  79. }
  80. chng {2002 Apr 02 (2.4.6)} {
  81. <li>Bug fix: Correctly handle terms in the WHERE clause of a join that
  82. do not contain a comparison operator.</li>
  83. }
  84. chng {2002 Apr 01 (2.4.5)} {
  85. <li>Bug fix: Correctly handle functions that appear in the WHERE clause
  86. of a join.</li>
  87. <li>When the PRAGMA vdbe_trace=ON is set, correctly print the P3 operand
  88. value when it is a pointer to a structure rather than a pointer to
  89. a string.</li>
  90. <li>When inserting an explicit NULL into an INTEGER PRIMARY KEY, convert
  91. the NULL value into a unique key automatically.</li>
  92. }
  93. chng {2002 Mar 24 (2.4.4)} {
  94. <li>Allow "VIEW" to be a column name</li>
  95. <li>Added support for CASE expressions (patch from Dan Kennedy)</li>
  96. <li>Added RPMS to the delivery (patches from Doug Henry)</li>
  97. <li>Fix typos in the documentation</li>
  98. <li>Cut over configuration management to a new CVS repository with
  99. its own CVSTrac bug tracking system.</li>
  100. }
  101. chng {2002 Mar 22 (2.4.3)} {
  102. <li>Fix a bug in SELECT that occurs when a compound SELECT is used as a
  103. subquery in the FROM of a SELECT.</li>
  104. <li>The <b>sqlite_get_table()</b> function now returns an error if you
  105. give it two or more SELECTs that return different numbers of columns.</li>
  106. }
  107. chng {2002 Mar 14 (2.4.2)} {
  108. <li>Bug fix: Fix an assertion failure that occurred when ROWID was a column
  109. in a SELECT statement on a view.</li>
  110. <li>Bug fix: Fix an uninitialized variable in the VDBE that would could an
  111. assert failure.</li>
  112. <li>Make the os.h header file more robust in detecting when the compile is
  113. for windows and when it is for unix.</li>
  114. }
  115. chng {2002 Mar 13 (2.4.1)} {
  116. <li>Using an unnamed subquery in a FROM clause would cause a segfault.</li>
  117. <li>The parser now insists on seeing a semicolon or the end of input before
  118. executing a statement. This avoids an accidental disaster if the
  119. WHERE keyword is misspelled in an UPDATE or DELETE statement.</li>
  120. }
  121. chng {2002 Mar 10 (2.4.0)} {
  122. <li>Change the name of the sanity_check PRAGMA to <b>integrity_check</b>
  123. and make it available in all compiles.</li>
  124. <li>SELECT min() or max() of an indexed column with no WHERE or GROUP BY
  125. clause is handled as a special case which avoids a complete table scan.</li>
  126. <li>Automatically generated ROWIDs are now sequential.</li>
  127. <li>Do not allow dot-commands of the command-line shell to occur in the
  128. middle of a real SQL command.</li>
  129. <li>Modifications to the "lemon" parser generator so that the parser tables
  130. are 4 times smaller.</li>
  131. <li>Added support for user-defined functions implemented in C.</li>
  132. <li>Added support for new functions: <b>coalesce()</b>, <b>lower()</b>,
  133. <b>upper()</b>, and <b>random()</b>
  134. <li>Added support for VIEWs.</li>
  135. <li>Added the subquery flattening optimizer.</li>
  136. <li>Modified the B-Tree and Pager modules so that disk pages that do not
  137. contain real data (free pages) are not journalled and are not
  138. written from memory back to the disk when they change. This does not
  139. impact database integrity, since the
  140. pages contain no real data, but it does make large INSERT operations
  141. about 2.5 times faster and large DELETEs about 5 times faster.</li>
  142. <li>Made the CACHE_SIZE pragma persistent</li>
  143. <li>Added the SYNCHRONOUS pragma</li>
  144. <li>Fixed a bug that was causing updates to fail inside of transactions when
  145. the database contained a temporary table.</li>
  146. }
  147. chng {2002 Feb 18 (2.3.3)} {
  148. <li>Allow identifiers to be quoted in square brackets, for compatibility
  149. with MS-Access.</li>
  150. <li>Added support for sub-queries in the FROM clause of a SELECT.</li>
  151. <li>More efficient implementation of sqliteFileExists() under Windows.
  152. (by Joel Luscy)</li>
  153. <li>The VALUES clause of an INSERT can now contain expressions, including
  154. scalar SELECT clauses.</li>
  155. <li>Added support for CREATE TABLE AS SELECT</li>
  156. <li>Bug fix: Creating and dropping a table all within a single
  157. transaction was not working.</li>
  158. }
  159. chng {2002 Feb 14 (2.3.2)} {
  160. <li>Bug fix: There was an incorrect assert() in pager.c. The real code was
  161. all correct (as far as is known) so everything should work OK if you
  162. compile with -DNDEBUG=1. When asserts are not disabled, there
  163. could be a fault.</li>
  164. }
  165. chng {2002 Feb 13 (2.3.1)} {
  166. <li>Bug fix: An assertion was failing if "PRAGMA full_column_names=ON;" was
  167. set and you did a query that used a rowid, like this:
  168. "SELECT rowid, * FROM ...".</li>
  169. }
  170. chng {2002 Jan 30 (2.3.0)} {
  171. <li>Fix a serious bug in the INSERT command which was causing data to go
  172. into the wrong columns if the data source was a SELECT and the INSERT
  173. clauses specified its columns in some order other than the default.</li>
  174. <li>Added the ability to resolve constraint conflicts is ways other than
  175. an abort and rollback. See the documentation on the "ON CONFLICT"
  176. clause for details.</li>
  177. <li>Temporary files are now automatically deleted by the operating system
  178. when closed. There are no more dangling temporary files on a program
  179. crash. (If the OS crashes, fsck will delete the file after reboot
  180. under Unix. I do not know what happens under Windows.)</li>
  181. <li>NOT NULL constraints are honored.</li>
  182. <li>The COPY command puts NULLs in columns whose data is '\N'.</li>
  183. <li>In the COPY command, backslash can now be used to escape a newline.</li>
  184. <li>Added the SANITY_CHECK pragma.</li>
  185. }
  186. chng {2002 Jan 28 (2.2.5)} {
  187. <li>Important bug fix: the IN operator was not working if either the
  188. left-hand or right-hand side was derived from an INTEGER PRIMARY KEY.</li>
  189. <li>Do not escape the backslash '\' character in the output of the
  190. <b>sqlite</b> command-line access program.</li>
  191. }
  192. chng {2002 Jan 22 (2.2.4)} {
  193. <li>The label to the right of an AS in the column list of a SELECT can now
  194. be used as part of an expression in the WHERE, ORDER BY, GROUP BY, and/or
  195. HAVING clauses.</li>
  196. <li>Fix a bug in the <b>-separator</b> command-line option to the <b>sqlite</b>
  197. command.</li>
  198. <li>Fix a problem with the sort order when comparing upper-case strings against
  199. characters greater than 'Z' but less than 'a'.</li>
  200. <li>Report an error if an ORDER BY or GROUP BY expression is constant.</li>
  201. }
  202. chng {2002 Jan 16 (2.2.3)} {
  203. <li>Fix warning messages in VC++ 7.0. (Patches from nicolas352001)</li>
  204. <li>Make the library thread-safe. (The code is there and appears to work
  205. but has not been stressed.)</li>
  206. <li>Added the new <b>sqlite_last_insert_rowid()</b> API function.</li>
  207. }
  208. chng {2002 Jan 13 (2.2.2)} {
  209. <li>Bug fix: An assertion was failing when a temporary table with an index
  210. had the same name as a permanent table created by a separate process.</li>
  211. <li>Bug fix: Updates to tables containing an INTEGER PRIMARY KEY and an
  212. index could fail.</li>
  213. }
  214. chng {2002 Jan 9 (2.2.1)} {
  215. <li>Bug fix: An attempt to delete a single row of a table with a WHERE
  216. clause of "ROWID=x" when no such rowid exists was causing an error.</li>
  217. <li>Bug fix: Passing in a NULL as the 3rd parameter to <b>sqlite_open()</b>
  218. would sometimes cause a coredump.</li>
  219. <li>Bug fix: DROP TABLE followed by a CREATE TABLE with the same name all
  220. within a single transaction was causing a coredump.</li>
  221. <li>Makefile updates from A. Rottmann</li>
  222. }
  223. chng {2001 Dec 22 (2.2.0)} {
  224. <li>Columns of type INTEGER PRIMARY KEY are actually used as the primary
  225. key in underlying B-Tree representation of the table.</li>
  226. <li>Several obscure, unrelated bugs were found and fixed while
  227. implemented the integer primary key change of the previous bullet.</li>
  228. <li>Added the ability to specify "*" as part of a larger column list in
  229. the result section of a SELECT statement. For example:
  230. <nobr>"<b>SELECT rowid, * FROM table1;</b>"</nobr>.</li>
  231. <li>Updates to comments and documentation.</li>
  232. }
  233. chng {2001 Dec 14 (2.1.7)} {
  234. <li>Fix a bug in <b>CREATE TEMPORARY TABLE</b> which was causing the
  235. table to be initially allocated in the main database file instead
  236. of in the separate temporary file. This bug could cause the library
  237. to suffer an assertion failure and it could cause "page leaks" in the
  238. main database file.
  239. <li>Fix a bug in the b-tree subsystem that could sometimes cause the first
  240. row of a table to be repeated during a database scan.</li>
  241. }
  242. chng {2001 Dec 14 (2.1.6)} {
  243. <li>Fix the locking mechanism yet again to prevent
  244. <b>sqlite_exec()</b> from returning SQLITE_PROTOCOL
  245. unnecessarily. This time the bug was a race condition in
  246. the locking code. This change effects both POSIX and Windows users.</li>
  247. }
  248. chng {2001 Dec 6 (2.1.5)} {
  249. <li>Fix for another problem (unrelated to the one fixed in 2.1.4)
  250. that sometimes causes <b>sqlite_exec()</b> to return SQLITE_PROTOCOL
  251. unnecessarily. This time the bug was
  252. in the POSIX locking code and should not effect windows users.</li>
  253. }
  254. chng {2001 Dec 4 (2.1.4)} {
  255. <li>Sometimes <b>sqlite_exec()</b> would return SQLITE_PROTOCOL when it
  256. should have returned SQLITE_BUSY.</li>
  257. <li>The fix to the previous bug uncovered a deadlock which was also
  258. fixed.</li>
  259. <li>Add the ability to put a single .command in the second argument
  260. of the sqlite shell</li>
  261. <li>Updates to the FAQ</li>
  262. }
  263. chng {2001 Nov 23 (2.1.3)} {
  264. <li>Fix the behavior of comparison operators
  265. (ex: "<b>&lt</b>", "<b>==</b>", etc.)
  266. so that they are consistent with the order of entries in an index.</li>
  267. <li>Correct handling of integers in SQL expressions that are larger than
  268. what can be represented by the machine integer.</li>
  269. }
  270. chng {2001 Nov 22 (2.1.2)} {
  271. <li>Changes to support 64-bit architectures.</li>
  272. <li>Fix a bug in the locking protocol.</li>
  273. <li>Fix a bug that could (rarely) cause the database to become
  274. unreadable after a DROP TABLE due to corruption to the SQLITE_MASTER
  275. table.</li>
  276. <li>Change the code so that version 2.1.1 databases that were rendered
  277. unreadable by the above bug can be read by this version of
  278. the library even though the SQLITE_MASTER table is (slightly)
  279. corrupted.</li>
  280. }
  281. chng {2001 Nov 13 (2.1.1)} {
  282. <li>Bug fix: Sometimes arbirary strings were passed to the callback
  283. function when the actual value of a column was NULL.</li>
  284. }
  285. chng {2001 Nov 12 (2.1.0)} {
  286. <li>Change the format of data records so that records up to 16MB in size
  287. can be stored.</li>
  288. <li>Change the format of indices to allow for better query optimization.</li>
  289. <li>Implement the "LIMIT ... OFFSET ..." clause on SELECT statements.</li>
  290. }
  291. chng {2001 Nov 3 (2.0.8)} {
  292. <li>Made selected parameters in API functions <b>const</b>. This should
  293. be fully backwards compatible.</li>
  294. <li>Documentation updates</li>
  295. <li>Simplify the design of the VDBE by restricting the number of sorters
  296. and lists to 1.
  297. In practice, no more than one sorter and one list was ever used anyhow.
  298. </li>
  299. }
  300. chng {2001 Oct 21 (2.0.7)} {
  301. <li>Any UTF-8 character or ISO8859 character can be used as part of
  302. an identifier.</li>
  303. <li>Patches from Christian Werner to improve ODBC compatibility and to
  304. fix a bug in the round() function.</li>
  305. <li>Plug some memory leaks that use to occur if malloc() failed.
  306. We have been and continue to be memory leak free as long as
  307. malloc() works.</li>
  308. <li>Changes to some test scripts so that they work on Windows in
  309. addition to Unix.</li>
  310. }
  311. chng {2001 Oct 19 (2.0.6)} {
  312. <li>Added the EMPTY_RESULT_CALLBACKS pragma</li>
  313. <li>Support for UTF-8 and ISO8859 characters in column and table names.</li>
  314. <li>Bug fix: Compute correct table names with the FULL_COLUMN_NAMES pragma
  315. is turned on.</li>
  316. }
  317. chng {2001 Oct 14 (2.0.5)} {
  318. <li>Added the COUNT_CHANGES pragma.</li>
  319. <li>Changes to the FULL_COLUMN_NAMES pragma to help out the ODBC driver.</li>
  320. <li>Bug fix: "SELECT count(*)" was returning NULL for empty tables.
  321. Now it returns 0.</li>
  322. }
  323. chng {2001 Oct 13 (2.0.4)} {
  324. <li>Bug fix: an abscure and relatively harmless bug was causing one of
  325. the tests to fail when gcc optimizations are turned on. This release
  326. fixes the problem.</li>
  327. }
  328. chng {2001 Oct 13 (2.0.3)} {
  329. <li>Bug fix: the <b>sqlite_busy_timeout()</b> function was delaying 1000
  330. times too long before failing.</li>
  331. <li>Bug fix: an assertion was failing if the disk holding the database
  332. file became full or stopped accepting writes for some other reason.
  333. New tests were added to detect similar problems in the future.</li>
  334. <li>Added new operators: <b>&amp;</b> (bitwise-and)
  335. <b>|</b> (bitwise-or), <b>~</b> (ones-complement),
  336. <b>&lt;&lt;</b> (shift left), <b>&gt;&gt;</b> (shift right).</li>
  337. <li>Added new functions: <b>round()</b> and <b>abs()</b>.</li>
  338. }
  339. chng {2001 Oct 9 (2.0.2)} {
  340. <li>Fix two bugs in the locking protocol. (One was masking the other.)</li>
  341. <li>Removed some unused "#include <unistd.h>" that were causing problems
  342. for VC++.</li>
  343. <li>Fixed <b>sqlite.h</b> so that it is usable from C++</li>
  344. <li>Added the FULL_COLUMN_NAMES pragma. When set to "ON", the names of
  345. columns are reported back as TABLE.COLUMN instead of just COLUMN.</li>
  346. <li>Added the TABLE_INFO() and INDEX_INFO() pragmas to help support the
  347. ODBC interface.</li>
  348. <li>Added support for TEMPORARY tables and indices.</li>
  349. }
  350. chng {2001 Oct 2 (2.0.1)} {
  351. <li>Remove some C++ style comments from btree.c so that it will compile
  352. using compilers other than gcc.</li>
  353. <li>The ".dump" output from the shell does not work if there are embedded
  354. newlines anywhere in the data. This is an old bug that was carried
  355. forward from version 1.0. To fix it, the ".dump" output no longer
  356. uses the COPY command. It instead generates INSERT statements.</li>
  357. <li>Extend the expression syntax to support "expr NOT NULL" (with a
  358. space between the "NOT" and the "NULL") in addition to "expr NOTNULL"
  359. (with no space).</li>
  360. }
  361. chng {2001 Sep 28 (2.0.0)} {
  362. <li>Automatically build binaries for Linux and Windows and put them on
  363. the website.</li>
  364. }
  365. chng {2001 Sep 28 (2.0-alpha-4)} {
  366. <li>Incorporate makefile patches form A. Rottmann to use LIBTOOL</li>
  367. }
  368. chng {2001 Sep 27 (2.0-alpha-3)} {
  369. <li>SQLite now honors the UNIQUE keyword in CREATE UNIQUE INDEX. Primary
  370. keys are required to be unique.</li>
  371. <li>File format changed back to what it was for alpha-1</li>
  372. <li>Fixes to the rollback and locking behavior</li>
  373. }
  374. chng {2001 Sep 20 (2.0-alpha-2)} {
  375. <li>Initial release of version 2.0. The idea of renaming the library
  376. to "SQLus" was abandoned in favor of keeping the "SQLite" name and
  377. bumping the major version number.</li>
  378. <li>The pager and btree subsystems added back. They are now the only
  379. available backend.</li>
  380. <li>The Dbbe abstraction and the GDBM and memory drivers were removed.</li>
  381. <li>Copyright on all code was disclaimed. The library is now in the
  382. public domain.</li>
  383. }
  384. chng {2001 Jul 23 (1.0.32)} {
  385. <li>Pager and btree subsystems removed. These will be used in a follow-on
  386. SQL server library named "SQLus".</li>
  387. <li>Add the ability to use quoted strings as table and column names in
  388. expressions.</li>
  389. }
  390. chng {2001 Apr 14 (1.0.31)} {
  391. <li>Pager subsystem added but not yet used.</li>
  392. <li>More robust handling of out-of-memory errors.</li>
  393. <li>New tests added to the test suite.</li>
  394. }
  395. chng {2001 Apr 6 (1.0.30)} {
  396. <li>Remove the <b>sqlite_encoding</b> TCL variable that was introduced
  397. in the previous version.</li>
  398. <li>Add options <b>-encoding</b> and <b>-tcl-uses-utf</b> to the
  399. <b>sqlite</b> TCL command.</li>
  400. <li>Add tests to make sure that tclsqlite was compiled using Tcl header
  401. files and libraries that match.</li>
  402. }
  403. chng {2001 Apr 5 (1.0.29)} {
  404. <li>The library now assumes data is stored as UTF-8 if the --enable-utf8
  405. option is given to configure. The default behavior is to assume
  406. iso8859-x, as it has always done. This only makes a difference for
  407. LIKE and GLOB operators and the LENGTH and SUBSTR functions.</li>
  408. <li>If the library is not configured for UTF-8 and the Tcl library
  409. is one of the newer ones that uses UTF-8 internally,
  410. then a conversion from UTF-8 to iso8859 and
  411. back again is done inside the TCL interface.</li>
  412. }
  413. chng {2001 Apr 4 (1.0.28)} {
  414. <li>Added limited support for transactions. At this point, transactions
  415. will do table locking on the GDBM backend. There is no support (yet)
  416. for rollback or atomic commit.</li>
  417. <li>Added special column names ROWID, OID, and _ROWID_ that refer to the
  418. unique random integer key associated with every row of every table.</li>
  419. <li>Additional tests added to the regression suite to cover the new ROWID
  420. feature and the TCL interface bugs mentioned below.</li>
  421. <li>Changes to the "lemon" parser generator to help it work better when
  422. compiled using MSVC.</li>
  423. <li>Bug fixes in the TCL interface identified by Oleg Oleinick.</li>
  424. }
  425. chng {2001 Mar 20 (1.0.27)} {
  426. <li>When doing DELETE and UPDATE, the library used to write the record
  427. numbers of records to be deleted or updated into a temporary file.
  428. This is changed so that the record numbers are held in memory.</li>
  429. <li>The DELETE command without a WHILE clause just removes the database
  430. files from the disk, rather than going through and deleting record
  431. by record.</li>
  432. }
  433. chng {2001 Mar 20 (1.0.26)} {
  434. <li>A serious bug fixed on Windows. Windows users should upgrade.
  435. No impact to Unix.</li>
  436. }
  437. chng {2001 Mar 15 (1.0.25)} {
  438. <li>Modify the test scripts to identify tests that depend on system
  439. load and processor speed and
  440. to warn the user that a failure of one of those (rare) tests does
  441. not necessarily mean the library is malfunctioning. No changes to
  442. code.
  443. </li>
  444. }
  445. chng {2001 Mar 14 (1.0.24)} {
  446. <li>Fix a bug which was causing
  447. the UPDATE command to fail on systems where "malloc(0)" returns
  448. NULL. The problem does not appear Windows, Linux, or HPUX but does
  449. cause the library to fail on QNX.
  450. </li>
  451. }
  452. chng {2001 Feb 19 (1.0.23)} {
  453. <li>An unrelated (and minor) bug from Mark Muranwski fixed. The algorithm
  454. for figuring out where to put temporary files for a "memory:" database
  455. was not working quite right.
  456. </li>
  457. }
  458. chng {2001 Feb 19 (1.0.22)} {
  459. <li>The previous fix was not quite right. This one seems to work better.
  460. </li>
  461. }
  462. chng {2001 Feb 19 (1.0.21)} {
  463. <li>The UPDATE statement was not working when the WHERE clause contained
  464. some terms that could be satisfied using indices and other terms that
  465. could not. Fixed.</li>
  466. }
  467. chng {2001 Feb 11 (1.0.20)} {
  468. <li>Merge development changes into the main trunk. Future work toward
  469. using a BTree file structure will use a separate CVS source tree. This
  470. CVS tree will continue to support the GDBM version of SQLite only.</li>
  471. }
  472. chng {2001 Feb 6 (1.0.19)} {
  473. <li>Fix a strange (but valid) C declaration that was causing problems
  474. for QNX. No logical changes.</li>
  475. }
  476. chng {2001 Jan 4 (1.0.18)} {
  477. <li>Print the offending SQL statement when an error occurs.</li>
  478. <li>Do not require commas between constraints in CREATE TABLE statements.</li>
  479. <li>Added the "-echo" option to the shell.</li>
  480. <li>Changes to comments.</li>
  481. }
  482. chng {2000 Dec 10 (1.0.17)} {
  483. <li>Rewrote <b>sqlite_complete()</b> to make it faster.</li>
  484. <li>Minor tweaks to other code to make it run a little faster.</li>
  485. <li>Added new tests for <b>sqlite_complete()</b> and for memory leaks.</li>
  486. }
  487. chng {2000 Dec 4 (1.0.16)} {
  488. <li>Documentation updates. Mostly fixing of typos and spelling errors.</li>
  489. }
  490. chng {2000 Oct 23 (1.0.15)} {
  491. <li>Documentation updates</li>
  492. <li>Some sanity checking code was removed from the inner loop of vdbe.c
  493. to help the library to run a little faster. The code is only
  494. removed if you compile with -DNDEBUG.</li>
  495. }
  496. chng {2000 Oct 19 (1.0.14)} {
  497. <li>Added a "memory:" backend driver that stores its database in an
  498. in-memory hash table.</li>
  499. }
  500. chng {2000 Oct 18 (1.0.13)} {
  501. <li>Break out the GDBM driver into a separate file in anticipation
  502. to added new drivers.</li>
  503. <li>Allow the name of a database to be prefixed by the driver type.
  504. For now, the only driver type is "gdbm:".</li>
  505. }
  506. chng {2000 Oct 16 (1.0.12)} {
  507. <li>Fixed an off-by-one error that was causing a coredump in
  508. the '%q' format directive of the new
  509. <b>sqlite_..._printf()</b> routines.</li>
  510. <li>Added the <b>sqlite_interrupt()</b> interface.</li>
  511. <li>In the shell, <b>sqlite_interrupt()</b> is invoked when the
  512. user presses Control-C</li>
  513. <li>Fixed some instances where <b>sqlite_exec()</b> was
  514. returning the wrong error code.</li>
  515. }
  516. chng {2000 Oct 11 (1.0.10)} {
  517. <li>Added notes on how to compile for Windows95/98.</li>
  518. <li>Removed a few variables that were not being used. Etc.</li>
  519. }
  520. chng {2000 Oct 8 (1.0.9)} {
  521. <li>Added the <b>sqlite_..._printf()</b> interface routines.</li>
  522. <li>Modified the <b>sqlite</b> shell program to use the new interface
  523. routines.</li>
  524. <li>Modified the <b>sqlite</b> shell program to print the schema for
  525. the built-in SQLITE_MASTER table, if explicitly requested.</li>
  526. }
  527. chng {2000 Sep 30 (1.0.8)} {
  528. <li>Begin writing documentation on the TCL interface.</li>
  529. }
  530. chng {2000 Sep 29 (Not Released)} {
  531. <li>Added the <b>sqlite_get_table()</b> API</li>
  532. <li>Updated the documentation for due to the above change.</li>
  533. <li>Modified the <b>sqlite</b> shell to make use of the new
  534. sqlite_get_table() API in order to print a list of tables
  535. in multiple columns, similar to the way "ls" prints filenames.</li>
  536. <li>Modified the <b>sqlite</b> shell to print a semicolon at the
  537. end of each CREATE statement in the output of the ".schema" command.</li>
  538. }
  539. chng {2000 Sep 21 (Not Released)} {
  540. <li>Change the tclsqlite "eval" method to return a list of results if
  541. no callback script is specified.</li>
  542. <li>Change tclsqlite.c to use the Tcl_Obj interface</li>
  543. <li>Add tclsqlite.c to the libsqlite.a library</li>
  544. }
  545. chng {2000 Sep 13 (Version 1.0.5)} {
  546. <li>Changed the print format for floating point values from "%g" to "%.15g".
  547. </li>
  548. <li>Changed the comparison function so that numbers in exponential notation
  549. (ex: 1.234e+05) sort in numerical order.</li>
  550. }
  551. chng {2000 Aug 28 (Version 1.0.4)} {
  552. <li>Added functions <b>length()</b> and <b>substr()</b>.</li>
  553. <li>Fix a bug in the <b>sqlite</b> shell program that was causing
  554. a coredump when the output mode was "column" and the first row
  555. of data contained a NULL.</li>
  556. }
  557. chng {2000 Aug 22 (Version 1.0.3)} {
  558. <li>In the sqlite shell, print the "Database opened READ ONLY" message
  559. to stderr instead of stdout.</li>
  560. <li>In the sqlite shell, now print the version number on initial startup.</li>
  561. <li>Add the <b>sqlite_version[]</b> string constant to the library</li>
  562. <li>Makefile updates</li>
  563. <li>Bug fix: incorrect VDBE code was being generated for the following
  564. circumstance: a query on an indexed table containing a WHERE clause with
  565. an IN operator that had a subquery on its right-hand side.</li>
  566. }
  567. chng {2000 Aug 18 (Version 1.0.1)} {
  568. <li>Fix a bug in the configure script.</li>
  569. <li>Minor revisions to the website.</li>
  570. }
  571. chng {2000 Aug 17 (Version 1.0)} {
  572. <li>Change the <b>sqlite</b> program so that it can read
  573. databases for which it lacks write permission. (It used to
  574. refuse all access if it could not write.)</li>
  575. }
  576. chng {2000 Aug 9} {
  577. <li>Treat carriage returns as white space.</li>
  578. }
  579. chng {2000 Aug 8} {
  580. <li>Added pattern matching to the ".table" command in the "sqlite"
  581. command shell.</li>
  582. }
  583. chng {2000 Aug 4} {
  584. <li>Documentation updates</li>
  585. <li>Added "busy" and "timeout" methods to the Tcl interface</li>
  586. }
  587. chng {2000 Aug 3} {
  588. <li>File format version number was being stored in sqlite_master.tcl
  589. multiple times. This was harmless, but unnecessary. It is now fixed.</li>
  590. }
  591. chng {2000 Aug 2} {
  592. <li>The file format for indices was changed slightly in order to work
  593. around an inefficiency that can sometimes come up with GDBM when
  594. there are large indices having many entries with the same key.
  595. <font color="red">** Incompatible Change **</font></li>
  596. }
  597. chng {2000 Aug 1} {
  598. <li>The parser's stack was overflowing on a very long UPDATE statement.
  599. This is now fixed.</li>
  600. }
  601. chng {2000 July 31} {
  602. <li>Finish the <a href="vdbe.html">VDBE tutorial</a>.</li>
  603. <li>Added documentation on compiling to WindowsNT.</li>
  604. <li>Fix a configuration program for WindowsNT.</li>
  605. <li>Fix a configuration problem for HPUX.</li>
  606. }
  607. chng {2000 July 29} {
  608. <li>Better labels on column names of the result.</li>
  609. }
  610. chng {2000 July 28} {
  611. <li>Added the <b>sqlite_busy_handler()</b>
  612. and <b>sqlite_busy_timeout()</b> interface.</li>
  613. }
  614. chng {2000 June 23} {
  615. <li>Begin writing the <a href="vdbe.html">VDBE tutorial</a>.</li>
  616. }
  617. chng {2000 June 21} {
  618. <li>Clean up comments and variable names. Changes to documentation.
  619. No functional changes to the code.</li>
  620. }
  621. chng {2000 June 19} {
  622. <li>Column names in UPDATE statements were case sensitive.
  623. This mistake has now been fixed.</li>
  624. }
  625. chng {2000 June 16} {
  626. <li>Added the concatenate string operator (||)</li>
  627. }
  628. chng {2000 June 12} {
  629. <li>Added the fcnt() function to the SQL interpreter. The fcnt() function
  630. returns the number of database "Fetch" operations that have occurred.
  631. This function is designed for use in test scripts to verify that
  632. queries are efficient and appropriately optimized. Fcnt() has no other
  633. useful purpose, as far as I know.</li>
  634. <li>Added a bunch more tests that take advantage of the new fcnt() function.
  635. The new tests did not uncover any new problems.</li>
  636. }
  637. chng {2000 June 8} {
  638. <li>Added lots of new test cases</li>
  639. <li>Fix a few bugs discovered while adding test cases</li>
  640. <li>Begin adding lots of new documentation</li>
  641. }
  642. chng {2000 June 6} {
  643. <li>Added compound select operators: <B>UNION</b>, <b>UNION ALL</B>,
  644. <b>INTERSECT</b>, and <b>EXCEPT</b></li>
  645. <li>Added support for using <b>(SELECT ...)</b> within expressions</li>
  646. <li>Added support for <b>IN</b> and <b>BETWEEN</b> operators</li>
  647. <li>Added support for <b>GROUP BY</b> and <b>HAVING</b></li>
  648. <li>NULL values are now reported to the callback as a NULL pointer
  649. rather than an empty string.</li>
  650. }
  651. chng {2000 June 3} {
  652. <li>Added support for default values on columns of a table.</li>
  653. <li>Improved test coverage. Fixed a few obscure bugs found by the
  654. improved tests.</li>
  655. }
  656. chng {2000 June 2} {
  657. <li>All database files to be modified by an UPDATE, INSERT or DELETE are
  658. now locked before any changes are made to any files.
  659. This makes it safe (I think) to access
  660. the same database simultaneously from multiple processes.</li>
  661. <li>The code appears stable so we are now calling it "beta".</li>
  662. }
  663. chng {2000 June 1} {
  664. <li>Better support for file locking so that two or more processes
  665. (or threads)
  666. can access the same database simultaneously. More work needed in
  667. this area, though.</li>
  668. }
  669. chng {2000 May 31} {
  670. <li>Added support for aggregate functions (Ex: <b>COUNT(*)</b>, <b>MIN(...)</b>)
  671. to the SELECT statement.</li>
  672. <li>Added support for <B>SELECT DISTINCT ...</B></li>
  673. }
  674. chng {2000 May 30} {
  675. <li>Added the <b>LIKE</b> operator.</li>
  676. <li>Added a <b>GLOB</b> operator: similar to <B>LIKE</B>
  677. but it uses Unix shell globbing wildcards instead of the '%'
  678. and '_' wildcards of SQL.</li>
  679. <li>Added the <B>COPY</b> command patterned after
  680. <a href="http://www.postgresql.org/">PostgreSQL</a> so that SQLite
  681. can now read the output of the <b>pg_dump</b> database dump utility
  682. of PostgreSQL.</li>
  683. <li>Added a <B>VACUUM</B> command that that calls the
  684. <b>gdbm_reorganize()</b> function on the underlying database
  685. files.</li>
  686. <li>And many, many bug fixes...</li>
  687. }
  688. chng {2000 May 29} {
  689. <li>Initial Public Release of Alpha code</li>
  690. }
  691. puts {
  692. </DL>
  693. <p><hr /></p>
  694. <p><a href="index.html"><img src="/goback.jpg" border=0 />
  695. Back to the SQLite Home Page</a>
  696. </p>
  697. </body></html>}