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