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