Rework do-query to use database for special case
[clsql.git] / ChangeLog
1 04 Sep 2009  Kevin Rosenberg <kevin@rosenberg.net>
2         * sql/fdml.lisp: Rework do-query to use supplied database
3         parameter when passed a sql-object-query 
4         (thanks to JTK <jetmonk@gmail.com>)
5
6 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
7         * sql/db-interface.lisp: Fix spelling error (thanks to 
8         David Thompson)
9         * clsql-mysql.asd/db-mysql/mysql-loader.lisp: Commit
10         patch from Andreas Franke to honor windows drive letter
11         when loading clsql_mysql C library.
12         
13 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
14         * Version 4.1.0
15         * db-mysql/mysql-{sql,api}.lisp,db-mysql/clsql_mysql.c:
16         Latest version of mysqlclient once again changed the C
17         structures from which the mysql backend reads data.
18         Rather than adding yet another structure definition which
19         is enabled by the client version as read by mysql-client-info.lisp,
20         the mysql backend has been re-written to ignore in the internal
21         C structures. Instead, C wrapper functions for slot access have
22         been added to clsql_mysql.c and are used by mysql-sql.lisp to
23         access the internals of C structures. This adds a bit of overhead,
24         but completely separates the lisp code from trying to keep up
25         with the continually changing internal C structure of mysql.
26         All tests in the test suite executed correctly with this change.
27
28 31 Aug 2009  Kevin Rosenberg <kevin@rosenberg.net>
29         * Version 4.0.6
30         * sql/database.lisp: Fix syntax on process-lock (thanks to
31         Stian Sletner)
32         * db-mysql/mysql-sql.lisp: Allow use of database parameter
33         in database-list function (thanks to Michael Pheasant)
34         * sql/oodml.lisp: Allow NULL values for floating-point fields
35         (thanks to Jan Rychter)
36         
37 02 Jun 2009  Kevin Rosenberg <kevin@rosenberg.net>
38         * Version 4.0.5
39         * sql/database.lisp: Add process-lock for deleting database from
40         a pool (thanks to Ralf Mattes).
41
42 25 Feb 2008  Kevin Rosenberg <kevin@rosenberg.net>
43         * Version 4.0.4
44         * sql/expressions.lisp: Remove stray form (thanks to Samuel Ward)
45
46 12 Dec 2007  Kevin Rosenberg <kevin@rosenberg.net>
47         * sql/expressions.lisp: Bind *in-subselect* when outputting
48         selections (patch from unknown source).
49         
50 11 Dec 2007  Kevin Rosenberg <kevin@rosenberg.net>
51         * Version 4.0.3
52         * sql/metaclasses.lisp: Unify base-table processing by extracting 
53         the correct code from initialize-instance :around into the helper
54         function set-view-table-slot. Call that function also in
55         reinitialize-instance :around replacing erroneous code discovered
56         by Josh Feinstein.
57         
58 17 Nov 2007  Kevin Rosenberg <kevin@rosenberg.net>
59         * BUGS: Add note about benefit of using configure file to create
60         Makefiles (suggestion from Joe Corneli)
61         
62 22 Oct 2007  Kevin Rosenberg <kevin@rosenberg.net>
63         * Version 4.0.2
64         * db-postgresql/postgresql-sql.lisp: Patch from Gabriele Favalessa based on
65         Andrew Golding suggestion for more informative :error-id slot.
66         
67 17 Sep 2007  Kevin Rosenberg <kevin@rosenberg.net>
68         * Version 4.0.1
69         * db-mysql/mysql-sql.lisp: Convert query to uffi cstring (thanks to
70         Albert Krewinkel).
71         * doc/Makefile, doc/html.xsl: Change output encoding from ISO-8859-1 to UTF-8
72         
73 14 Sep 2007  Kevin Rosenberg <kevin@rosenberg.net>
74         * Version 4.0.0: Major version increase to warn of potential
75         backwards incompatibility.
76         * NEWS: Document potentional backward incompatible changes
77         * db-mysql/mysql-sql.lisp: Changes session SQL mode to ANSI immediately
78         after connecting. This may break compatibility with some applications
79         who are using non-ANSI features with MySQL. This change is required to
80         properly support view-classes using a string as their :base-table
81         attribute. This allows users to specify the case of table names. 
82         This is feature is even more essential for MySQL itself since MySQL
83         uses case-sensitive table names. Use connection-based database-create
84         and database-destroy rather than trying to invoke command-line mysql 
85         utility. Remove automatic upcasing of strings from list-indices. 
86         * db-postgresql/postgresql-sql.lisp: Use connection-based 
87         database-create and database-destroy rather than trying to invoke
88         command-line utilities.
89         * db-postgresql-socket/postgresql-socket-sql.lisp: Use
90         database-execute-command rather than execute-command for
91         database-{create,destroy}. Connect to postgres database
92         rather than template1 for those database creation/deletion.
93         * sql/metaclasses.lisp: Store the string value of :base-table if a 
94         string is provided. Perform sql-escape at time of view-table name
95         creation.
96         * tests/test-init.lisp: Use "ej_join" as a string, rather than a 
97         symbol, since "ej_join" is specified as :base-table. Clear the
98         expression output-cache in case the code for generating sql output
99         has changed.
100         * test/test-oodml.lisp: whitespace fix
101         * sql/ooddl.lisp: Use quoted string for primary key constraint if
102         table name is specified as a string.
103         * sql/oodml.lisp: Don't convert a string view-table name to database's 
104         default case.
105         * sql/expressions.lisp: Properly handle table and attribute identifiers
106         when they are a string. Do not change case of symbols to match database
107         default case.
108         * sql/operations.lisp: Change multiword symbols to upper case.
109         * sql/fddl.lisp: Quote base-table if a string to preserve case
110         for drop-table and create-table.
111         * tests/test-syntax.lisp: Add tests of low-level string attribute
112         identifiers.
113         
114 20 Jul 2007  Kevin Rosenberg <kevin@rosenberg.net>
115         * Version 3.8.6
116         * db-oracle/oracle-loader.lisp: Rework use of ORACLE_HOME directory
117         (problem noted on clsql-devel by icardo Boccato Alves)
118         * sql/pool.lisp: Remove incorrect keyword
119         * sql/database.lisp: Rework WITH-DATABASE to not make the database the
120         default database (reported by Saurabh Nanda and Chaitanya Gupta)
121         * doc/ref-connect.lisp: Update the documentation to WITH-DATABASE to
122         emphasis that make-default has a default value of nil.
123         * sql/transaction.lisp: Adjust commit/rollback messages for Microsoft
124         SQL Server. (patch from Nathan Bird)
125         * sql/metaclasses.lisp: Use finalize-inheritance hack on SBCL because
126         of trouble with def-view-class compilations (patch from Nathan Bird)
127         
128 15 Jul 2007  Kevin Rosenberg <kevin@rosenberg.net>
129         * Version 3.8.5
130         * db-mysql/mysql-loader.lisp: Revert previous change since libmysql is
131         not dynamically loaded on Windows
132         
133 22 Jun 2007  Kevin Rosenberg <kevin@rosenberg.net>
134         * Version 3.8.4
135         * db-mysql/mysql-loader.lisp: Do not bother loading libmysqlclient since
136         that library is dymically linked to clsql-mysql library. Thus, the mysql
137         library will be automatically loaded. This has only been tested on Linux,
138         thus far.
139
140 29 May 2007  Kevin Rosenberg <kevin@rosenberg.net>
141         * tests/test-fddl.lisp: Add :order-by for :fddl/big/1 as
142         reported by Ricardo Boccato Alves
143
144 02 May 2007  Kevin Rosenberg <kevin@rosenberg.net>
145         * sql/database.lisp: Add ability of WITH-DATABASE to return
146         multiple values (patch from Liam Healy)
147         
148 25 Apr 2007  Kevin Rosenberg <kevin@rosenberg.net>
149         * Version 3.8.3
150         * doc/connect.xml: variable description fix by Liam Healy
151         * db-sqlite3/sqlite3-api.lisp, uffi/clsql-uffi-loader.lisp:
152         Apply patches from Marcus Pierce to reduce load-time warnings
153         * sql/package.lisp: Export iso-timestring as requested by Kevin Blaisdell
154
155 23 Mar 2007  Kevin Rosenberg <kevin@rosenberg.net>
156         * Version 3.8.2
157         * sql/db-postgresql-socket-api.lisp: Change read-socket-sequence to
158         disable wide characters for crypt salt sequence on SBCL, based
159         on patch from Lars Nostdal.
160
161 26 Jan 2007  Kevin Rosenberg <kevin@rosenberg.net>
162         * Version 3.8.1
163         * sql/pool.lisp: Test pooled connection when popped from
164         the pool to ensure the connection still works. Currently, implemented
165         only for MySQL.
166
167 17 Jan 2007  Kevin Rosenberg <kevin@rosenberg.net>
168         * db-mysql/Makefile: Add potential mysql directories
169
170 31 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
171         * sql/metaclasses.lisp: Remove usused saved-initargs
172         * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually used to
173         push search libraries)
174         
175 30 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
176         * Version 3.8.0: BACKWARD INCOMPATABLE CHANGE!
177         * db-postgresql/postgresql-{api,loader,sql,package}.lisp:
178         Apply patch from Edi Weitz to avoid conflict with new Lispworks 5
179         POSTGRESQL package name. CLSQL's new package will be PGSQL, however
180         on non-Lispworks platforms, the nickname POSTGRESQL will still be
181         available. Applications directly using low-level POSTGRESQL package
182         are recommended to use the new PGSQL name.
183         * db-oracle/oracle-{api,sql}.lisp, sql/{expressions,loop-extension}.lisp,
184         Apply patch from Edi Weitz to reduce compiler warnings.
185         
186 28 Dec 2006  Kevin Rosenberg <kevin@rosenberg.net>
187         * Version 3.7.9
188         * sql/expressions.lisp: Commit patch from Edi Weitz to
189         use *default-database* for SQL-OUTPUT if no database is
190         explicitly passed to function.
191         * uffi/clsql-uffi-loader.lisp: Change load order to first try
192         plain name/type before attempting user-specified paths (patch
193         from Edi Weitz)
194         * uffi/ptrbits.c: New file to return number of bits in an pointer
195         * uffi/Makefile: use intbits to name .so file based on bit size.
196         Build both 32-bit and 64-bit libraries on 64-bit platform.
197         
198 30 Nov 2006  Kevin Rosenberg <kevin@rosenberg.net>
199         * Version 3.7.8
200         * db-sqlite3/sqlite3-sql.lisp: Commit patch from Edi Weitz fixing
201         error display
202
203 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
204         * Version 3.7.7
205         * db-postgresql/postgresql-sql.lisp: Remove 
206         uffi:convert-foreign-to-native wrapper since using cstring for
207         PQresultErrorField
208
209 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
210         * Version 3.7.6
211         * db-postgresql/postgresql-api.lisp: Fix UFFI return type for
212         PQresultErrorField foreign function.
213
214 16 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
215         * Version 3.7.5
216         * doc/intro.xml: Update supported platforms.
217         * db-postgresql/postgresql-{package,api,sql}.lisp: Apply
218         changes from Andew Golding to use a more-specific error code
219         from PostgreSQL than the generic fatal error code of the result set.
220
221 03 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
222         * sql/syntax.lisp: Commit patch from Marcus Pearce to improve
223         readtable modifications
224
225 02 Oct 2006  Kevin Rosenberg <kevin@rosenberg.net>
226         * sql/syntax.lisp: Check that original reader syntax functions
227         stored before trying to restore them.
228         
229 20 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
230         * sql/syntax.lisp: Apply patch from Marcus Pearce to correctly
231         display sql reader syntax.
232
233 06 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
234         * uffi/clsql-uffi-loader.lisp, db-mysql/mysql-loader.lisp: Change from using *features*
235         to decide on 64-bit platform and check size of most-positive-fixnum instead.
236         Needed to support clisp amd64.
237
238 03 Sep 2006  Kevin Rosenberg <kevin@rosenberg.net>
239         * Version 3.7.1
240         * sql/metaclasses.lisp: Rework slot type's to be more AMOP
241         compatibile. Add warning for a metaclass condition that should
242         not occur.
243         * sql/time.lisp: Fixed symbol case inconsistency causing problem
244         in AllegroCL's modern lisp. First sign of bug noted by
245         Joel Reymond on clsql-devel.
246         * clsql.asd: Make time.lisp depend on utils.lisp
247
248 31 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
249         * db-mysql/mysql-loader.lisp: Apply patch from Marcus Pearce to push 
250         *library-file-dir* to CLSQL's library path.
251
252 30 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
253         * Version 3.7.0: New platforms supported: SBCL/Win32, CLISP/Win32, CLISP/Cygwin,
254         CLISP/Linux x86, CLISP/Linux amd64, OpenMCL amd64. CLISP support requires the
255         latest development versions of CLISP, cffi, and cffi-uffi-compat packages.
256         * Makefile.common: Add OS detection
257         * uffi/make.sh, db-mysql/make.sh: Remove files
258         * uffi/Makefile, db-mysql/Makefile: Add support for cygwin compilation.
259         Refactor to remove need to make.sh shell scripts. 
260         * clsql.asd: Add support for loop extensions for clisp. Support clisp via cffi.
261         * sql/loop-extension.lisp: Define loop-record-iteration-path in CLSQL-SYS 
262         package rather than CL-USER. Add support for ansi-loop on clisp. 
263         * sql/ansi-loop.lisp: New file to support iteration on clisp. 
264         * db-mysql/mysql-api.lisp: Remove old mysql C API functions that no
265         longer exist in the mysql client library.
266         * doc/ref-fdml.lisp: Correct default field-type.
267         * sql/expressions.lisp: Use database-output-as-type if value exists for boolean output.
268         Fixed bug with noted with MySQL 5.0.24 and boolean values.
269         
270 28 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
271         * Version 3.6.7
272         * sql/oodml.lisp: Remove high debugging level declaration
273
274 14 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
275         * Version 3.6.6
276         * sql/generic-postgresql.lisp: Fix assumption that postgres user id
277         is always 1. Fixes problem noted with PostgreSQL 8.1.
278
279 12 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
280         * Version 3.6.5
281         * sql/generic-postgresql.lisp: Add slot for has-table-pg_roles to
282         lazily cache if pg_roles tables exist. Selectively use SQL from
283         Joel's previous patch if pg_roles table exists. Should now work
284         with both postgresql 7.4 and 8.x.
285         
286 12 Aug 2006  Kevin Rosenberg <kevin@rosenberg.net>
287         * Version 3.6.4
288         * clsql.asd: Add support for c:\etc\clsql-init.lisp as possible
289         local initialization file
290         * db-mysql/mysql-loader.lisp: Remove former method of using pathnames
291         as name candidates.
292         * db-odbc/odbc-api.lisp: Work-around Allegro/Windows FFI bug
293         that generates incorrect integer return type
294         * sql/generic-postgresql.lisp: Revert patch from Joel Reymont since
295         it fails on versions of postgresql that lack the pg_role table
296         
297 07 Jul 2006  Kevin Rosenberg <kevin@rosenberg.net>
298         * Version 3.6.3
299         * sql/transactions.lisp: Important typo fix from Alexey Antipov
300         for database-start-transaction
301         
302 04 Jul 2006  Kevin Rosenberg <kevin@rosenberg.net>
303         * Version 3.6.2
304         * db-postgresql/postgresql-sql.lisp: Apply patch from Vladimir Sekissov
305         to close connection when failing to connect to database.
306         * sql/generic-postgresql.lisp: Apply patch from Joel Reymont
307         to avoid dropping system views.
308         * sql/oodml.lisp: Apply patch from Joel Reymont to avoid listify
309         a nil value [patch sponsored by Flektor]
310         * clsql-uffi.asd, uffi/make.sh: Patch from Richard Kreuter
311         for netbsd compilation
312         
313 15 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
314         * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
315         slots for def-view-class macro [as reported missing by Thomas Fischbacher].
316         
317 09 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
318         * db-postgresql-socket/postgresql-socket-api.lisp:
319         Apply patch from Marko Kocic adding the socket creation
320         function needed for CLISP.
321
322 08 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
323         * Version: 3.6.0 (requires UFFI v1.5.11 or greater)
324         * db-oracle/metaclasses.lisp: Patch from James Bielman for
325         checking slot constraints.
326         * db-oracle/oracle-{api,sql}.lisp: Avoid dead pointers on loading
327         saved openmcl images (based on patch from James Bielman)
328
329 06 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
330         * doc/ref-fdml.xml: Documentation patch from Marcus Pearce for limit keyword
331         
332 03 May 2006  Kevin Rosenberg <kevin@rosenberg.net>
333         * Version 3.5.7
334         * sql/time.lisp: Apply patch from Aleksandar Bakic to extended
335         duration parsing and unparsing to include year and month.
336         * clsql-uffi.asd, uffi/clsql-uffi-loader.lisp: Apply patch from Nathan Bird
337         improving library search on Windows platform.
338         * doc/ref-fdml.xml, /doc/TODO, tests/test-fdml.lisp, tests/test-init.lisp:
339         Apply patch from Marcus Pearce documenting and testing :limit and :offset for SELECT
340
341 20 Mar 2006  Kevin Rosenberg <kevin@rosenberg.net>
342         * Version 3.5.6
343         * clsql-postgresql-socket.asd, 
344         * db-postgresql-socket/postgresql-socket-package.lisp: 
345         Use the cl-md5 package on all platforms. Based on report 
346         from Alan Caulkins.
347         
348 09 Mar 2006  Kevin Rosenberg <kevin@rosenberg.net>
349         * Version 3.5.5
350         * uffi/make.sh, db-mysql/make.sh: Add GNU uname
351         
352 28 Feb 2006  Kevin Rosenberg <kevin@rosenberg.net>
353         * Version 3.5.4
354         * sql/metaclasses.lisp: Apply patch from Friedrich Dominicus to
355         fix accessor for new versions of SBCL
356         * db-oracle/oracle-sql.lisp: Apply patch from James Bielman
357         to improving parsing of time.
358         * db-db2/db2-constants.lisp: Change NULL_HANDLE has suggested
359         by Harold Lee.
360         * db-oracle/oracle-dbi.lisp: Add support for SQL BIT type
361         as noted by Russ Tyndall.
362         
363 16 Jan 2006  Kevin Rosenberg <kevin@rosenberg.net>
364         * Version 3.5.3
365         * sql/time.lisp: Commit patch from Aleksandar Bakic
366         to properly handle destructive flag
367         * db-postgresql-socket/postgresql-socket-api.lisp: Apply patch
368         from Steven Harris for socket files with SBCL.
369         * sql/pool.lisp: Apply patch from Vladimir Sekissov so that
370         new connections added to the pool do not become the *default-database*
371         * sql/connect.lisp: Optionally set *default-database* for pooled
372         connection when make-default is generalized true.
373         
374 23 Dec 2005  Kevin Rosenberg <kevin@rosenberg.net>
375         * Version 3.5.1
376         * sql/expressions.lisp: Ensure table names are properly escaped
377         before comparing -- fixes bug reported by Asbjørn Bjørnstad
378         on CLSQL-Devel.
379
380 02 Dec 2005  Kevin Rosenberg <kevin@rosenberg.net>
381         * sql/generic-postgresql.lisp: improved decoding of table attribute
382           parameters [from Vladimir Sekissov]
383         * sql/metaclasses.lisp: check that metaclass is standard-db-class or
384           it's subclass to prevent adding standard-db-object to supers if
385           somebody in the path has it already when metaclass inherited from
386           standard-db-class. [from Vladimir Sekissov]
387         
388 26 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
389         * Version 3.5.0
390         * tests/test-init.lisp, tests/test-fddl.lisp, tests/test-fdml.lisp, 
391         * db-odbc/odbc-api.lisp, db-odbc/odbc-ff-interface.lisp,
392         * db-odbc/odbc-package.lisp, db-odbc/odbc-constants.lisp
393         * db-odbc/odbc-dbi.lisp, db-odbc/odbc-sql.lisp
394         * sql/fddl.lisp, sql/generic-odbc.lisp, sql/db-interface.lisp
395         * sql/transaction.lisp, sql/package.lisp, sql/time.lisp
396         Commit patch from Dominic Robinson providing support for 
397         Microsoft SQL Server
398         * doc/csql.lisp: Fix typo in slot name
399         
400 24 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
401         * Version 3.4.7
402         * sql/time.lisp: Commit patch from Aleksandar Bakic for
403         correct handling of decode-time usec value  
404         * clsql-mysql.asd: Commit patch from Harald Hanche-Olsen to
405         correct the name of the shared library file.
406         
407 16 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
408         * version 3.4.6
409         * sql/metaclasses.lisp: Avoid calling change-class on
410         effective-slot-definitions on sbcl to conform to sbcl 0.9.6.38
411         changes.
412         
413 15 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
414         * Version 3.4.5
415         * sql/expressions.lisp: Patch from James Biel to add subselects
416
417 14 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
418         * Version 3.4.4 [ Requires UFFI 1.5.7+] 
419         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
420         to fix lifetime of foreign strings for Oracle calls
421
422 13 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
423         * Version 3.4.3
424         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
425         to improve performance
426         
427 12 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
428         * Version 3.4.2
429         * clsql-uffi.asd: Patch from James Biel improving loading
430         * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
431         to support 64-bit lisps
432         
433 12 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
434         * Version 3.4.1
435         * sql/expressions.lisp: Escape numbers to SQL strings
436         at expression level.
437         
438 11 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
439         * Version 3.4: Add MySQL 5 support
440         * db-mysql/mysql-client-info.lisp: Recognize MySQL 5
441         * db-mysql/mysql-sql.lisp: Add support for views in MySQL 5
442         * doc/mysql-macosx-notes.txt: New document from Martin Brooks
443         
444 7 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
445         * src/time.lisp: Apply patch from Aleksandar Bakic for ROLL
446         function.
447         * BUGS: Added report for update-object-joins by Aleksandar Bakic
448         
449 4 Nov 2005  Kevin Rosenberg <kevin@rosenberg.net>
450         * Version 3.3.4 [UFFI >= 1.5.5 needed]
451         * db-odbc/odbc-api.lisp: Apply patch from Yaroslav Kavenchuk
452         to add missing #\' character.
453         * clsql.asd: Add support for CLSQLINIT environmental variable,
454         based on patch from Yaroslav Kavenchcuk. New version of UFFI
455         required.
456         
457 30 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
458         * Version 3.3.3
459         * sql/oodml.lisp: Apply patch from Drew Crampsie to fix
460         update-objects-joins when using the :target-slot attribute
461         
462 26 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
463         * Version 3.3.2
464         * sql/expressions.lisp: Avoid parenthesis on multiple group-by fields
465         as noted by Harald Hanche-Olsen.
466         * tests/test-syntax.lisp: Add test for multiple field group-by
467         
468 25 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
469         * Version 3.3.1
470         * sql/time.lisp: Commit patch from Alan Shields to
471         display escape string on wall-time display only when *print-escape*
472         is true.
473         
474 11 Oct 2005  Kevin Rosenberg <kevin@rosenberg.net>
475         * sql/metaclasses.lisp: Commit patch from Will to
476         properly set db-reader slot in effective-slot-definition
477         * sql/expressions.lisp: Commit patch from Alan Shields
478         adding make-load-form for sql-relational-exp
479         * sql/generic-postgresql.lisp: Commit patch from Aleksandar Bakic
480         adding support for new NUMBER type
481         
482 17 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
483         * Version 3.3.0
484         * sql/time.lisp: Apply patch from Alan Shields adding DATE type.
485         * doc/ref-ooddl.xml: Documentation of new type
486         * notes/add-type-hints.txt: New file from Alan Shields
487         * sql/fddl.lisp: Add owner keyword to drop-table as suggested
488         by Francis Leboutte
489         * db-postgresql-socket/postgresql-socket-sql.lisp: Fix database-probe
490         as noted by Francis Leboutte. Similar fix applied to db-mysql and
491         db-postgresql.
492         * sql/expressions.lisp: Allow string table names for output as
493         contributed by Francis Leboutte.
494         * examples/clsql-tutorial.lisp: Support :postgresql-socket as noted 
495         by Francis Leboutte
496         
497 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
498         * Version 3.2.4
499         * doc/into.xml: Change download from ftp to http protocol
500
501 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
502         * Version 3.2.3
503         * db-oracle/oracle-sql.lisp: Correction for v3.2.2 changes by
504         Edi Weitz
505
506 08 Sep 2005  Kevin Rosenberg <kevin@rosenberg.net>
507         * Version 3.2.2
508         * db-oracle/oracle-sql.lisp: Add check for zero increment as
509         suggested by Edi Weitz. Add missing database-sequence-last function
510         as noted and tested by Edi Weitz. Ensure that UFFI buffer is freed
511         in handle-oci-error. Add unwind-protect to sql-stmt-exec. Free UFFI
512         stmthp object when query cursor is freed with OCI.
513
514 22 Aug 2005  Kevin Rosenberg <kevin@rosenberg.net>
515         * uffi/clsql-uffi-loader.lisp: Commit patch from astor@pvv.ntnu.no to
516         display search path when error occurs loading foreign library.
517         
518 05 Jul 2005  Kevin Rosenberg <kevin@rosenberg.net>
519         * Version 3.2.1
520         * doc/appendix.xml: Incorporate Edi Weitz's notes into documentation
521         with changes to support case-sensitive lisp implementations. Add
522         paragraph on using /etc/clsql-init.lisp site initialization file.
523         * clsql.asd: Load file /etc/clsql-init.lisp, if it
524         exists, after package is loaded to set site-specific configuration
525         
526 2005-06-24  Edi Weitz  <edi@agharta.de>
527         * sql/db-interface.lisp: Added new special variable
528         *FOREIGN-LIBRARY-SEARCH-PATHS* and function PUSH-LIBRARY-PATH to
529         manipulate it.
530         * sql/package.lisp: Export these.
531         * uffi/clsql-uffi-loader.lisp: Used new variable; changed order of
532         libs.
533         * db-mysql/mysql-loader.lisp: Changed order of libs.
534
535 09 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
536         * Version 3.2.0: REQUIRES UFFI VERSION 1.4.38 OR HIGHER
537         * clsql-mysql.asd: Renamed clsql/mysql interface library from
538         mysql to clsql_mysql
539         * clsql-uffi.asd: Renamed clsql/uffi interface library from
540         mysql to clsql_uffi
541         * uffi/clsql_uffi.c: Renamed from uffi.c
542         * db-mysql/clsql_mysql.c: Renamed from mysql.c
543         * db-mysql/Makefile, db-mysql/Makefile.msvc, db-mysql/mysql-loader.lisp: Rename shared library
544         * uffi/Makefile, uffi/Makefile.msvc, uffi/uffi-loader.lisp: Rename shared library
545         * db-*/*-loader.lisp: Commit big patch from Edi Weitz to remove
546         absolute pathnames when searching for foreign libraries.
547         foreign library loading.
548         
549 07 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
550         * Version 3.1.16
551         * db-mysql/mysql-api.lisp: Commit patch from Espen Wiborn
552         to support UTF-8 on sbcl unicode.
553         
554 18 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
555         * Version 3.1.15
556         * sql/time.lisp: Fix bug in roll that caused failure in test suite
557
558 17 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
559         * Version 3.1.14
560         * sql/oodml.lisp: Properly handle when db-writer is NIL
561
562 11 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
563         * sql/expressions.lisp: Avoid using simple-string declaration when
564         a non-simple string may be encountered. [issue noted by 
565         will@cesmail.net] Add a simple-string declaration for a local
566         string generated.
567         
568 06 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
569         * sql/oodml.lisp: Change db-writer and db-reader processing to accept
570         a symbol as well as function to serve as a function designator
571         [issue noted by will@cesmail.net]
572
573 05 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
574         * Version 3.1.13
575         * sql/time.lisp: Fix error in submitted patch which caused error
576         in timestrings with 19 or less characters.
577         
578 27 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
579         * Version 3.1.12
580         * db-postgresql-socket/postgresql-api.lisp: Commit patch from Tim Howe
581         to fix read-socket-sequence on non-sb-unicode sbcl.
582         
583 26 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
584         * Version 3.1.12
585         * sql/time.lisp: Commit patch from Daniel Lowe which adds support
586         for fractional seconds which is required by PostgreSQL
587         * db-postgresql/postgresql-loader.lisp: Add library path for Windows
588         
589 25 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
590         * sql/csql.lisp: Update URL for "SQL for Web Dummies" [Sean Champ]
591         
592 24 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
593         * Version 3.1.11
594         * sql/syntax: Commit patch from Alan Shields to supress reader
595         macros when *read-supress* is T.
596         
597 13 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
598         * Version 3.1.10
599         * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
600         from Janis Dzerins to support unicode on SBCL
601         * sql/syntax: Commit patch from Alan Shields to improve reporting
602         of invalid syntax statements.
603         
604 06 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
605         * Version 3.1.9
606         * db-mysql/mysql-sql.lisp: Add port to connection specification
607         based on patch from Dave Watson
608         * doc/appendix.xml: Document MySQL port parameter to connection spec
609
610 03 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
611         * Version 3.1.8
612         * sql/time.lisp: Patch from Keith James for parsing ISO-8601 timestamps
613         
614 18 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
615         * sql/oodml.lisp: Add missing database argument [Patch from
616         Alan Caulkins]
617         
618 03 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
619         * sql/oodml.lisp: Improve database priority in 
620         update-records-from-instance [Patch from Walter C. Pelissero]
621         
622 17 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
623         * Version 3.1.7
624         * sql/package.lisp: Export database-reconnect from clsql-sys
625
626 08 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
627         * sql/oodml.lisp: Use explicit database in fault-join-target-slot
628         [Patch from Walter Pelissero]
629         
630 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
631         * db-postgresql/postgresql-loader.lisp: Add additional
632         directories to Fink on darwin [patch from Cyrus Harmon].
633         
634 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
635         * Version 3.1.6
636         * sql/oodml.lisp: Clear view instance cache when delete-instance-records
637         is invoked [suggested by Alan Shutko].
638         * uffi/clsql-uffi-loader.lisp: Improvements for loading with SBCL X86-64
639         * sql/metaclasses.lisp: Don't change case of a :base-table string supplied
640         to def-view-class [fix suggested by Fred Gilham].
641         
642 25 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
643         * tests/*.lisp: Change Vladamir to Vladimir per Cyrus Harmon's
644         suggestion.
645         * sql/utils.lisp: Fix unnecessary consing noted by Fred Gilham.
646         * doc/*.xml: Fix spelling of Vladimir
647         
648 24 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
649         * doc/bookinfo.xml, doc/csql.xml, doc/intro.xml: Update links
650         now that LispWorks is an independant company [noted by
651         Martin Thornquist]
652         
653 22 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
654         * db-sqlite/sqlite-sql.lisp, db-sqlite3/sqlite3-sql.lisp:
655         Better support for 64 bit environments
656
657 05 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
658         * Version 3.1.5
659         * sql/metaclass.lisp: Make t the default value of :set
660         [noted by Cyrus Harmon]
661
662 28 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
663         * Version 3.1.4
664         * uffi/clsql-uffi.lisp: Add support for unsigned integers
665         * db-mysql/mysql-sql.lisp: Add support for detecting/marking
666         unsigned integers. Apply patch from Yannick Gingras to
667         implement database-sequence-last.
668         
669 26 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
670         * doc/ref-fdml.lisp: Fix variable tag name to varname
671         [noted by Eduardo Munoz]
672         * db-mysql/mysql-loader.lisp: Handle library paths for 64-bit systems
673         
674 06 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
675         * Version 3.1.2
676         * sql/ooddl.lisp: Accept patch from Klaus Harbo for
677         update-object-joins.
678         * sql/metaclass.lisp: Remove unnecssary (and runtime error
679         causing) change-class invocation when running on CLISP.
680         * db-mysql/mysql-api.lisp: Commit patch from Paul Werkowski
681         to fix structure name.
682         * sql/database.lisp: More specific error message with trying
683         to use a database value of NIL.
684         * sql/expressions.lisp: Accept a string for the table name
685         in (sql-output sql-delete database) [suggested by Ed Symanzik].
686         
687 11 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
688         * Version 3.1.1
689         * sql/generic-postgresql.lisp: Commit patch from Chris Capel to
690         ignore columns which have been dropped.
691         * clsql-postgresql-socket.asd, db-postgresql-socket/postgresql-socket-package.lisp:
692         Use sb-md5 package on SBCL, recommended by Chris Capel
693         
694 09 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
695         * Version 3.1.0 released: New SQLite3 backend by Aurelio Bignoli
696         * doc/appendix.xml: Document SQLITE3 backend, patch by Aurelio Bignoli
697         * sql/operations.lisp: Add lower and upper SQL functions [Daniel Lowe].
698         
699 08 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
700         * sql/expressions.lisp: Fix slot name [thanks to Daniel Lowe]
701
702 31 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
703         * clsql-sqlite3, db-sqlite3/*: NEW BACKEND
704         contributed by Aurelio Bignoli
705
706 23 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
707         * sql/oodml.lisp: Commit patch from Walter Pelis
708         to use an object's database for a select on its slot.
709         
710 20 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
711         * uffi/uffi.c, uffi/clsql-uffi.lisp: Commit patch from
712         Aurelio Bignoli to fix negative 64-bit integers
713         
714 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
715         * db-mysql/mysql.c: Fix parameters in bind_param call
716
717 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
718         * uffi/clsql-uffi.lisp: Add support for :blob result-type
719         * db-mysql/mysql-sql.lisp: Add support for :blob
720         result-type
721         
722 04 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
723         * db-mysql/mysql-sql.lisp, db-db2/db2-sql.lisp: Add
724         missing quotes for types in code that is still in development
725         (thanks to Joerg Hoehle)
726         
727 03 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
728         * Version 3.0.8 released
729         * db-sqlite/sqlite-*.lisp: Apply patch from
730         Aurelio Bignoli with improvements
731         
732 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
733         * multiple: Apply patch from Joerg Hoehle with multiple
734         improvements.
735         
736 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
737         * Version 3.0.7 released
738         * sql/oodml.lisp, sql/package.lisp, db-mysql/mysql-objects.lisp:
739         Add support for mediumint.
740         * sql/metaclass.lisp: Rework CLISP MOP handling
741         * sql/ooddl.lisp: Work-around to have CLISP finalize standard-db-class
742         
743 28 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
744         * sql/metaclass.lisp: Support CLISP's attribute name
745         for the type field in direct class slots
746         
747 27 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
748         * Version 3.0.6 released
749         * BUGS: New file. Document suspected SIGPIPE
750         interaction between SBCL and libpq used in
751         postgresql backend.
752         * doc/ref-fdml.lisp: Document the :caching and :refresh
753         keywords of the SELECT function.
754         * doc/ref-ooddml.lisp: Document the new *default-caching*
755         variable.
756         * sql/package.lisp: Export *default-caching*
757         * sql/oodml.lisp: Use *default-caching* to 
758         control default caching behavior.
759         
760 21 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
761         * Version 3.0.5 release
762         * doc/appendix.xml: Add note about loading Oracle8 version
763         * db-oracle/oracle-loader.lisp: Support Oracle8 based on
764         data from David Young.
765
766 10 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
767         * doc/Makefile, doc/catalog-darwin.xml: Apply
768         patch from Cyrus Harmon for building docs on Mac OS X
769         * sql/package.lisp: Add new (pre-release) clisp MOP package     
770         
771 09 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
772         * Version 3.0.4 Release
773         * multiple: Remove superfluous quotes in UFFI def-type
774         and def-foreign-type forms.
775         
776 07 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
777         * Version 3.0.3 Release
778         * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
779         from Tagore Smith to call force-output after sending authentication
780         * db-odbc/odbc-api.lisp: Move ODBC v3 conversons
781         * db-odbc/odbc-sql.lisp: Load mysql or postgresql package when connecting
782         to a database of that type so that functions that indicate capabilities of
783         database are available.
784         
785 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
786         * db-odbc/odbc-api.lisp: More conversions to ODBC v3
787         
788 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
789         * Version 3.0.2 Release
790         * TODO: Add note about ODBC on Windows
791         * db-odbc/odbc-loader.lisp: Add /winnt/system32/ to
792         search directories
793         * db-odbc/odbc-ff-interface.lisp: Change the return type 
794         of SQLSetEnvAttr to :short
795         
796 02 Sep 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
797         * examples/clsql-tutorial.lisp: added missing initarg for the COMPANYID
798         slot of the employee View Class definition [reported by Franz Deuzer]. 
799
800 01 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
801         * Version 3.0.1 Release
802         * tests/test-init.lisp: Add second join class to employee-address
803         to test a class with two join slots.
804         * sql/oodml.lisp: Fix find-all function for a class with multiple
805         join slots
806         * TODO: Remove need to test/fix multiple join classes
807         
808 27 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
809         * db-mysql/Makefile, db-mysql/mysql-loader.lisp: accept patch
810         from Jon Buffington for file locations on Darwin.
811         
812 17 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
813         * sql/db-interface.lisp: Improve messages when functions
814         are passed a database object, but the method is not specialized
815         for that database type.
816         * sql/metaclasses.lisp: Fix inline declaration (reported by
817         Cyrus Harmon)
818         
819 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
820         * TODO: Add bug report about SQL generation with a table
821         containing two join slots.
822         * sql/oodml.lisp: Add optional size to VARCHAR type
823         
824 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
825         * Version 3.0.0 Release
826         * sql/expressions.lisp: Change declaration that
827         caused error on openmcl
828         * db-aodbc/aodbc-sql.lisp: Fix storage location
829         of odbc connection. Specialize database-query since
830         dbi's :types keyword is different than generic-odbc's
831         :result-types keyword
832         * sql/db-interface.lisp: Add warnings for methods
833         not specialized by a db backends
834         * tests/test-fddl.lisp: Fix case of symbols to support
835         case-sensitive Allegro 
836         * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
837         * tests/test-init.lisp: Note that odbc driver for postgresql
838         doesn't properly handle table ownership
839         * LATEST-TEST-RESULTS: update with version 3.0.0
840         
841 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
842         * sql/expressions.lisp: conditionalise escaping of backslash in 
843         generated SQL strings on backend. 
844         * tests/test-fdml.lisp: test for escaping of backslash. 
845         * sql/oodml.lisp: minor tidying in FIND-ALL. 
846
847 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
848         * NEWS: Initial 3.0 announcement draft
849         * README: Expand acknowledgements of incorporated projects
850         * CONTRIBUTORS: Further document Marcus Pearce contributions
851         
852 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
853         * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
854         to print floats with the exponent markers removed. 
855         * tests/test-oodml.lisp: add tests for updating records with floats. 
856
857 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
858         * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for 
859         CommonSQL compatibility. 
860         * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since 
861         this column constraint syntax is not supported. 
862         * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
863         from EMPLID to LAST_NAME since Oracle complains that EMPLID is already 
864         indexed. 
865
866 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
867         * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES. 
868         * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES. 
869         * doc/ref-ooddl.xml: minor changes to syntax and examples entries 
870         for uniformity. 
871         * doc/ref-oodml.xml: add examples for OODML. 
872         * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument 
873         to FIND-ALL. 
874         * sql/metaclasses.lisp: update docstrings. 
875         * tests/test-init.lisp: change :db-constraints for emplid to 
876         (:not-null :unique) as a temporary test for multiple column constraints 
877         in DEF-VIEW-CLASS. 
878         * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and 
879         return type of (SETF SLOT-VALUE-USING-CLASS). 
880         * TODO, doc/TODO: remove items done. 
881         * README: fix typo. 
882         
883 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
884         * sql/oodml.lisp: on Lispworks, use weak valued hash tables for 
885         object caching. 
886         * sql/expressions.lisp: Fix SQL generation for the symbol NIL. 
887
888 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
889         * sql/expressions.lisp: reactivate caching of generated SQL strings. 
890         Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY 
891         here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT, 
892         OUTPUT-SQL and DATABASE-OUTPUT-SQL. 
893         * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move 
894         methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to 
895         sql/expressions.lisp. 
896         * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in 
897         DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT. 
898         * sql/generics.lisp: add docstrings. 
899
900 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
901         * Version 2.11.16
902         * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
903         code in favor of fixing UFFI with James Bielman's patch
904         
905 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
906         * Version 2.11.15
907         * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
908         from James Bielman
909         
910 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
911         * README, INSTALL: update URLs. Minor updates to descriptions. 
912         * tests/README: remove stuff about editing contexts. 
913
914 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
915         * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to 
916         *default-string-length*
917         
918 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
919         * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping 
920         of single quotes. 
921         * tests/test-fddl.lisp: add tests for column and table constraints 
922         in CREATE-TABLE. Add test for OWNER keyword parameter to 
923         LIST-TABLES (assuming same underlying machinery in other FDDL 
924         functions). 
925         * tests/test-init.lisp: restrict above test to postgresql and oracle. 
926         
927 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
928         * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio 
929         Bignoli.
930
931 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
932         * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
933         
934 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
935         * Version 2.11.14
936         * doc/*.xml: documentation additionals and fixes so
937         that docbook passes xmllint.
938         
939 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
940         * Version 2.11.13
941         * sql/fdml.lisp: Apply patch from Kim Minh Kaplan 
942         to change escaping of single quotes. Mild optimizations
943         for escaped string output.
944         * doc/ref-ooddl.lisp: documentation additions
945         * doc/ref-oodml.lisp: Add purpose to functions
946         * TODO: Add need to test single quote escaping
947         
948 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
949         * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
950         * sql/ooddl.lisp: Added SMALLINT type
951         * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
952         * db-mysql/mysql-objects.lisp: Added SMALLINT type
953         * sql/package.lisp: Export SMALLINT
954         * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
955         db-constraints
956         
957 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
958         * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the 
959         recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS 
960         View Class slot option. 
961         * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class 
962         slot option accepting a list of constraints [reported by Travis Cross]. 
963         * doc/ref-fddl.xml: add some examples of specifying column and 
964         table constraints to the documentation for CREATE-TABLE. 
965         * TODO: add note about adding tests for table/column constraints. Add 
966         optimisation note about using cached attribute types in insert/update
967         operations. 
968         
969 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
970         * doc/appendix.xml: add notes about idiosyncrasies/unsupported 
971         features and so on the documentation for each backend. 
972         * doc/TODO: remove items done. 
973         * doc/ref-transaction.xml: add note in introduction about 
974         autocommit mode as a difference from CommonSQL. 
975         * doc/ref-syntax.xml: add notes about SQL syntax state functions 
976         being macros in CLSQL. Add note about SQL operators which are 
977         CLSQL extensions. 
978
979 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
980         * Version 2.11.12 released
981         * doc/ref-recording.xml: document SQL I/O recording. 
982         * doc/ref-prepared.xml: new file for documenting prepared statements. 
983         * doc/clsql.xml: comment out include for large object and CLSQL-SYS 
984         documentation. 
985         * doc/ref-conditions.xml: complete documentation of condition system. 
986         * doc/global-index.xml: add symbols from condition system and remove
987         those from LOB and prepared statement APIs. 
988         * doc/ref-fdml.xml: complete documentation of FDML.
989         * doc/glossary.xml: add View Class. 
990         * doc/TODO: remove items done. 
991         * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR. 
992         * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export 
993         additional slot accessors for condition classes. 
994
995 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
996         * doc/ref-ooddl.lisp: Add documentation
997         * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
998         and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
999         * doc/oodml.lisp: Rename references to new name of
1000         *DEFAULT-STRING-LENGTH*
1001
1002 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1003         * doc/ref-transaction.xml: document transaction handling. 
1004         * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and 
1005         START-TRANSACTION return NIL as per the CommonSQL spec. Modify 
1006         ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is 
1007         passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
1008         Added docstrings. 
1009
1010 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1011         * doc/ref-fdml.xml: document the FDML. 
1012         * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here. 
1013         * sql/ooddl.lisp: moved *default-varchar-length* to here from 
1014         oodml.lisp and renamed to *default-string-length*
1015         
1016 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1017         * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
1018         to allow specifying transactionless table creation
1019         * doc/ref-oodml.lisp: Add new keyword to signature of 
1020         DEF-VIEW-FROM-CLASS     
1021         
1022 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1023         * Version 2.11.11
1024         * sql/expressions.lisp: when removing duplicate table identifiers 
1025         in the FROM clause of a query, check both table name and alias 
1026         are equivalent. 
1027         * sql/fdml.lisp: remove DESCRIBE-TABLE. 
1028         * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and 
1029         DATABASE-DESCRIBE-TABLE. 
1030         * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE 
1031         and LIST-TABLE-INDEXES. 
1032         * sql/generic-postgresql.lisp: add reader conditional #+nil for 
1033         DATABASE-DESCRIBE-TABLE and comment about its uses for 
1034         re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query 
1035         returning type info for all attributes. 
1036         Fix DATABASE-SEQUENCE-LAST. 
1037         * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine 
1038         LIST-INDEXES with additional keyword parameter :ON. 
1039         * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3 
1040         with LIST-INDEXES (with :ON parameter). 
1041         * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES. 
1042         * doc/ref-connect.xml: minor tidying. 
1043         * doc/ref-fddl.xml: document the FDDL. 
1044         * doc/TODO: removed items done. Moved note about transaction handling 
1045         from TODO to here. 
1046         * TODO: move note about transaction handling to doc/TODO. Added 
1047         optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES. 
1048         
1049 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1050         * Version 2.11.10
1051         * sql/syntax.lisp: updated docstrings. 
1052         * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL 
1053         package.
1054         * sql/database.lisp: add docstrings for CREATE-DATABASE, 
1055         DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace 
1056         CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR. 
1057         * doc/ref-syntax.xml, doc/global-index.xml: minor tidying. 
1058         * doc/ref-connect.xml: document connection/initialisation. 
1059         * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here. 
1060         * doc/TODO: remove items done. 
1061         * Makefile: add db-oracle to to SUBDIRS. 
1062
1063 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1064         * sql/oodml.lisp: Add new serialization functions:
1065         WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
1066         * sql/expressions.lisp: Avoid duplicate FROM names when selecting
1067         from a table that has more than one primary index.
1068         * sql/conditions.lisp: Fix printing of closed-database error
1069         
1070 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1071         * Version 2.11.9
1072         * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
1073         * sql/transactions.lisp: Correctly set slots of SQL-WARNING
1074
1075 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1076         * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses 
1077         of SQL-EXPRESSION from CLSQL-SYS. 
1078         * sql/syntax.lisp: make error signalled in SQL-OPERATION an 
1079         SQL-USER-ERROR. Make SQL-OPERATOR return just one value. 
1080         * doc/Makefile: added Mandrake linux. 
1081         * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files. 
1082         * doc/appendix.xml: fixed little typo (adsf). 
1083         * doc/glossary.xml: removed closed-database and note about 
1084         sql-expression, added some entries. 
1085         * doc/ref-syntax.xml: documented the symbolic SQL syntax. 
1086
1087 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1088         * Version 2.11.8
1089         * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
1090         * multiple: Add generalized-boolean type as requested by
1091         Edi Weitz
1092         * TODO: Added need for test of generalized-boolean
1093         
1094 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1095         * Version 2.11.7 released
1096         * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
1097         for loading with clc-register-user-package. Remove personal
1098         directory from path lisp.
1099         * db-mysql/mysql-loader.lisp: Similar changes
1100         
1101 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1102         * Version 2.11.6 released
1103         * sql/oodml.lisp: Commit patch from Edi Weitz
1104         to fix symbol writing/reading
1105         * TODO: Add need for symbol slot test
1106         
1107 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1108         * sql/package.lisp: remove duplicate export of 
1109         *CACHE-TABLE-QUERIES-DEFAULT*. 
1110         * doc/ref-*.xml, doc/global-index.xml: new files documenting 
1111         the CommonSQL compatible api. 
1112         * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to 
1113         reflect changes in return values of WITH-TRANSACTION. 
1114
1115 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1116         * tests/README: Fix filename [reported by Bill Clementson]
1117         * sql/transactions.lisp: Apply return value patch from
1118         Edi Weitz for WITH-TRANSACTION
1119         * tests/README: Remove ptester package requirement (as noted
1120         by Bill Clementson)
1121         
1122 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1123         * Version 2.11.5 released
1124         * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
1125         Select connection-spec based on connection type. Bugs reported by
1126         Bill Clementson.
1127         * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
1128         * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
1129         name on Windows, add \bin\ directory to search path
1130         
1131 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk> 
1132         * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in 
1133         DATABASE-CONNECT. 
1134         * sql/operations.lisp: substr now generates SUBSTR for use on 
1135         Oracle; added a new operator SUBSTRING for use elsewhere. minus 
1136         now generates MINUS for use on Oracle. Nvl signals an error if 
1137         not called with exactly 2 arguments. Add concat function for use 
1138         instead of the || operator on MySQL and Oracle. 
1139         * sql/syntax.lisp: changed internal symbol for the || operator to 
1140         CONCAT-OP. 
1141         * sql/expressions.lisp: removed redundant and unused functions 
1142         GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
1143         (cf. MAKE-CONSTRAINTS-DESCRIPTION). 
1144         * sql/generics.lisp: removed generic function for 
1145         DATABASE-CONSTRAINT-DESCRIPTION (see above). 
1146         * tests/test-syntax.lisp: modified/added tests according to changes
1147         in sql/operations.lisp. 
1148         * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test 
1149         :fdml/select/21.  
1150         * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP 
1151         and SQL-USERENV to the shared exports list. Removed 
1152         ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION, 
1153         DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION, 
1154         TRANSACTION-LEVEL, TRANSACTION,  RECORD-SQL-COMMAND and 
1155         RECORD-SQL-RESULT from shared exports list. 
1156         
1157 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1158         * db-postgresql/postgresl-sql.lisp: Avoid computing
1159         result-types lisp when nil result-types. Return only
1160         one value when field-types nil.
1161         * db-mysql/mysql-sql.lisp: Simple queries now
1162         working with prepared statements.
1163         
1164 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1165         * Version 2.11.4: MySQL 4.1 now passes all tests
1166         * sql/package.lisp: Add API for prepared statments.
1167         * sql/fdml.lisp: Change implicit flatp processing
1168         for string map-query for greater CommonSQL conformance.
1169         Add high-high API for prepared statements.
1170         * tests/test-basic.lisp: Add test for map-query and
1171         single argument.
1172         * sql/transactions.lisp: Change name/semantics of
1173         autocommit to set-autocommit.
1174         * sql/generic-postgresql.lisp: Add support for
1175         prepared statements. 
1176         * tests/test-internal.lisp: New file
1177         * sql/odbc-api.lisp: Update to using ODBC V3 protocol
1178         * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
1179         Controller invocation.
1180         * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
1181         * sql/expressions.lisp: Avoid emitting double parenthesis when a
1182         function contains a subselect. 
1183         
1184 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1185         * Version 2.11.3
1186         * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
1187         type (setf slot-value-using-class)
1188         * TODO: add not that need a test case for the above fix
1189         * db-sqlite: Remove clisp support since clisp can not run CLSQL
1190         with its MOP usage
1191         * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as 
1192         introduced in Oracle8. Leave older code selectable by a reader macro
1193         for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
1194         uses OCILogon and does not the more complex session management.
1195         
1196 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1197         * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
1198         * test/test-init.lisp: Add universal-time slot to person.
1199         * test/test-fddl.lisp: Add tests of universal-time slot
1200         * test/test-ooddl.lisp: Test universal-time slot in an object
1201         * TODO: Remove need for universal-time test     
1202         * debian/rules, debian/control: Add cl-sql-oracle binary package
1203         * doc/appendix.xml: Add Oracle backend information
1204         * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
1205         universal-time. Convert BIGINT CLSQL type to CHAR SQL type
1206         * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
1207         * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
1208         for map-query to reflect changed in arguments to be CommonSQL compatible.
1209         Updated old clsql conditions to new CommonSQL compatible conditions.
1210         
1211 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1212         * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
1213         type. Added *default-varchar-length* rather than previous hard-coded
1214         varchar length. Remove 'simple-string and 'simple-base-string since they
1215         are subtypes of 'string.
1216         * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
1217         local hard-coded value.
1218         * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
1219         type string. Convert specified-type (CHAR n) to string. Convert specified-type
1220         CHAR to lisp type character.
1221         * sql/generic-postgresql.lisp: (string n) => (CHAR n)
1222         * sql/operations.lisp: Add userenv
1223         * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
1224         slot tests
1225         * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
1226         * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
1227         * test/test-init.lisp: Add large table with bigint slot
1228         
1229 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1230         * Version 2.11.1 released: Much simpler Oracle client library loading.
1231         Now uses ORACLE_HOME environmental variable as well as tests default
1232         path for Oracle Instant Client. 
1233         
1234 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1235         * Version 2.11.0 released: Full Oracle support. All tests pass
1236         * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
1237         * tests/test-init.lisp: capitalize odbc backend name in banner
1238         * CONTRIBUTORS: Add note about Marcus' excellent work
1239         * sql/oodml.lisp: Removed old stub function     
1240         * clsql.asd: Use module names in current package rather than keyword package
1241         * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
1242         in setting sequence position. Make autocommits more efficient.
1243         * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax 
1244         * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
1245         strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
1246         and read-sql-value for NUMBER and CHAR.
1247         * sql/base-classes.lisp: Add autocommit slot
1248         * sql/transaction.lisp: Added autocommit processing, mild cleaning.
1249         * doc/intro.xml: Add Oracle
1250         
1251 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk) 
1252         * db-postgresql-socket/postgresql-socket-sql.lisp: replace 
1253         CLSQL-SIMPLE-WARNING with SQL-WARNING. 
1254         * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with 
1255         SQL-WARNING. 
1256         * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR. 
1257         * clsql.asd: reworked module structure in package definition and 
1258         file names to better reflect component functionality. 
1259         * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to 
1260         exports list. Removed duplicate and obsolete exports. Exported 
1261         remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT, 
1262         SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and 
1263         according to whether they are specified by CommonSQL or CLSQL 
1264         extensions. 
1265         * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with 
1266         SQL-WARNING. 
1267         * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND 
1268         here from basic-sql.lisp. 
1269         * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted). 
1270         * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted). 
1271         * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
1272         (both deleted). 
1273         * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted). 
1274         * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted). 
1275         
1276 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1277         * Version 2.10.22 released
1278         * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
1279         has reversed class slots, change the default for ordered-class-slots so that slots
1280         are now in the same order an in the def-view-class.
1281         * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
1282         * test/test-fddl.lisp: Add two tests for mixed case names
1283         * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
1284         for computed fields, this will require some adjustment to the test suite which
1285         in many cases expects integers.
1286         * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
1287         
1288 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1289         * Version 2.10.21 released
1290         * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
1291         db-odbc, and db-aodbc.
1292         * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
1293         DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
1294         * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
1295         * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to 
1296         sql/generic-odbc.lisp
1297         * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp: 
1298         Move common code to  sql/generic-postgresql.lisp
1299         * sql/classes.lisp: honor case of string tables when outputting queries 
1300         * sql/objects.lisp: Add database type to default database-get-type-specifier method
1301         * sql/sql.lisp:  Add database type to default database-abort-transaction method
1302         * db-mysql/mysql-objects.lisp: New file
1303         * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
1304         * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
1305         from environment
1306         * test/test-fdml.lisp: String table names are now case sensitive, so convert to
1307         default db case for FDML/SELECT/25
1308
1309 22 May 2004 Kevin Rosenberg
1310         * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
1311         * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
1312         and string identifiers with non-default case
1313         * sql/table.lisp: Don't convert string table name to a symbol.
1314         * sql/classes.lisp: Honor case of string identifiers
1315         * sql/sql.lisp: Ensure recyclebin is purged for Oracle in 
1316         TRUNCATE-DATABASE
1317         * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
1318         of owner phrases. Obtain server and client versions.
1319         * db-oracle/oracle-objects.lisp: Fix type specifiers
1320         * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
1321         * tests/test-init.lisp: Properly get username from Oracle connection-spec
1322         
1323 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1324         * sql/generics.lisp: reworked docstrings. Remove generics for 
1325         ADD-TO-RELATION and REMOVE-FROM-RELATION. 
1326         * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS 
1327         to UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
1328         * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS 
1329         for CommonSQL compatibility. Remove ADD-TO-RELATION and 
1330         REMOVE-FROM-RELATION. 
1331         * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to 
1332         UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
1333         * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS. 
1334         * sql/conditions.lisp: add documentation for conditions. Add 
1335         SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility. 
1336
1337 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1338         * sql/basic-sql.lisp: reworked docstrings. 
1339         * sql/transactions.lisp: reworked docstrings. 
1340         * sql/sql.lisp: reworked docstrings. 
1341         * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE 
1342         sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility. 
1343         * sql/database.lisp: reworked docstrings. 
1344         * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P 
1345         and FDML extensions and database extensions. 
1346
1347 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1348         * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
1349         * db-oracle/make9.sh: add makefile for building with Oracle 9 client
1350         libraries
1351         * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
1352         Oracle versions with the PURGE option required for drop table. This needs
1353         to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
1354
1355 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1356         * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE. 
1357         * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION. 
1358         * sql/table.lisp: reworked docstrings. 
1359         * sql/objects.lisp: moved *default-update-objects-max-len* here from 
1360         table.lisp. 
1361         * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE, 
1362         DROP-VIEW and DROP-INDEX and the use of the :transactions and 
1363         :constraints keyword args to CREATE-TABLE. 
1364         * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now 
1365         CommonSQL compatible with respect to column constraints. 
1366
1367 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1368         * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
1369         Requires UFFI 1.5.0 or higher
1370         
1371 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1372         * Version 2.10.19
1373         * sql/conditions.lisp: Fix cerror
1374         
1375 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1376         * Version 2.10.18 released: New condition hierarchy to be compatible
1377         with CommonSQL -- not backward compatible with previous CLSQL.
1378         * sql/db-interface.lisp: Add more default methods
1379         * sql/objects.lisp: Add explicit table name to order-by parameters
1380         in find-all when only one table to avoid selecting a duplicate row.
1381         Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
1382         as previous logic was adding two fields (foo asc) to SELECT query.
1383         Make :result-types :auto be the default for object selections.
1384         Properly handle caching key when using multiple order-by with asc/desc
1385         directions.
1386         * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
1387         
1388 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1389         * sql/recording.lisp: reworked docstrings. 
1390         * sql/syntax.lisp: reworked docstrings. 
1391         * doc/TODO: added notes about extensions to SQL-RECORDING-P and the 
1392         SQL syntax state functions being macros. 
1393
1394 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1395         * sql/package.lisp: Export initialize-database-type and
1396         *initialize-database-types* from CLSQL package.
1397         * sql/conditions.lisp: Add new CommonSQL compatible conditions,
1398         remove old CLSQL conditions.
1399         * sql/loop-extensions.lisp: Make errors of type sql-user-error
1400         * */*.lisp: Convert to from old to new conditions
1401         
1402 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1403         * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
1404         To handle this difference, will need to add a new database-drop-table
1405         generic function.
1406         * db-oracle/oracle-sql.lisp: Move server-version and
1407         major-version-number to database object to allow multiple connections
1408         to Oracle servers of different versions.
1409         
1410 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1411         * TODO: moved notes about backends to doc/TODO. 
1412         * doc/TODO: added notes about backends and select extensions. 
1413         * sql/base-classes.lisp: remove obsolete schema slot in database 
1414         class. 
1415         
1416 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1417         * db-oracle/oracle-api: Add OCIServerVersion
1418         * db-oracle/oracle-sql: Query and store server version on connect
1419         * sql/db-interface.lisp: Add new db-type-has-bigint? generic
1420         function to handle OCI's lack of bigint support
1421         * test/test-basic.lisp: Separate bigint testing
1422         * test/test-utils.lisp: Add oracle to specs and list of backends
1423         * doc/TODO: New file
1424         * test/test-fdml.lisp: Added FDML/SELECT/34 to test
1425         run-time instantiation of variables in reader macros.
1426         * TODO: Remove item already complete. Add note about
1427         condition variances
1428         
1429 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1430         * sql/syntax.lisp: added condition to the reader macro to treat [*] 
1431         as a column identifier (rather than an operation) for CommonSQL 
1432         compatibility. 
1433         * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION 
1434         keword args to SELECT, [*] as column identifier, new MAP-QUERY 
1435         behaviour and the ANY and ALL operators in subqueries. 
1436         * tests/test-init.lisp: add set-operation and subquery tests to 
1437         appropriate skip lists. 
1438         * sql/objects.lisp: remove redundant and non CommonSQL compatible 
1439         ORDER-BY-DESCENDING keyword argument for SELECT. 
1440         * sql/classes.lisp: remove redundant and non CommonSQL compatible 
1441         ORDER-BY-DESCENDING keyword argument for SELECT. 
1442         * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT 
1443         with object queries. 
1444
1445 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1446         * sql/db-interface.lisp: Add new db-type-has-union? 
1447         since Mysql 3.23 does not support unions.
1448         * sql/test-init.lisp: Don't try union tests on database
1449         backends which do not support it.
1450         * db-oracle/*.lisp: initial port to UFFI
1451         * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
1452         implement REFRESH for SELECT.
1453         * tests/test-oodml.lisp: Add tests for deferred retrieval,
1454         caching, refresh, and update-object-joins
1455         * tests/test-init.lisp: Add deferred-employee-address class
1456         
1457 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1458         * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add 
1459         COALESCE operator and make NVL a synonym for this. Make ANY, SOME, 
1460         ALL and EXISTS generate function expressions so they output the 
1461         correct SQL. 
1462         * sql/classes.lisp: SELECT now generates appropriate SQL when 
1463         passed the SET-OPERATION and ALL keyword arguments. 
1464         * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now 
1465         accepts ordering constraints as pairs of the form (column direction) 
1466         where direction may be :ASC or :DESC. 
1467         * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL. 
1468         Correct tests for ANY, SOME, ALL and EXISTS. 
1469         * tests/test-fdml.lisp: added test for COALESCE. 
1470         * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION 
1471         using funcall unless QUERY-EXPRESSION returns one column and its 
1472         FLATP slot is not nil in which case apply is used. 
1473         * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the 
1474         changes. 
1475         * TODO: remove items done. 
1476         * db-postgresql/postgresql-sql.lisp: no need to reverse results in 
1477         DATABASE-LIST-ATTRIBUTES. 
1478         * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
1479         results in DATABASE-LIST-ATTRIBUTES.    
1480         
1481 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1482         * sql/classes.lisp: SELECT now accepts table identifiers as strings 
1483         for CommonSQL compliance. Add support for qualified sql identifiers 
1484         with aliased table names. 
1485         * tests/test-fdml.lisp: added tests for table identifiers as strings 
1486         in SELECT and for aliased definitions. 
1487         * tests/test-syntax.lisp: added tests for alias definitions. 
1488         
1489 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1490         * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and 
1491         field-names set to nil. 
1492         * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly 
1493         with null attribute values. 
1494         * sql/operations.lisp: modify SQL concatenation operator to accept 
1495         unescaped || symbol.  
1496         * sql/syntax.lisp: modify sql reader macro function to accept 
1497         unescaped sql concatenation operator. 
1498         * tests/test-fdml.lisp: unescape sql concatenation operator. 
1499         * tests/test-syntax.lisp: unescape sql concatenation operator. 
1500         * TODO: remove items done. Add notes about SQLITE/MYSQL backends. 
1501         Note to add test for universal-time. Note about difference from 
1502         CommonSQL in transaction handling. 
1503
1504 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1505         * tests/test-init.lisp: Add deferred-employee-address
1506         class
1507         * tests/test-oodml.lisp: Add deferred retrieval testgs
1508         
1509 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1510         * Version 2.10.17
1511         * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
1512         * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
1513         * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
1514         * *: Fix minor style warnings
1515         * clsql-classic: Remove system and subdirectory
1516         * clsql-base: Remove system and subdirectory and
1517         fold into clsql system
1518         * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
1519         as supported platform.
1520         
1521 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1522         * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
1523         * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
1524         Allegro 7.0beta AMD64
1525         * db-odbc/*.lisp: Add a layer of indirection to foreign-type
1526         of ODBC longs since this type can vary on 64-bit platforms depending
1527         upon the compilation options of unixODBC.
1528         * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
1529         structures found by testing with AllegroCL 7.0b AMD64.
1530         * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
1531         * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
1532         Initial caching support for SELECT
1533         * tests/test-oodml.lisp: Avoid using cache when testing select.
1534         * sql/kmr-mop.lisp: Explicitly check slot order and
1535         store as a cl:*feature*
1536         * sql/recording.lisp: Remove additional types to
1537         increase CommonSQL conformance.
1538         * tests/test-init.lisp: Change a :column attribute
1539         to test symbols as value
1540         * sql/relations.lisp: Remove functions since they don't support
1541         many to many relationships.
1542         * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
1543         of add-to-relations function and replace with explicit field settings.
1544         * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
1545         
1546 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1547         * Version 2.10.15
1548         * LATEST-TEST-RESULTS: results with current version
1549         * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
1550         since cmu19 has opposite order of class slots.
1551         * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
1552         * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
1553         a previous test
1554         * tests/test-init.lisp: Check test-database-underlying-type for
1555         ODBC/MySQL tests
1556         
1557 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1558         * sql/operations.lisp: complete remaining operations for the sql 
1559         syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT, 
1560         UNION, INTERSECT, BETWEEN. 
1561         * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION, 
1562         SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION. 
1563         * tests/test-syntax.lisp: add tests for new operations. 
1564         * tests/test-fdml.lisp: add tests for queries based on new operations. 
1565         * tests/test-init.lisp: add select/20 to tests skipped for sqlite and 
1566         select/20, query/5, query/7 and query/8 to tests skipped by mysql. 
1567         * TODO: removed entries done. 
1568
1569 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1570         * tests/benchmarks.lisp: Add immediate vs. deferred
1571         join test.
1572         
1573 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1574         * Version 2.10.13: Now works on openmcl 0.14.2 
1575         * sql/objects.lisp: Add :retrieval :immediate for
1576         object selections
1577         * tests/test-init.lisp: Add non-index fields for testing 
1578         join class employee-addresss
1579         * test/test-oodml.lisp: Add tests for retrieval immediate
1580         * sql/metaclasses.lisp: Handle differences in direct-slot-definition 
1581         values which are now listifed by openmcl 14.2.
1582         * sql/objects.lisp: more framework for supporing immediate retrieval 
1583
1584 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1585         * docs/intro.xml: Upload location of a README file
1586         * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
1587         changing the type-specifier. Use a lisp type of (OR NULL FOO)
1588         for a specified-type of FOO unless :db-constraints :not-null.
1589         No need to specialize finalize-inheritance for openmcl.
1590         * tests/test-*.lisp: Rename fields so that joins occur on
1591         fields with different names. This ensures that join code is
1592         selecting the proper name.
1593         * test/test-init.lisp: Add :base-table for employee-address
1594         view class for testing.
1595         * sql/objects.lisp: Use view-table rather than name of table
1596         in a number of places to fix errors noted with using :base-table.
1597
1598 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1599         * sql/objects.lisp: replace *update-records-on-make-instance* with 
1600         *db-auto-sync* which also controls both automatic creation of 
1601         new records on creation of new instance and updating of record 
1602         fields on setting of instance slots (as suggested by Edi Weitz). 
1603         * tests/test-init.lisp: replace *update-records-on-make-instance* 
1604         with *db-auto-sync*. 
1605         * sql/package.lisp: replace *update-records-on-make-instance* 
1606         with *db-auto-sync*. 
1607         * TODO: replace *update-records-on-make-instance* with *db-auto-sync*. 
1608         * sql/objects.lisp: remove redundant rebindings of *db-initializing* 
1609         and *default-database* in FIND-ALL. 
1610         * sql/package.lisp: import time functions from CLSQL-BASE. 
1611         * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
1612         * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
1613         * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
1614         * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with 
1615         CLSQL. 
1616
1617 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1618         * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
1619         now return a sql-object-query type rather than directly performing a query.
1620         This improves CommonSQL conformance.
1621         * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
1622         from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
1623         depend on sql-object-query-type.
1624         * sql/loop-extensions.lisp: Move from base package
1625         * classic/package.lisp: remove references to map-query and do-query
1626
1627 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1628         * TODO: New section on optimizations, especially optimizing JOINs.
1629         * sql/objects.lisp: Have :target-slot return of list of lists rather
1630         than a list of cons pairs to be conformant with CommonSQL.
1631         Make :target-slot much more efficient by using a SQL inner join
1632         statement and just requiring one SQL query. Add :retrieval :deferrred
1633         to target-slot joins. Add placeholder for update-objects-join.
1634         * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
1635         and process them for query output-sql. 
1636
1637 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1638         * Version 2.10.11
1639         * base/basic-sql.lisp: Avoid multiple evaluation
1640         of query-expression in DO-QUERY
1641         * sql/objects.lisp: Make SELECT a normal function.
1642         SELECT now accepts type-modified database identifiers, such as
1643         [foo :string] which means that the values in column foo are returned 
1644         as Lisp strings. Add new *update-records-on-make-instance* special
1645         variable controlling automatic creation of new instances. Add missing
1646         RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
1647         * sql/packages.lisp: Export *update-records-on-make-instance* 
1648         * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
1649         selections.
1650         * test/test-fdml.lisp: Add tests for type-modified
1651         database identifiers.
1652         * test/test-init.lisp: Stop using add-relation since implementing
1653         many-to-many joins. Use *update-records-on-make-instance* 
1654         to automatically store records on instance creation. Add many-to-many
1655         employee-address view-class.
1656         
1657 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1658         * Version 2.10.10
1659         * base/loop.lisp: Add object iteration. Use :result-type
1660         :auto for result-set. Remove 
1661         duplicate (and non-correct) code for non-list variables by
1662         simply making an atom variable into a list. 
1663         * sql/package.lisp: Remove unnecessary clsql-sys package
1664         and replace it with clsql.
1665         * sql/metaclasses.lisp: Properly store specified-type from
1666         direct-slot-definition and then store translated type in
1667         effective-slot-definition
1668         * sql/classes.lisp: Don't output type in sql-output
1669         for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
1670         [foo :integer] as fields in SELECT.
1671         * sql/query.lisp: Set default for :result-types to :auto in
1672         FDML QUERY.
1673         * sql/objects.lisp: Use specified-type when invocating 
1674         database-get-type-specifier. def-view-class macro now returns
1675         the class instance.
1676         * base/basic-sql.lisp: Make :AUTO the default value for
1677         :RESULT-TYPES for MAP-QUERY and DO-QUERY.
1678         * sql/objects.lisp: Add bigint type
1679         * test/tests-basic.lisp: Add tests for :result-types for
1680         MAP-QUERY and DO-QUERY
1681         * test/test-fdml.lisp: Add test for result-types in LOOP
1682         and also using single symbol rather than a list for variables.
1683         Add test that default :result-types is auto for FDML QUERY.
1684         * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
1685         of SQL-IDENT-ATTRIBUTE.
1686         * test/test-oodml.lisp: Enable OO loop iteration test,
1687         modify it so it doesn't depend on boolean where.
1688         
1689 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1690         * Version 2.10.9
1691         * sql/objects.lisp: added derived type specifier for universal time. 
1692         * sql/package.lisp: added #:universal-time to clsql-sys exports. 
1693         * tests/test-oodml.lisp: added test for translation of boolean slots 
1694         in SELECT with object queries. 
1695         
1696 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1697         * db-odbc/odbc-api.lisp: Fix changing nil to "NIL" 
1698         for odbc/postgresql backend.
1699         * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
1700         it can handle NIL values from the ODBC driver
1701         * tests/benchmarks.lisp: New file with initial
1702         benchmark suite
1703         * sql/relations.lisp: fix to add subclassing support,
1704         minor optimizations [Edi Weitz]
1705         
1706 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1707         * Version 2.10.8        
1708         * base/conditions.lisp: Add *backend-warning-behavior*
1709         special variable.
1710         * db-postgresql-socket/postgresql-socket-sql.lisp:
1711         Honor value of *backend-warning-behavior*
1712         * tests/test-fdml.lisp: Remove test of raw boolean value
1713         since different backends handle this differently. Add
1714         test for :column attribute.
1715         * tests/test-oodml.lisp: Add tests for boolean slot value
1716         and for :void-value attribute
1717         * tests/test-init.lisp: Use *backend-warning-behavior*
1718         to suppress warnings from postgresql about implicitly
1719         creating primary key in tables. Add new address table.
1720         
1721 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1722         * Version 2.10.7
1723         * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
1724         result-types is :auto
1725         * sql/objects.lisp: Properly handled writing/reading Boolean
1726         values from SQL database when retrieving objects.
1727         * test/test-fdml.lisp: Add another test for boolean results
1728         * test/utils.lisp: Fix incorrect declaration
1729         
1730 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1731         * Version 2.10.6
1732         * sql/generics.lisp: add generic function for SELECT. 
1733         * sql/objects.lisp: make SELECT a method specialisation. 
1734         * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections 
1735         referred to are View Classes. 
1736         * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the 
1737         query-expression arg evaluates to a list, then we have an object 
1738         query. 
1739         * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with 
1740         object queries. 
1741         * TODO: remove items done and add a todo for SELECT. 
1742         * sql/objects.lisp: SELECT takes a :field-names arg to pass on to 
1743         QUERY. 
1744         * sql/sql.lisp: add :field-names arg to QUERY. 
1745         * tests/test-fdml.lisp: minor rework to use :field-names arg to 
1746         SELECT. 
1747
1748 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1749         * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2 
1750         or more View Classes. 
1751         * sql/objects.lisp: make the :flatp argument to SELECT work with 
1752         object queries. 
1753         * sql/objects.lisp: make SELECT accept a :result-types argument 
1754         (defaults to :auto) which is passed on to QUERY.  
1755         * sql/objects.lisp: SELECT returns field-names as a second value. 
1756         * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate. 
1757         * tests/test-fdml.lisp: add flatp/result-types arguments to calls 
1758         to SELECT and take only first value as appropriate.
1759         * tests/test-fdml.lisp: add two new tests for query result coercion 
1760         and the field-names returned as a second value from SELECT. 
1761         * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate. 
1762         
1763 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1764         * Version 2.10.6-pre1
1765         * sql/metaclasses.lisp: Add void-value slot
1766         * doc/csql.xml: Update def-view-class documentation
1767         * test/test-init.lisp: Change old :db-type to :db-kind.
1768         Remove old :nulls-ok attributes.
1769         * sql/objects.lisp: Add new universal-time and bigint
1770         types. Optimize reading of integers using parse-integer
1771         rather than read-from-string.
1772         * */*.lisp: Merge clsql-base-sys and clsql-base packages
1773         into clsql-base package
1774         * classic/sql.lisp: Move large object support into base, leaving
1775         classic without any functionality that is provided in the clsql
1776         system.
1777         * classic/package.lisp: Rename clsql-classic-sys package to
1778         its former nickname of clsql-classic
1779         
1780 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1781         * Version 2.10.5: SQLite backend now passes all result-types tests
1782         * clsql-sqlite.asd: Depend on clsql-uffi system
1783         * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
1784         for efficiency and code reuse. 
1785         * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
1786         for better cross-implementation compatibility.
1787
1788 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1789         * Version 2.10.4
1790         * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
1791         [Marcus Pearce]
1792         * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
1793         bug on SBCL in result-field-names function as reported by Marcus Pearce
1794         * db-sqlite/sqlite-sql.lisp: Fix  in database-store-next-row
1795         manifest in SBCL testing
1796         
1797 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1798         * Version 2.10.3
1799         * sql/database.lisp: Conform more to CommonSQL output
1800         for STATUS command [Marcus Pearce]
1801         * sql/sqlite-sql.lisp: Rework to use result-types
1802         * sql/sqlite-api-clisp.lisp: Add compatibility layer
1803         with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
1804         be cleaned up of most clisp reader conditionals
1805         * sql/test-init.lisp: Now run field type tests on sqlite
1806         backend
1807         
1808 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1809         * Version 2.10.2
1810         * base/basic-sql.lisp: Set default value of :result-types 
1811         to :auto for more CommonSQL conformance. 
1812         * test/test-fdml.lisp: Add tests for numeric value of fields
1813         
1814
1815 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1816         * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
1817         * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
1818         Return field names as second value for QUERY. This can be overridden
1819         for efficiency with the new keyword :FIELD-NAMES set to NIL
1820         in the QUERY invocation.
1821         * test/test-fdml.lisp: Add tests for new field-name feature
1822         * sql/metaclass.lisp: Remove old Lispworks cruft
1823         and replace it with invocation of new code in kmr-mop.lisp
1824         which actually works with Lispworks 4.2
1825         * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
1826         QUERY function
1827         * base/db-interface.lisp: Document the multiple values
1828         returned by DATABASE-ATTRIBUTE-TYPE so matches the
1829         undocumented CommonSQL behavior. 
1830         * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
1831         *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
1832         LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
1833         Implement CACHE-TABLE-QUERIES.
1834         * db-odbc/odbc-sql.lisp: Fix attribute-type function
1835         * test/test-fddl.lisp: Add tests for attribute type     
1836         * db-mysql/mysql-sql.lisp: Mild optimization in accessing
1837         field structures.
1838         * base/classes.lisp: Add attribute-cache slot to database clas
1839         * base/initialize.lisp: initialize-database-type now automatically
1840         loads database-type backend as needed.
1841         * base/test-init.lisp: Utilize new initialize-database-type functionality.
1842         * TODO: remove items done
1843         
1844 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
1845         * Version 2.9.6
1846         * sql/objects.lisp: remove create/drop-sequence-from-class. 
1847         * sql/objects.lisp: add INSTANCE-REFRESHED generic function. 
1848         * sql/objects.lisp: improved CommonSQL compatibility for
1849         UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
1850         UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS. 
1851         * sql/generics.lisp: move generics from objects.lisp to here. 
1852         
1853 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1854         * Version 2.9.6-pre1
1855         * db-mysql/mysql-client-info.lisp: Add client version 4.1
1856         detection
1857         * sql/sql.lisp: Make *default-database* the default for
1858         TRUNCATE-DATABASE
1859         
1860 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1861         * Version 2.9.5
1862         * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
1863         detection
1864         * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying 
1865         :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes 
1866         on a metaclass specialized from standard-db-class.
1867
1868         
1869 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1870         * Version 2.9.4: Multiple changes to support Allegro's "modern"
1871         lisp which uses a lowercase reader and has case-sensitive symbols
1872         * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
1873         exposed by case-sensitive mlisp. 
1874
1875 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1876         * Version 2.9.3: All tests now pass on all platforms!
1877         * LATEST-TEST-RESULTS: New file with summary of test results
1878         * sql/generics.lisp: New file for generic function definitions.
1879         * test/test-init.lisp: Display names of skipped tests.
1880         Use unwind-protect to ensure disconnect
1881         * sql/objects.lisp: Change database-type to database-underlying-type
1882         so that actual database engine is properly identified
1883         * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
1884         return an ISO timestring for compatibility with other drivers.
1885         Workaround bug in MyODBC for LIST-TABLE-INDEXES
1886         * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1887         returns floating-point values for floor and truncate operations 
1888         * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1889         * tests/test-basic.lisp: Port to regression tester
1890         * test/test-init.lisp: Output to *report-stream*
1891         * docs/appendix.xml: Document ODBC and SQLite backends.
1892         * sql/classes.lisp: Make output-sql require a database parameter.
1893         This allows SQL generation to have the proper case to support
1894         the differences in case handling between CommonSQL API,
1895         Postgresql, MySQL, Oracle.
1896         
1897 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1898         * Version 2.9.2: Improvments in database capability introspection
1899         and querying. Support transactions in MySQL where available.
1900         All tests now pass on MySQL and SQLite in addition to postgresql
1901         and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1902         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1903         DATABASE-LIST-SEQUENCES.
1904         * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1905         * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1906         HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1907         * tests/*.lisp: Check database capabilities and remove tests which
1908         the database backend does not support
1909         * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1910         controls whether InnoDB tables will be created when supported on
1911         the underlying MySQL server.
1912         
1913 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1914         * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1915         supported by all database backends (except AODBC since
1916         AODBC doesn't support index querying)
1917         * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1918         * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1919         to support index queries
1920         * db-aodbc/aodbc-sql.lisp: Filter driver manager
1921         "information_schema" tables from LIST-TABLES
1922         * tests/test-basic.lisp: Remove table after testing
1923         * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1924         * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1925         which gets the underlying type of database -- required
1926         when dealing with ODBC databases and want to query
1927         database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1928         as first database-backend specific feature. Is T on
1929         :mysql, NIL on other backends. Change DROP-TABLE to
1930         query this.
1931         
1932 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1933         * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1934
1935 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1936         * Version 2.8.1
1937         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function 
1938         * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function 
1939
1940 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1941         * Version 2.8.0: New API function: LIST-DATABASES
1942         * base/utils.lisp: Fix command-output on CMUCL/SBCL
1943         * db-*/*-sql.lisp: Add new database-list function
1944         * base/database.lisp: Add new LIST-DATABASES command
1945         
1946 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1947         * Version 2.7.9
1948         * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1949         * db-sqlite/sqlite-api-uffi.lisp: Print error string
1950         correctly.
1951         
1952 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1953         * Version 2.7.7
1954         * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1955         from Eduardo Munoz.
1956         
1957 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1958         * Version 2.7.6
1959         * base/objects.lisp, base/classes.lisp: Patch
1960         for db-kind from Eduardo Munoz
1961         
1962 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1963         * Version 2.7.5
1964         * base/basic-sql.lisp: Fix FLATP in QUERY
1965
1966 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1967         * Version 2.7.3: Implement RECONNECT
1968
1969 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1970         * Version 2.7.2: Fix ODBC on Lispworks Windows
1971
1972 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1973         * Version 2.7.1: Fix for new ODBC backend.
1974         clsql-odbc now works on SBCL, CMUCL, OpenMCL
1975         in addition to AllegroCL and Lispworks.
1976
1977 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1978         * Version 2.7.0: New backend: ODBC. Tests as
1979         well as AODBC backend on Allegro,Lispworks.
1980         SBCL and CMUCL don't work quite yet.  Requires UFFI v1.4.11+
1981         * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1982         to explicitly set ODBC2 support. Add BIGINT support.
1983         Add result-types support. Added SQLTables.
1984         Fix array type in fetch-all-rows. Make width
1985         changable by database or query.
1986         * base/utils.lisp: Add process functions
1987         * base/package.lisp: Export utils to CLSQL-BASE-SYS
1988         * db-aodbc: Implement sequence functions,
1989         database-list-tables, database-list-attributes
1990         * tests/utils.lisp: Add support for ODBC backend,
1991         rework READ-SPECS to use +all-db-types+
1992         * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
1993         for SEQUENCE-NEXT
1994         
1995 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1996         * Version 2.6.13. Requires UFFI version 1.4.9
1997         * db-odbc/*.lisp: Further porting.
1998         Pre-alpha code! But, basic query is now working.
1999
2000 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2001         * Version 2.6.12
2002         * base/transactions.lisp: Add quote for macro
2003         expansion of WITH-TRANSACTIONS [Time Howe]
2004         * db-sqlite/sqlite-sql.lisp: Support memory database
2005         in database-probe [Ng Pheng Siong]
2006         * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
2007         The DBI layer is not finished.
2008         
2009 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2010         * Version 2.6.11
2011         * sql/objects.lisp: add :root-class functionality for
2012         list-classes and add duration type support [Marcus Pearce]
2013         * db-odbc: Add mid-level [DBI] layer
2014
2015 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2016         * Version 2.6.10
2017         * db-aodbc: Add methods for generic functions, some are
2018         not yet implemented.
2019         * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
2020         support
2021
2022 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2023         * Version 2.6.9
2024         * base/package.lisp: Add missing symbols [Marcus Pearce]
2025
2026 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2027         * Version 2.6.8
2028         * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
2029         * utils/time.lisp: Multiple fixes [Marcus Pearce]
2030         * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
2031         
2032 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2033         * Version 2.6.7
2034         * sql/*.lisp: Remove schema versioning cruft
2035         [Marcus Pearce]
2036         * Makefile: Add classic subdirectory
2037         
2038 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2039         * Version 2.6.6
2040         * sql/sql.lisp: Fix TRUNCATE command, bug reported
2041         by Marcus Pearce
2042         * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
2043         specific and easy for an application to directly support.
2044         Idea from Marcus Pearce.
2045         * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level 
2046         API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
2047         Keep low-level interface for future optimization
2048         supporting LIST-ATTRIBUTE-TYPES command.
2049         * Makefile: Add to db-sqlite and test directories.
2050         Include them in top-level Makefile
2051         
2052 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2053         * Version 2.6.5
2054         * sql/relations.lisp: Add missing file
2055         * utils/time.lisp: Fixes/extensions [Marcus Pearce]
2056         * test/test-time.lips: New file [Marcus Pearce]
2057         
2058 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2059         * Version 2.6.4
2060         * test/test-init.lisp: Properly handle object
2061         creation. Close database after use.
2062         * sql/sql.lisp: Make DESCRIBE-TABLE a generic
2063         function so can have methods specialized on
2064         table being a string or an sql-table object.
2065         * base/pool.lisp: Really fix CMUCL locking
2066         
2067 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2068         * Version 2.6.3
2069         * test/test-init.lisp: Signal correctly
2070         if any errors occurred in any test suite
2071         * base/loop-extensions.lisp: Fix error
2072         introduced for Lispworks
2073         * base/pool.lisp: Fix locking for CMUCL
2074         * base/objects.lisp: Remove schema-version cruft
2075         
2076 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2077         * Version 2.6.2: New CLSQL API functions:
2078         DESCRIBE-TABLE AND TRUNCATE-DATABASE
2079         Currently, this are only supported on :postgresql
2080         and :postgresql-socket
2081         * base/database.lisp: automatically load ASDF system
2082         in CONNECT if not already loaded
2083         * base/tests.lisp: disconnect database after testing 
2084         * base/*.lisp: Remove CLOSED-DATABASE type in favor
2085         of storing open/closed status in slot of database
2086         * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
2087         * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
2088         DATABASE-DESCRIBE-TABLE
2089         * db-sqlite/sqlite-sql.lisp: Add missing slots in database
2090         * base/conditions: Remove duplicate condition
2091         * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
2092         * base/recording.lisp: Add new :QUERY type for recording
2093         
2094 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2095         * Version 2.6.1: documentation fixes, merged
2096         classic-tests into tests
2097
2098 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2099         * Version 2.6.0 released: New API functions
2100         CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
2101         * doc/ref_clsql.xml: Document new functions
2102         * base/database.lisp: New API functions
2103         * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
2104         * base/utils.lisp: Fix use of position-char.
2105         Add COMMAND-OUTPUT used by backends for running
2106         external programs. Fix parsing of SQL*NET-compatible
2107         connection-specs.
2108         * base/loop-extension.lisp: Simplify package use
2109         for Lispworks and Allegro
2110         * db-*/*-sql.lisp: Added DATABASE-CREATE,
2111         DATABASE-DESTORY, PROBE-DATABASE methods
2112         * tests/test-init.lisp, clasic-tests/tests.lisp:
2113         Use destroy-database and create-database to ensure 
2114         testing with empty database
2115         * tests/test-connection.lisp: Add tests for
2116         parsing of string connection-specs
2117         * examples/run-tests.sh: New file for running
2118         test suite on all installed CL implementations
2119         * examples/clsql-tutorial.lisp: moved from
2120         doc directory
2121         * examples/dot.clsql-tests.config: New file
2122         giving an example test configuration
2123         * test/README: Add notes about rtest/ptester
2124         downloads and link to sample test configuration file.
2125         
2126 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2127         * Version 2.5.1 released:
2128         * tests/*.lisp: Rework so tests are run
2129         on multiple backends automatically based
2130         on the contents of ~/.clsql-tests.config.
2131         Reuse helper functions from classic-tests.
2132         * base/database.lisp: Support connection-spec
2133         as string for CONNECT
2134         * classic-tests/tests.lisp: Automatically
2135         load database backends as needed. 
2136         
2137 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2138         * Version 2.5.0 released:
2139         All tests for CLSQL and CLSQL-CLASSIC pass
2140         on all platforms.
2141         * base/loop-extension.lisp: Add Lispworks
2142         loop-extension. Improve type specifying on
2143         other platforms.
2144         
2145 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2146         * Version 2.4.2 released:
2147         loop extension now supported on Allegro, all
2148         CLSQL-TESTS pass on Allegro.
2149         * sql/metaclasses.lisp: Some optimization
2150         of compute-slots, be selective when
2151         ordered-class-slots needs to be called
2152         instead of class-slots
2153         * TODO: add URL with documentation on
2154         extending Lispworks LOOP form
2155         
2156 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2157         * Version 2.4.1 released: CLSQL-TESt suite passes
2158         all tests for postgresql and CMUCL, SBCL, OpenMCL.
2159         Allegro and Lispworks pass all tests except for
2160         FDML/LOOP/1 since the loop extension have not yet
2161         been ported to those implementions.
2162         * sql/metaclasses.lisp: Added new slot to standard-db-class
2163         to hold user-specified type. OpenMCL adjustments to compensate
2164         for its type-predicate function. Since AllegroCL, Lispworks,
2165         and OpenMCL have different slot orders, added compute-slots
2166         and ordered-class-slots functions so their slot order matches
2167         SBCL/CMUCL.
2168
2169 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2170         * Version 2.4.0 released: All tests for clsql-classic now finish
2171         correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
2172         mysql, postgresql, postgresql-sockets, and sqlite backends.
2173         * db-mysql/mysql-sql.lisp: Fix array dereferencing
2174         * classic-tests/tests.lisp: Fix package name of
2175         number-to-sql-string. 
2176         * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
2177         * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
2178         now passes tests on all support UFFI platforms.
2179         * db-postgresql-socket/postgresql-socket-api.list: Ported to 
2180         SBCL and OpenMCL
2181         * multiple: Finish renaming of :types keyword to :result-types for
2182         greater CommonSQL compatibility, including documentation
2183         * sql/basic-cmds.lisp: Remove obsolete file
2184         
2185 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2186         * Version 2.3.3 released
2187         * Fixes for sequences on mysql and sqlite [Marcus Pearce]
2188         * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
2189         * Fix for schema table [Marcus Pearce]
2190         * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
2191         * Fixes to test suite [Marcus Pearce]
2192
2193 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2194         * db-*/*-sql.lisp: Ensure that expr in
2195         database-query-result-set is a string
2196         * Documentation integration
2197         
2198 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2199         * With for Marcus Pearce's excellent work, I've merged
2200         his clsql-usql port into clsql. The original clsql
2201         interface is available in the clsql-classic package.
2202
2203 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2204         * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
2205         adding further support for providing backend for UncommonSQL
2206
2207 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
2208         * Integrate patch from Aurelio Bignoli for SQLite backend
2209
2210 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
2211         * Converted documentation to XML format
2212         * Made package installable with asdf-install
2213
2214 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
2215         * Add for-each-row macro
2216
2217 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
2218         * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
2219         
2220 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
2221         * Add support for SBCL, OpenMCL, and SCL
2222         * Add *load-truename* to search path for clsql's
2223         compiled libraries.
2224
2225 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
2226         * Rework use of file types in .asd files
2227
2228 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
2229         * Add .asd definition files for ASDF users
2230
2231 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2232         * Restructure directories for Common Lisp Controller v3 compatibility
2233
2234 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2235         * Also change case of logical host in loader files
2236         * Rework handling of logical pathnames
2237         
2238 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2239         * Change case of logical host
2240         
2241 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
2242         * clsql-base.system: Added base package that can be used without
2243         high-level SQL commands. Used for adding support for UncommonSQL.
2244         * *.system: Reworked logical pathnames to be more consistent with
2245         Common Lisp Controller.
2246         * debian/*: Completed initial Debian support
2247         
2248 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2249         * sql/classes.cl:
2250         * sql/transactions.cl:
2251         Added transaction support. Functions/macros added:
2252         with-transaction, commit-transaction, rollback-transaction,
2253         add-transaction-commit-hook, add-transaction-rollback-hook
2254
2255 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2256         * sql/sql.cl:
2257         * sql/pool.cl:
2258         * sql/functional.cl:
2259         Added pool support in connect/disconnect and with-database.
2260         Removed with-db-from-pool as with-database can now works with the connections pool
2261
2262 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2263         * sql/sql.cl:
2264         * sql/pool.cl:
2265         * sql/classes.cl:
2266         * sql/package.cl:
2267         Completed connection pool.
2268         Added with-db-from-pool macro.
2269         
2270 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2271         * Multiple files:
2272         Added initial support for connection pool
2273         * sql/transactions.cl
2274         Took transaction code from UncommonSQL and integrated
2275         into CLSQL code. See file for disclaimer about why this
2276         was added.
2277
2278 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2279         * interfaces/postgresql/postgresql-sql.cl:
2280         Fix keyword typo in database-read-large-object
2281         * interfaces/mysql/mysql-loader.cl
2282         Fix loading on Win32
2283         * test-suite/tester-clsql.cl
2284         Fix type coercion of double-float
2285         * doc/*
2286         Added debian docbook catalog, made it the default
2287         
2288 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2289         * interface/postgresql/postgresql-api.cl:
2290         * interface/postgresql/postgresql-sql.cl:
2291         * sql/sql.cl:
2292         * sql/db-interface.cl:
2293         Added large objects support for postgresql.
2294
2295 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2296         * src/postgresql-socket/postgresql-socket-api.cl:
2297         Fixed find-foreign-function call, eliminated crypt warning
2298         * Makefiles:
2299         Multiple improvements
2300         * sql/usql.cl:
2301         Moved functionality from low-level interfaces to this file
2302         via generic functions
2303         * test-suite/tester.cl:
2304         Added test with acl-compat-tester, moved others to old-tests
2305         directory.
2306         
2307 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2308         * src/usql.cl:
2309         Reinstated commented out sections
2310         * interfaces/postgresql/postgresql-loader.cl:
2311         * interfaces/mysql/mysql-loader.cl:
2312         Updated find-forieign-library support.
2313         * interfaces/postgresql-socket/postgresql-socket-package.cl:
2314         Fixed require form for Lispworks (Thanks Marc Battyani!)
2315         * interfaces/postgresql-socket/postgresql-socket-api.cl:
2316         Fixed eval of def-function for crypt library.
2317                 
2318 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2319         * Added interface to support USQL high-level rouines
2320         
2321 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2322         * Separated db-interface and conditions from sql/sql.cl
2323         * Improved foreign library loading testing
2324         * interfaces/postgresql/postgresql-api.cl
2325         Added PQisBusy function
2326         * interfaces/clsql-uffi/clsql-uffi.cl
2327         Fixed sign error for 64-bit processing
2328         
2329 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2330         * interfaces/postgresql-socket/postgresql-socket-api.cl:
2331         Fixes to read-double-from-socket. Added 64-bit integer support.
2332         * test-suite/xptest-clsql.cl
2333         Added testint for 64-bit integers
2334         * Additons to installation docs
2335         
2336 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2337         * interfaces/postgresql-socket/postgresql-socket-api.cl:
2338         Implemented direct socket reading for field type :double
2339         * Added usage information for :types to documentation
2340         * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
2341         atol, atof calls
2342         * interfaces/clsql-uffi: Created new directory. Split common
2343         interface routines that use UFFI into this package. Required
2344         especially to support direct reading of 64-bit integers into
2345         bignums and bypassing temporary strings.
2346         * test-clsql.cl: Updated to test postgresql-socket's
2347         read-double-from-socket function.
2348         * test-suite/xptest-clsql.cl
2349         Started work on test suite
2350
2351 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2352         * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
2353         mysql-fetch-field-direct Got :auto types working
2354         * interfaces/postgresql/postgresql-api.cl
2355         * interfaces/postgresql-socket/postgresql-socket-api.cl
2356         Added pgsql-field-types enum. Got :auto types working.
2357         * multiple-files
2358         Renamed :field-types to :types.
2359         
2360 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2361         * Added field-types parameter to query, database-query,
2362         database-query-result-set, map-query. Haven't added code
2363         to utilize field types, yet.
2364         * Changed postgresql-socket result set from cons to a structure
2365         * Updated test-clsql.cl to use automated testing with a config
2366         file
2367         * Changed return types of field accessors from cstring to
2368         (* :unsigned-char).  This prepares for being able to use specified
2369         type conversions when taking field data into lisp.
2370         * Added field-type processing for most interfaces. Not done yet.
2371         
2372 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2373         * doc/ref.sgml: Updated MAP-QUERY example to use
2374         *read-default-float-format* (John Foderaro)
2375         * Extensive work to foreign library loaders and .system files to
2376         check for successful loading of foreign libraries.
2377         * Modified test-clsql.cl to allow more modularity and
2378         automated testing in future release.
2379         * mysql/mysql-sql.lisp: Added field types
2380         
2381 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
2382         * mysql/mysql-sql.lisp:
2383         - Added support for Allegro CL and Lispworks using UFFI layer
2384         - Changed database-connect to use mysql-real-connect. This way,
2385           can avoid using double (unwind-protect)
2386         - Changed database-connect to have MySQL library allocate space
2387           for MYSQL structure. This will make the code more robust in
2388           the event that MySQL library changes the size of the mysql-mysql
2389           structure.