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