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