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