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