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