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