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