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