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