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