r9450: 22 May 2004 Kevin Rosenberg
[clsql.git] / ChangeLog
1 22 May 2004 Kevin Rosenberg
2         * Version 2.10.21 released
3         * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
4         db-odbc, and db-aodbc.
5         * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
6         DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
7         * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
8         * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to 
9         sql/generic-odbc.lisp
10         * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp: 
11         Move common code to  sql/generic-postgresql.lisp
12         * sql/classes.lisp: honor case of string tables when outputting queries 
13         * sql/objects.lisp: Add database type to default database-get-type-specifier method
14         * sql/sql.lisp:  Add database type to default database-abort-transaction method
15         * db-mysql/mysql-objects.lisp: New file
16         * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
17         * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
18         from environment
19         * test/test-fdml.lisp: String table names are now case sensitive, so convert to
20         default db case for FDML/SELECT/25
21
22 >>>>>>> .r9445
23 22 May 2004 Kevin Rosenberg
24         * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
25         * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
26         and string identifiers with non-default case
27         * sql/table.lisp: Don't convert string table name to a symbol.
28         * sql/classes.lisp: Honor case of string identifiers
29         * sql/sql.lisp: Ensure recyclebin is purged for Oracle in 
30         TRUNCATE-DATABASE
31         * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
32         of owner phrases. Obtain server and client versions.
33         * db-oracle/oracle-objects.lisp: Fix type specifiers
34         * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
35         * tests/test-init.lisp: Properly get username from Oracle connection-spec
36         
37 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
38         * sql/generics.lisp: reworked docstrings. Remove generics for 
39         ADD-TO-RELATION and REMOVE-FROM-RELATION. 
40         * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS 
41         to UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
42         * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS 
43         for CommonSQL compatibility. Remove ADD-TO-RELATION and 
44         REMOVE-FROM-RELATION. 
45         * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to 
46         UPDATE-OBJECTS-JOINS for CommonSQL compatibility. 
47         * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS. 
48         * sql/conditions.lisp: add documentation for conditions. Add 
49         SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility. 
50
51 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
52         * sql/basic-sql.lisp: reworked docstrings. 
53         * sql/transactions.lisp: reworked docstrings. 
54         * sql/sql.lisp: reworked docstrings. 
55         * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE 
56         sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility. 
57         * sql/database.lisp: reworked docstrings. 
58         * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P 
59         and FDML extensions and database extensions. 
60
61 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
62         * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
63         * db-oracle/make9.sh: add makefile for building with Oracle 9 client
64         libraries
65         * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
66         Oracle versions with the PURGE option required for drop table. This needs
67         to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
68
69 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
70         * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE. 
71         * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION. 
72         * sql/table.lisp: reworked docstrings. 
73         * sql/objects.lisp: moved *default-update-objects-max-len* here from 
74         table.lisp. 
75         * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE, 
76         DROP-VIEW and DROP-INDEX and the use of the :transactions and 
77         :constraints keyword args to CREATE-TABLE. 
78         * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now 
79         CommonSQL compatible with respect to column constraints. 
80
81 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
82         * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
83         Requires UFFI 1.5.0 or higher
84         
85 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
86         * Version 2.10.19
87         * sql/conditions.lisp: Fix cerror
88         
89 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
90         * Version 2.10.18 released: New condition hierarchy to be compatible
91         with CommonSQL -- not backward compatible with previous CLSQL.
92         * sql/db-interface.lisp: Add more default methods
93         * sql/objects.lisp: Add explicit table name to order-by parameters
94         in find-all when only one table to avoid selecting a duplicate row.
95         Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
96         as previous logic was adding two fields (foo asc) to SELECT query.
97         Make :result-types :auto be the default for object selections.
98         Properly handle caching key when using multiple order-by with asc/desc
99         directions.
100         * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
101         
102 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
103         * sql/recording.lisp: reworked docstrings. 
104         * sql/syntax.lisp: reworked docstrings. 
105         * doc/TODO: added notes about extensions to SQL-RECORDING-P and the 
106         SQL syntax state functions being macros. 
107
108 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
109         * sql/package.lisp: Export initialize-database-type and
110         *initialize-database-types* from CLSQL package.
111         * sql/conditions.lisp: Add new CommonSQL compatible conditions,
112         remove old CLSQL conditions.
113         * sql/loop-extensions.lisp: Make errors of type sql-user-error
114         * */*.lisp: Convert to from old to new conditions
115         
116 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
117         * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
118         To handle this difference, will need to add a new database-drop-table
119         generic function.
120         * db-oracle/oracle-sql.lisp: Move server-version and
121         major-version-number to database object to allow multiple connections
122         to Oracle servers of different versions.
123         
124 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
125         * TODO: moved notes about backends to doc/TODO. 
126         * doc/TODO: added notes about backends and select extensions. 
127         * sql/base-classes.lisp: remove obsolete schema slot in database 
128         class. 
129         
130 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
131         * db-oracle/oracle-api: Add OCIServerVersion
132         * db-oracle/oracle-sql: Query and store server version on connect
133         * sql/db-interface.lisp: Add new db-type-has-bigint? generic
134         function to handle OCI's lack of bigint support
135         * test/test-basic.lisp: Separate bigint testing
136         * test/test-utils.lisp: Add oracle to specs and list of backends
137         * doc/TODO: New file
138         * test/test-fdml.lisp: Added FDML/SELECT/34 to test
139         run-time instantiation of variables in reader macros.
140         * TODO: Remove item already complete. Add note about
141         condition variances
142         
143 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
144         * sql/syntax.lisp: added condition to the reader macro to treat [*] 
145         as a column identifier (rather than an operation) for CommonSQL 
146         compatibility. 
147         * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION 
148         keword args to SELECT, [*] as column identifier, new MAP-QUERY 
149         behaviour and the ANY and ALL operators in subqueries. 
150         * tests/test-init.lisp: add set-operation and subquery tests to 
151         appropriate skip lists. 
152         * sql/objects.lisp: remove redundant and non CommonSQL compatible 
153         ORDER-BY-DESCENDING keyword argument for SELECT. 
154         * sql/classes.lisp: remove redundant and non CommonSQL compatible 
155         ORDER-BY-DESCENDING keyword argument for SELECT. 
156         * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT 
157         with object queries. 
158
159 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
160         * sql/db-interface.lisp: Add new db-type-has-union? 
161         since Mysql 3.23 does not support unions.
162         * sql/test-init.lisp: Don't try union tests on database
163         backends which do not support it.
164         * db-oracle/*.lisp: initial port to UFFI
165         * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
166         implement REFRESH for SELECT.
167         * tests/test-oodml.lisp: Add tests for deferred retrieval,
168         caching, refresh, and update-object-joins
169         * tests/test-init.lisp: Add deferred-employee-address class
170         
171 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
172         * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add 
173         COALESCE operator and make NVL a synonym for this. Make ANY, SOME, 
174         ALL and EXISTS generate function expressions so they output the 
175         correct SQL. 
176         * sql/classes.lisp: SELECT now generates appropriate SQL when 
177         passed the SET-OPERATION and ALL keyword arguments. 
178         * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now 
179         accepts ordering constraints as pairs of the form (column direction) 
180         where direction may be :ASC or :DESC. 
181         * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL. 
182         Correct tests for ANY, SOME, ALL and EXISTS. 
183         * tests/test-fdml.lisp: added test for COALESCE. 
184         * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION 
185         using funcall unless QUERY-EXPRESSION returns one column and its 
186         FLATP slot is not nil in which case apply is used. 
187         * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the 
188         changes. 
189         * TODO: remove items done. 
190         * db-postgresql/postgresql-sql.lisp: no need to reverse results in 
191         DATABASE-LIST-ATTRIBUTES. 
192         * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
193         results in DATABASE-LIST-ATTRIBUTES.    
194         
195 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
196         * sql/classes.lisp: SELECT now accepts table identifiers as strings 
197         for CommonSQL compliance. Add support for qualified sql identifiers 
198         with aliased table names. 
199         * tests/test-fdml.lisp: added tests for table identifiers as strings 
200         in SELECT and for aliased definitions. 
201         * tests/test-syntax.lisp: added tests for alias definitions. 
202         
203 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
204         * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and 
205         field-names set to nil. 
206         * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly 
207         with null attribute values. 
208         * sql/operations.lisp: modify SQL concatenation operator to accept 
209         unescaped || symbol.  
210         * sql/syntax.lisp: modify sql reader macro function to accept 
211         unescaped sql concatenation operator. 
212         * tests/test-fdml.lisp: unescape sql concatenation operator. 
213         * tests/test-syntax.lisp: unescape sql concatenation operator. 
214         * TODO: remove items done. Add notes about SQLITE/MYSQL backends. 
215         Note to add test for universal-time. Note about difference from 
216         CommonSQL in transaction handling. 
217
218 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
219         * tests/test-init.lisp: Add deferred-employee-address
220         class
221         * tests/test-oodml.lisp: Add deferred retrieval testgs
222         
223 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
224         * Version 2.10.17
225         * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
226         * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
227         * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
228         * *: Fix minor style warnings
229         * clsql-classic: Remove system and subdirectory
230         * clsql-base: Remove system and subdirectory and
231         fold into clsql system
232         * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
233         as supported platform.
234         
235 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
236         * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
237         * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
238         Allegro 7.0beta AMD64
239         * db-odbc/*.lisp: Add a layer of indirection to foreign-type
240         of ODBC longs since this type can vary on 64-bit platforms depending
241         upon the compilation options of unixODBC.
242         * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
243         structures found by testing with AllegroCL 7.0b AMD64.
244         * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
245         * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
246         Initial caching support for SELECT
247         * tests/test-oodml.lisp: Avoid using cache when testing select.
248         * sql/kmr-mop.lisp: Explicitly check slot order and
249         store as a cl:*feature*
250         * sql/recording.lisp: Remove additional types to
251         increase CommonSQL conformance.
252         * tests/test-init.lisp: Change a :column attribute
253         to test symbols as value
254         * sql/relations.lisp: Remove functions since they don't support
255         many to many relationships.
256         * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
257         of add-to-relations function and replace with explicit field settings.
258         * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
259         
260 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
261         * Version 2.10.15
262         * LATEST-TEST-RESULTS: results with current version
263         * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
264         since cmu19 has opposite order of class slots.
265         * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
266         * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
267         a previous test
268         * tests/test-init.lisp: Check test-database-underlying-type for
269         ODBC/MySQL tests
270         
271 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
272         * sql/operations.lisp: complete remaining operations for the sql 
273         syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT, 
274         UNION, INTERSECT, BETWEEN. 
275         * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION, 
276         SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION. 
277         * tests/test-syntax.lisp: add tests for new operations. 
278         * tests/test-fdml.lisp: add tests for queries based on new operations. 
279         * tests/test-init.lisp: add select/20 to tests skipped for sqlite and 
280         select/20, query/5, query/7 and query/8 to tests skipped by mysql. 
281         * TODO: removed entries done. 
282
283 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
284         * tests/benchmarks.lisp: Add immediate vs. deferred
285         join test.
286         
287 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
288         * Version 2.10.13: Now works on openmcl 0.14.2 
289         * sql/objects.lisp: Add :retrieval :immediate for
290         object selections
291         * tests/test-init.lisp: Add non-index fields for testing 
292         join class employee-addresss
293         * test/test-oodml.lisp: Add tests for retrieval immediate
294         * sql/metaclasses.lisp: Handle differences in direct-slot-definition 
295         values which are now listifed by openmcl 14.2.
296         * sql/objects.lisp: more framework for supporing immediate retrieval 
297
298 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
299         * docs/intro.xml: Upload location of a README file
300         * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
301         changing the type-specifier. Use a lisp type of (OR NULL FOO)
302         for a specified-type of FOO unless :db-constraints :not-null.
303         No need to specialize finalize-inheritance for openmcl.
304         * tests/test-*.lisp: Rename fields so that joins occur on
305         fields with different names. This ensures that join code is
306         selecting the proper name.
307         * test/test-init.lisp: Add :base-table for employee-address
308         view class for testing.
309         * sql/objects.lisp: Use view-table rather than name of table
310         in a number of places to fix errors noted with using :base-table.
311
312 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
313         * sql/objects.lisp: replace *update-records-on-make-instance* with 
314         *db-auto-sync* which also controls both automatic creation of 
315         new records on creation of new instance and updating of record 
316         fields on setting of instance slots (as suggested by Edi Weitz). 
317         * tests/test-init.lisp: replace *update-records-on-make-instance* 
318         with *db-auto-sync*. 
319         * sql/package.lisp: replace *update-records-on-make-instance* 
320         with *db-auto-sync*. 
321         * TODO: replace *update-records-on-make-instance* with *db-auto-sync*. 
322         * sql/objects.lisp: remove redundant rebindings of *db-initializing* 
323         and *default-database* in FIND-ALL. 
324         * sql/package.lisp: import time functions from CLSQL-BASE. 
325         * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
326         * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
327         * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL. 
328         * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with 
329         CLSQL. 
330
331 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
332         * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
333         now return a sql-object-query type rather than directly performing a query.
334         This improves CommonSQL conformance.
335         * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
336         from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
337         depend on sql-object-query-type.
338         * sql/loop-extensions.lisp: Move from base package
339         * classic/package.lisp: remove references to map-query and do-query
340
341 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
342         * TODO: New section on optimizations, especially optimizing JOINs.
343         * sql/objects.lisp: Have :target-slot return of list of lists rather
344         than a list of cons pairs to be conformant with CommonSQL.
345         Make :target-slot much more efficient by using a SQL inner join
346         statement and just requiring one SQL query. Add :retrieval :deferrred
347         to target-slot joins. Add placeholder for update-objects-join.
348         * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
349         and process them for query output-sql. 
350
351 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
352         * Version 2.10.11
353         * base/basic-sql.lisp: Avoid multiple evaluation
354         of query-expression in DO-QUERY
355         * sql/objects.lisp: Make SELECT a normal function.
356         SELECT now accepts type-modified database identifiers, such as
357         [foo :string] which means that the values in column foo are returned 
358         as Lisp strings. Add new *update-records-on-make-instance* special
359         variable controlling automatic creation of new instances. Add missing
360         RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
361         * sql/packages.lisp: Export *update-records-on-make-instance* 
362         * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
363         selections.
364         * test/test-fdml.lisp: Add tests for type-modified
365         database identifiers.
366         * test/test-init.lisp: Stop using add-relation since implementing
367         many-to-many joins. Use *update-records-on-make-instance* 
368         to automatically store records on instance creation. Add many-to-many
369         employee-address view-class.
370         
371 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
372         * Version 2.10.10
373         * base/loop.lisp: Add object iteration. Use :result-type
374         :auto for result-set. Remove 
375         duplicate (and non-correct) code for non-list variables by
376         simply making an atom variable into a list. 
377         * sql/package.lisp: Remove unnecessary clsql-sys package
378         and replace it with clsql.
379         * sql/metaclasses.lisp: Properly store specified-type from
380         direct-slot-definition and then store translated type in
381         effective-slot-definition
382         * sql/classes.lisp: Don't output type in sql-output
383         for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
384         [foo :integer] as fields in SELECT.
385         * sql/query.lisp: Set default for :result-types to :auto in
386         FDML QUERY.
387         * sql/objects.lisp: Use specified-type when invocating 
388         database-get-type-specifier. def-view-class macro now returns
389         the class instance.
390         * base/basic-sql.lisp: Make :AUTO the default value for
391         :RESULT-TYPES for MAP-QUERY and DO-QUERY.
392         * sql/objects.lisp: Add bigint type
393         * test/tests-basic.lisp: Add tests for :result-types for
394         MAP-QUERY and DO-QUERY
395         * test/test-fdml.lisp: Add test for result-types in LOOP
396         and also using single symbol rather than a list for variables.
397         Add test that default :result-types is auto for FDML QUERY.
398         * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
399         of SQL-IDENT-ATTRIBUTE.
400         * test/test-oodml.lisp: Enable OO loop iteration test,
401         modify it so it doesn't depend on boolean where.
402         
403 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
404         * Version 2.10.9
405         * sql/objects.lisp: added derived type specifier for universal time. 
406         * sql/package.lisp: added #:universal-time to clsql-sys exports. 
407         * tests/test-oodml.lisp: added test for translation of boolean slots 
408         in SELECT with object queries. 
409         
410 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
411         * db-odbc/odbc-api.lisp: Fix changing nil to "NIL" 
412         for odbc/postgresql backend.
413         * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
414         it can handle NIL values from the ODBC driver
415         * tests/benchmarks.lisp: New file with initial
416         benchmark suite
417         * sql/relations.lisp: fix to add subclassing support,
418         minor optimizations [Edi Weitz]
419         
420 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
421         * Version 2.10.8        
422         * base/conditions.lisp: Add *backend-warning-behavior*
423         special variable.
424         * db-postgresql-socket/postgresql-socket-sql.lisp:
425         Honor value of *backend-warning-behavior*
426         * tests/test-fdml.lisp: Remove test of raw boolean value
427         since different backends handle this differently. Add
428         test for :column attribute.
429         * tests/test-oodml.lisp: Add tests for boolean slot value
430         and for :void-value attribute
431         * tests/test-init.lisp: Use *backend-warning-behavior*
432         to suppress warnings from postgresql about implicitly
433         creating primary key in tables. Add new address table.
434         
435 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
436         * Version 2.10.7
437         * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
438         result-types is :auto
439         * sql/objects.lisp: Properly handled writing/reading Boolean
440         values from SQL database when retrieving objects.
441         * test/test-fdml.lisp: Add another test for boolean results
442         * test/utils.lisp: Fix incorrect declaration
443         
444 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
445         * Version 2.10.6
446         * sql/generics.lisp: add generic function for SELECT. 
447         * sql/objects.lisp: make SELECT a method specialisation. 
448         * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections 
449         referred to are View Classes. 
450         * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the 
451         query-expression arg evaluates to a list, then we have an object 
452         query. 
453         * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with 
454         object queries. 
455         * TODO: remove items done and add a todo for SELECT. 
456         * sql/objects.lisp: SELECT takes a :field-names arg to pass on to 
457         QUERY. 
458         * sql/sql.lisp: add :field-names arg to QUERY. 
459         * tests/test-fdml.lisp: minor rework to use :field-names arg to 
460         SELECT. 
461
462 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
463         * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2 
464         or more View Classes. 
465         * sql/objects.lisp: make the :flatp argument to SELECT work with 
466         object queries. 
467         * sql/objects.lisp: make SELECT accept a :result-types argument 
468         (defaults to :auto) which is passed on to QUERY.  
469         * sql/objects.lisp: SELECT returns field-names as a second value. 
470         * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate. 
471         * tests/test-fdml.lisp: add flatp/result-types arguments to calls 
472         to SELECT and take only first value as appropriate.
473         * tests/test-fdml.lisp: add two new tests for query result coercion 
474         and the field-names returned as a second value from SELECT. 
475         * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate. 
476         
477 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
478         * Version 2.10.6-pre1
479         * sql/metaclasses.lisp: Add void-value slot
480         * doc/csql.xml: Update def-view-class documentation
481         * test/test-init.lisp: Change old :db-type to :db-kind.
482         Remove old :nulls-ok attributes.
483         * sql/objects.lisp: Add new universal-time and bigint
484         types. Optimize reading of integers using parse-integer
485         rather than read-from-string.
486         * */*.lisp: Merge clsql-base-sys and clsql-base packages
487         into clsql-base package
488         * classic/sql.lisp: Move large object support into base, leaving
489         classic without any functionality that is provided in the clsql
490         system.
491         * classic/package.lisp: Rename clsql-classic-sys package to
492         its former nickname of clsql-classic
493         
494 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
495         * Version 2.10.5: SQLite backend now passes all result-types tests
496         * clsql-sqlite.asd: Depend on clsql-uffi system
497         * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
498         for efficiency and code reuse. 
499         * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
500         for better cross-implementation compatibility.
501
502 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
503         * Version 2.10.4
504         * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
505         [Marcus Pearce]
506         * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
507         bug on SBCL in result-field-names function as reported by Marcus Pearce
508         * db-sqlite/sqlite-sql.lisp: Fix  in database-store-next-row
509         manifest in SBCL testing
510         
511 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
512         * Version 2.10.3
513         * sql/database.lisp: Conform more to CommonSQL output
514         for STATUS command [Marcus Pearce]
515         * sql/sqlite-sql.lisp: Rework to use result-types
516         * sql/sqlite-api-clisp.lisp: Add compatibility layer
517         with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
518         be cleaned up of most clisp reader conditionals
519         * sql/test-init.lisp: Now run field type tests on sqlite
520         backend
521         
522 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
523         * Version 2.10.2
524         * base/basic-sql.lisp: Set default value of :result-types 
525         to :auto for more CommonSQL conformance. 
526         * test/test-fdml.lisp: Add tests for numeric value of fields
527         
528
529 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
530         * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
531         * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
532         Return field names as second value for QUERY. This can be overridden
533         for efficiency with the new keyword :FIELD-NAMES set to NIL
534         in the QUERY invocation.
535         * test/test-fdml.lisp: Add tests for new field-name feature
536         * sql/metaclass.lisp: Remove old Lispworks cruft
537         and replace it with invocation of new code in kmr-mop.lisp
538         which actually works with Lispworks 4.2
539         * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
540         QUERY function
541         * base/db-interface.lisp: Document the multiple values
542         returned by DATABASE-ATTRIBUTE-TYPE so matches the
543         undocumented CommonSQL behavior. 
544         * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
545         *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
546         LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
547         Implement CACHE-TABLE-QUERIES.
548         * db-odbc/odbc-sql.lisp: Fix attribute-type function
549         * test/test-fddl.lisp: Add tests for attribute type     
550         * db-mysql/mysql-sql.lisp: Mild optimization in accessing
551         field structures.
552         * base/classes.lisp: Add attribute-cache slot to database clas
553         * base/initialize.lisp: initialize-database-type now automatically
554         loads database-type backend as needed.
555         * base/test-init.lisp: Utilize new initialize-database-type functionality.
556         * TODO: remove items done
557         
558 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
559         * Version 2.9.6
560         * sql/objects.lisp: remove create/drop-sequence-from-class. 
561         * sql/objects.lisp: add INSTANCE-REFRESHED generic function. 
562         * sql/objects.lisp: improved CommonSQL compatibility for
563         UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
564         UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS. 
565         * sql/generics.lisp: move generics from objects.lisp to here. 
566         
567 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
568         * Version 2.9.6-pre1
569         * db-mysql/mysql-client-info.lisp: Add client version 4.1
570         detection
571         * sql/sql.lisp: Make *default-database* the default for
572         TRUNCATE-DATABASE
573         
574 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
575         * Version 2.9.5
576         * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
577         detection
578         * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying 
579         :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes 
580         on a metaclass specialized from standard-db-class.
581
582         
583 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
584         * Version 2.9.4: Multiple changes to support Allegro's "modern"
585         lisp which uses a lowercase reader and has case-sensitive symbols
586         * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
587         exposed by case-sensitive mlisp. 
588
589 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
590         * Version 2.9.3: All tests now pass on all platforms!
591         * LATEST-TEST-RESULTS: New file with summary of test results
592         * sql/generics.lisp: New file for generic function definitions.
593         * test/test-init.lisp: Display names of skipped tests.
594         Use unwind-protect to ensure disconnect
595         * sql/objects.lisp: Change database-type to database-underlying-type
596         so that actual database engine is properly identified
597         * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
598         return an ISO timestring for compatibility with other drivers.
599         Workaround bug in MyODBC for LIST-TABLE-INDEXES
600         * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
601         returns floating-point values for floor and truncate operations 
602         * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
603         * tests/test-basic.lisp: Port to regression tester
604         * test/test-init.lisp: Output to *report-stream*
605         * docs/appendix.xml: Document ODBC and SQLite backends.
606         * sql/classes.lisp: Make output-sql require a database parameter.
607         This allows SQL generation to have the proper case to support
608         the differences in case handling between CommonSQL API,
609         Postgresql, MySQL, Oracle.
610         
611 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
612         * Version 2.9.2: Improvments in database capability introspection
613         and querying. Support transactions in MySQL where available.
614         All tests now pass on MySQL and SQLite in addition to postgresql
615         and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
616         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
617         DATABASE-LIST-SEQUENCES.
618         * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
619         * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
620         HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
621         * tests/*.lisp: Check database capabilities and remove tests which
622         the database backend does not support
623         * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
624         controls whether InnoDB tables will be created when supported on
625         the underlying MySQL server.
626         
627 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
628         * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
629         supported by all database backends (except AODBC since
630         AODBC doesn't support index querying)
631         * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
632         * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
633         to support index queries
634         * db-aodbc/aodbc-sql.lisp: Filter driver manager
635         "information_schema" tables from LIST-TABLES
636         * tests/test-basic.lisp: Remove table after testing
637         * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
638         * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
639         which gets the underlying type of database -- required
640         when dealing with ODBC databases and want to query
641         database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
642         as first database-backend specific feature. Is T on
643         :mysql, NIL on other backends. Change DROP-TABLE to
644         query this.
645         
646 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
647         * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
648
649 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
650         * Version 2.8.1
651         * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function 
652         * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function 
653
654 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
655         * Version 2.8.0: New API function: LIST-DATABASES
656         * base/utils.lisp: Fix command-output on CMUCL/SBCL
657         * db-*/*-sql.lisp: Add new database-list function
658         * base/database.lisp: Add new LIST-DATABASES command
659         
660 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
661         * Version 2.7.9
662         * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
663         * db-sqlite/sqlite-api-uffi.lisp: Print error string
664         correctly.
665         
666 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
667         * Version 2.7.7
668         * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
669         from Eduardo Munoz.
670         
671 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
672         * Version 2.7.6
673         * base/objects.lisp, base/classes.lisp: Patch
674         for db-kind from Eduardo Munoz
675         
676 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
677         * Version 2.7.5
678         * base/basic-sql.lisp: Fix FLATP in QUERY
679
680 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
681         * Version 2.7.3: Implement RECONNECT
682
683 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
684         * Version 2.7.2: Fix ODBC on Lispworks Windows
685
686 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
687         * Version 2.7.1: Fix for new ODBC backend.
688         clsql-odbc now works on SBCL, CMUCL, OpenMCL
689         in addition to AllegroCL and Lispworks.
690
691 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
692         * Version 2.7.0: New backend: ODBC. Tests as
693         well as AODBC backend on Allegro,Lispworks.
694         SBCL and CMUCL don't work quite yet.  Requires UFFI v1.4.11+
695         * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
696         to explicitly set ODBC2 support. Add BIGINT support.
697         Add result-types support. Added SQLTables.
698         Fix array type in fetch-all-rows. Make width
699         changable by database or query.
700         * base/utils.lisp: Add process functions
701         * base/package.lisp: Export utils to CLSQL-BASE-SYS
702         * db-aodbc: Implement sequence functions,
703         database-list-tables, database-list-attributes
704         * tests/utils.lisp: Add support for ODBC backend,
705         rework READ-SPECS to use +all-db-types+
706         * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
707         for SEQUENCE-NEXT
708         
709 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
710         * Version 2.6.13. Requires UFFI version 1.4.9
711         * db-odbc/*.lisp: Further porting.
712         Pre-alpha code! But, basic query is now working.
713
714 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
715         * Version 2.6.12
716         * base/transactions.lisp: Add quote for macro
717         expansion of WITH-TRANSACTIONS [Time Howe]
718         * db-sqlite/sqlite-sql.lisp: Support memory database
719         in database-probe [Ng Pheng Siong]
720         * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
721         The DBI layer is not finished.
722         
723 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
724         * Version 2.6.11
725         * sql/objects.lisp: add :root-class functionality for
726         list-classes and add duration type support [Marcus Pearce]
727         * db-odbc: Add mid-level [DBI] layer
728
729 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
730         * Version 2.6.10
731         * db-aodbc: Add methods for generic functions, some are
732         not yet implemented.
733         * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
734         support
735
736 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
737         * Version 2.6.9
738         * base/package.lisp: Add missing symbols [Marcus Pearce]
739
740 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
741         * Version 2.6.8
742         * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
743         * utils/time.lisp: Multiple fixes [Marcus Pearce]
744         * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
745         
746 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
747         * Version 2.6.7
748         * sql/*.lisp: Remove schema versioning cruft
749         [Marcus Pearce]
750         * Makefile: Add classic subdirectory
751         
752 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
753         * Version 2.6.6
754         * sql/sql.lisp: Fix TRUNCATE command, bug reported
755         by Marcus Pearce
756         * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
757         specific and easy for an application to directly support.
758         Idea from Marcus Pearce.
759         * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level 
760         API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
761         Keep low-level interface for future optimization
762         supporting LIST-ATTRIBUTE-TYPES command.
763         * Makefile: Add to db-sqlite and test directories.
764         Include them in top-level Makefile
765         
766 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
767         * Version 2.6.5
768         * sql/relations.lisp: Add missing file
769         * utils/time.lisp: Fixes/extensions [Marcus Pearce]
770         * test/test-time.lips: New file [Marcus Pearce]
771         
772 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
773         * Version 2.6.4
774         * test/test-init.lisp: Properly handle object
775         creation. Close database after use.
776         * sql/sql.lisp: Make DESCRIBE-TABLE a generic
777         function so can have methods specialized on
778         table being a string or an sql-table object.
779         * base/pool.lisp: Really fix CMUCL locking
780         
781 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
782         * Version 2.6.3
783         * test/test-init.lisp: Signal correctly
784         if any errors occurred in any test suite
785         * base/loop-extensions.lisp: Fix error
786         introduced for Lispworks
787         * base/pool.lisp: Fix locking for CMUCL
788         * base/objects.lisp: Remove schema-version cruft
789         
790 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
791         * Version 2.6.2: New CLSQL API functions:
792         DESCRIBE-TABLE AND TRUNCATE-DATABASE
793         Currently, this are only supported on :postgresql
794         and :postgresql-socket
795         * base/database.lisp: automatically load ASDF system
796         in CONNECT if not already loaded
797         * base/tests.lisp: disconnect database after testing 
798         * base/*.lisp: Remove CLOSED-DATABASE type in favor
799         of storing open/closed status in slot of database
800         * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
801         * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
802         DATABASE-DESCRIBE-TABLE
803         * db-sqlite/sqlite-sql.lisp: Add missing slots in database
804         * base/conditions: Remove duplicate condition
805         * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
806         * base/recording.lisp: Add new :QUERY type for recording
807         
808 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
809         * Version 2.6.1: documentation fixes, merged
810         classic-tests into tests
811
812 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
813         * Version 2.6.0 released: New API functions
814         CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
815         * doc/ref_clsql.xml: Document new functions
816         * base/database.lisp: New API functions
817         * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
818         * base/utils.lisp: Fix use of position-char.
819         Add COMMAND-OUTPUT used by backends for running
820         external programs. Fix parsing of SQL*NET-compatible
821         connection-specs.
822         * base/loop-extension.lisp: Simplify package use
823         for Lispworks and Allegro
824         * db-*/*-sql.lisp: Added DATABASE-CREATE,
825         DATABASE-DESTORY, PROBE-DATABASE methods
826         * tests/test-init.lisp, clasic-tests/tests.lisp:
827         Use destroy-database and create-database to ensure 
828         testing with empty database
829         * tests/test-connection.lisp: Add tests for
830         parsing of string connection-specs
831         * examples/run-tests.sh: New file for running
832         test suite on all installed CL implementations
833         * examples/clsql-tutorial.lisp: moved from
834         doc directory
835         * examples/dot.clsql-tests.config: New file
836         giving an example test configuration
837         * test/README: Add notes about rtest/ptester
838         downloads and link to sample test configuration file.
839         
840 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
841         * Version 2.5.1 released:
842         * tests/*.lisp: Rework so tests are run
843         on multiple backends automatically based
844         on the contents of ~/.clsql-tests.config.
845         Reuse helper functions from classic-tests.
846         * base/database.lisp: Support connection-spec
847         as string for CONNECT
848         * classic-tests/tests.lisp: Automatically
849         load database backends as needed. 
850         
851 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
852         * Version 2.5.0 released:
853         All tests for CLSQL and CLSQL-CLASSIC pass
854         on all platforms.
855         * base/loop-extension.lisp: Add Lispworks
856         loop-extension. Improve type specifying on
857         other platforms.
858         
859 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
860         * Version 2.4.2 released:
861         loop extension now supported on Allegro, all
862         CLSQL-TESTS pass on Allegro.
863         * sql/metaclasses.lisp: Some optimization
864         of compute-slots, be selective when
865         ordered-class-slots needs to be called
866         instead of class-slots
867         * TODO: add URL with documentation on
868         extending Lispworks LOOP form
869         
870 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
871         * Version 2.4.1 released: CLSQL-TESt suite passes
872         all tests for postgresql and CMUCL, SBCL, OpenMCL.
873         Allegro and Lispworks pass all tests except for
874         FDML/LOOP/1 since the loop extension have not yet
875         been ported to those implementions.
876         * sql/metaclasses.lisp: Added new slot to standard-db-class
877         to hold user-specified type. OpenMCL adjustments to compensate
878         for its type-predicate function. Since AllegroCL, Lispworks,
879         and OpenMCL have different slot orders, added compute-slots
880         and ordered-class-slots functions so their slot order matches
881         SBCL/CMUCL.
882
883 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
884         * Version 2.4.0 released: All tests for clsql-classic now finish
885         correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
886         mysql, postgresql, postgresql-sockets, and sqlite backends.
887         * db-mysql/mysql-sql.lisp: Fix array dereferencing
888         * classic-tests/tests.lisp: Fix package name of
889         number-to-sql-string. 
890         * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
891         * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
892         now passes tests on all support UFFI platforms.
893         * db-postgresql-socket/postgresql-socket-api.list: Ported to 
894         SBCL and OpenMCL
895         * multiple: Finish renaming of :types keyword to :result-types for
896         greater CommonSQL compatibility, including documentation
897         * sql/basic-cmds.lisp: Remove obsolete file
898         
899 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
900         * Version 2.3.3 released
901         * Fixes for sequences on mysql and sqlite [Marcus Pearce]
902         * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
903         * Fix for schema table [Marcus Pearce]
904         * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
905         * Fixes to test suite [Marcus Pearce]
906
907 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
908         * db-*/*-sql.lisp: Ensure that expr in
909         database-query-result-set is a string
910         * Documentation integration
911         
912 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
913         * With for Marcus Pearce's excellent work, I've merged
914         his clsql-usql port into clsql. The original clsql
915         interface is available in the clsql-classic package.
916
917 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
918         * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
919         adding further support for providing backend for UncommonSQL
920
921 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
922         * Integrate patch from Aurelio Bignoli for SQLite backend
923
924 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
925         * Converted documentation to XML format
926         * Made package installable with asdf-install
927
928 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
929         * Add for-each-row macro
930
931 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
932         * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
933         
934 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
935         * Add support for SBCL, OpenMCL, and SCL
936         * Add *load-truename* to search path for clsql's
937         compiled libraries.
938
939 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
940         * Rework use of file types in .asd files
941
942 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
943         * Add .asd definition files for ASDF users
944
945 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
946         * Restructure directories for Common Lisp Controller v3 compatibility
947
948 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
949         * Also change case of logical host in loader files
950         * Rework handling of logical pathnames
951         
952 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
953         * Change case of logical host
954         
955 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
956         * clsql-base.system: Added base package that can be used without
957         high-level SQL commands. Used for adding support for UncommonSQL.
958         * *.system: Reworked logical pathnames to be more consistent with
959         Common Lisp Controller.
960         * debian/*: Completed initial Debian support
961         
962 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
963         * sql/classes.cl:
964         * sql/transactions.cl:
965         Added transaction support. Functions/macros added:
966         with-transaction, commit-transaction, rollback-transaction,
967         add-transaction-commit-hook, add-transaction-rollback-hook
968
969 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
970         * sql/sql.cl:
971         * sql/pool.cl:
972         * sql/functional.cl:
973         Added pool support in connect/disconnect and with-database.
974         Removed with-db-from-pool as with-database can now works with the connections pool
975
976 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
977         * sql/sql.cl:
978         * sql/pool.cl:
979         * sql/classes.cl:
980         * sql/package.cl:
981         Completed connection pool.
982         Added with-db-from-pool macro.
983         
984 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
985         * Multiple files:
986         Added initial support for connection pool
987         * sql/transactions.cl
988         Took transaction code from UncommonSQL and integrated
989         into CLSQL code. See file for disclaimer about why this
990         was added.
991
992 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
993         * interfaces/postgresql/postgresql-sql.cl:
994         Fix keyword typo in database-read-large-object
995         * interfaces/mysql/mysql-loader.cl
996         Fix loading on Win32
997         * test-suite/tester-clsql.cl
998         Fix type coercion of double-float
999         * doc/*
1000         Added debian docbook catalog, made it the default
1001         
1002 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1003         * interface/postgresql/postgresql-api.cl:
1004         * interface/postgresql/postgresql-sql.cl:
1005         * sql/sql.cl:
1006         * sql/db-interface.cl:
1007         Added large objects support for postgresql.
1008
1009 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1010         * src/postgresql-socket/postgresql-socket-api.cl:
1011         Fixed find-foreign-function call, eliminated crypt warning
1012         * Makefiles:
1013         Multiple improvements
1014         * sql/usql.cl:
1015         Moved functionality from low-level interfaces to this file
1016         via generic functions
1017         * test-suite/tester.cl:
1018         Added test with acl-compat-tester, moved others to old-tests
1019         directory.
1020         
1021 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1022         * src/usql.cl:
1023         Reinstated commented out sections
1024         * interfaces/postgresql/postgresql-loader.cl:
1025         * interfaces/mysql/mysql-loader.cl:
1026         Updated find-forieign-library support.
1027         * interfaces/postgresql-socket/postgresql-socket-package.cl:
1028         Fixed require form for Lispworks (Thanks Marc Battyani!)
1029         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1030         Fixed eval of def-function for crypt library.
1031                 
1032 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1033         * Added interface to support USQL high-level rouines
1034         
1035 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1036         * Separated db-interface and conditions from sql/sql.cl
1037         * Improved foreign library loading testing
1038         * interfaces/postgresql/postgresql-api.cl
1039         Added PQisBusy function
1040         * interfaces/clsql-uffi/clsql-uffi.cl
1041         Fixed sign error for 64-bit processing
1042         
1043 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1044         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1045         Fixes to read-double-from-socket. Added 64-bit integer support.
1046         * test-suite/xptest-clsql.cl
1047         Added testint for 64-bit integers
1048         * Additons to installation docs
1049         
1050 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1051         * interfaces/postgresql-socket/postgresql-socket-api.cl:
1052         Implemented direct socket reading for field type :double
1053         * Added usage information for :types to documentation
1054         * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
1055         atol, atof calls
1056         * interfaces/clsql-uffi: Created new directory. Split common
1057         interface routines that use UFFI into this package. Required
1058         especially to support direct reading of 64-bit integers into
1059         bignums and bypassing temporary strings.
1060         * test-clsql.cl: Updated to test postgresql-socket's
1061         read-double-from-socket function.
1062         * test-suite/xptest-clsql.cl
1063         Started work on test suite
1064
1065 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1066         * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
1067         mysql-fetch-field-direct Got :auto types working
1068         * interfaces/postgresql/postgresql-api.cl
1069         * interfaces/postgresql-socket/postgresql-socket-api.cl
1070         Added pgsql-field-types enum. Got :auto types working.
1071         * multiple-files
1072         Renamed :field-types to :types.
1073         
1074 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1075         * Added field-types parameter to query, database-query,
1076         database-query-result-set, map-query. Haven't added code
1077         to utilize field types, yet.
1078         * Changed postgresql-socket result set from cons to a structure
1079         * Updated test-clsql.cl to use automated testing with a config
1080         file
1081         * Changed return types of field accessors from cstring to
1082         (* :unsigned-char).  This prepares for being able to use specified
1083         type conversions when taking field data into lisp.
1084         * Added field-type processing for most interfaces. Not done yet.
1085         
1086 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1087         * doc/ref.sgml: Updated MAP-QUERY example to use
1088         *read-default-float-format* (John Foderaro)
1089         * Extensive work to foreign library loaders and .system files to
1090         check for successful loading of foreign libraries.
1091         * Modified test-clsql.cl to allow more modularity and
1092         automated testing in future release.
1093         * mysql/mysql-sql.lisp: Added field types
1094         
1095 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
1096         * mysql/mysql-sql.lisp:
1097         - Added support for Allegro CL and Lispworks using UFFI layer
1098         - Changed database-connect to use mysql-real-connect. This way,
1099           can avoid using double (unwind-protect)
1100         - Changed database-connect to have MySQL library allocate space
1101           for MYSQL structure. This will make the code more robust in
1102           the event that MySQL library changes the size of the mysql-mysql
1103           structure.
1104
1105