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