1 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
2 * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES.
3 * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES.
4 * doc/ref-ooddl.xml: minor changes to syntax and examples entries
6 * doc/ref-oodml.xml: add examples for OODML.
7 * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument
9 * sql/metaclasses.lisp: update docstrings.
10 * tests/test-init.lisp: change :db-constraints for emplid to
11 (:not-null :unique) as a temporary test for multiple column constraints
13 * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and
14 return type of (SETF SLOT-VALUE-USING-CLASS).
15 * TODO, doc/TODO: remove items done.
18 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
19 * sql/oodml.lisp: on Lispworks, use weak valued hash tables for
21 * sql/expressions.lisp: Fix SQL generation for the symbol NIL.
23 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
24 * sql/expressions.lisp: reactivate caching of generated SQL strings.
25 Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY
26 here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT,
27 OUTPUT-SQL and DATABASE-OUTPUT-SQL.
28 * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move
29 methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to
31 * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in
32 DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT.
33 * sql/generics.lisp: add docstrings.
35 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
37 * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
38 code in favor of fixing UFFI with James Bielman's patch
40 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
42 * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
45 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
46 * README, INSTALL: update URLs. Minor updates to descriptions.
47 * tests/README: remove stuff about editing contexts.
49 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
50 * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to
51 *default-string-length*
53 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
54 * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping
56 * tests/test-fddl.lisp: add tests for column and table constraints
57 in CREATE-TABLE. Add test for OWNER keyword parameter to
58 LIST-TABLES (assuming same underlying machinery in other FDDL
60 * tests/test-init.lisp: restrict above test to postgresql and oracle.
62 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
63 * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio
66 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
67 * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
69 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
71 * doc/*.xml: documentation additionals and fixes so
72 that docbook passes xmllint.
74 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
76 * sql/fdml.lisp: Apply patch from Kim Minh Kaplan
77 to change escaping of single quotes. Mild optimizations
78 for escaped string output.
79 * doc/ref-ooddl.lisp: documentation additions
80 * doc/ref-oodml.lisp: Add purpose to functions
81 * TODO: Add need to test single quote escaping
83 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
84 * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
85 * sql/ooddl.lisp: Added SMALLINT type
86 * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
87 * db-mysql/mysql-objects.lisp: Added SMALLINT type
88 * sql/package.lisp: Export SMALLINT
89 * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
92 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
93 * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the
94 recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS
95 View Class slot option.
96 * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class
97 slot option accepting a list of constraints [reported by Travis Cross].
98 * doc/ref-fddl.xml: add some examples of specifying column and
99 table constraints to the documentation for CREATE-TABLE.
100 * TODO: add note about adding tests for table/column constraints. Add
101 optimisation note about using cached attribute types in insert/update
104 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
105 * doc/appendix.xml: add notes about idiosyncrasies/unsupported
106 features and so on the documentation for each backend.
107 * doc/TODO: remove items done.
108 * doc/ref-transaction.xml: add note in introduction about
109 autocommit mode as a difference from CommonSQL.
110 * doc/ref-syntax.xml: add notes about SQL syntax state functions
111 being macros in CLSQL. Add note about SQL operators which are
114 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
115 * Version 2.11.12 released
116 * doc/ref-recording.xml: document SQL I/O recording.
117 * doc/ref-prepared.xml: new file for documenting prepared statements.
118 * doc/clsql.xml: comment out include for large object and CLSQL-SYS
120 * doc/ref-conditions.xml: complete documentation of condition system.
121 * doc/global-index.xml: add symbols from condition system and remove
122 those from LOB and prepared statement APIs.
123 * doc/ref-fdml.xml: complete documentation of FDML.
124 * doc/glossary.xml: add View Class.
125 * doc/TODO: remove items done.
126 * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR.
127 * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export
128 additional slot accessors for condition classes.
130 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
131 * doc/ref-ooddl.lisp: Add documentation
132 * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
133 and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
134 * doc/oodml.lisp: Rename references to new name of
135 *DEFAULT-STRING-LENGTH*
137 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
138 * doc/ref-transaction.xml: document transaction handling.
139 * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and
140 START-TRANSACTION return NIL as per the CommonSQL spec. Modify
141 ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is
142 passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
145 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
146 * doc/ref-fdml.xml: document the FDML.
147 * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here.
148 * sql/ooddl.lisp: moved *default-varchar-length* to here from
149 oodml.lisp and renamed to *default-string-length*
151 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
152 * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
153 to allow specifying transactionless table creation
154 * doc/ref-oodml.lisp: Add new keyword to signature of
157 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
159 * sql/expressions.lisp: when removing duplicate table identifiers
160 in the FROM clause of a query, check both table name and alias
162 * sql/fdml.lisp: remove DESCRIBE-TABLE.
163 * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and
164 DATABASE-DESCRIBE-TABLE.
165 * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE
166 and LIST-TABLE-INDEXES.
167 * sql/generic-postgresql.lisp: add reader conditional #+nil for
168 DATABASE-DESCRIBE-TABLE and comment about its uses for
169 re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query
170 returning type info for all attributes.
171 Fix DATABASE-SEQUENCE-LAST.
172 * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine
173 LIST-INDEXES with additional keyword parameter :ON.
174 * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3
175 with LIST-INDEXES (with :ON parameter).
176 * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES.
177 * doc/ref-connect.xml: minor tidying.
178 * doc/ref-fddl.xml: document the FDDL.
179 * doc/TODO: removed items done. Moved note about transaction handling
181 * TODO: move note about transaction handling to doc/TODO. Added
182 optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES.
184 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
186 * sql/syntax.lisp: updated docstrings.
187 * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL
189 * sql/database.lisp: add docstrings for CREATE-DATABASE,
190 DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace
191 CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR.
192 * doc/ref-syntax.xml, doc/global-index.xml: minor tidying.
193 * doc/ref-connect.xml: document connection/initialisation.
194 * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here.
195 * doc/TODO: remove items done.
196 * Makefile: add db-oracle to to SUBDIRS.
198 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
199 * sql/oodml.lisp: Add new serialization functions:
200 WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
201 * sql/expressions.lisp: Avoid duplicate FROM names when selecting
202 from a table that has more than one primary index.
203 * sql/conditions.lisp: Fix printing of closed-database error
205 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
207 * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
208 * sql/transactions.lisp: Correctly set slots of SQL-WARNING
210 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
211 * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses
212 of SQL-EXPRESSION from CLSQL-SYS.
213 * sql/syntax.lisp: make error signalled in SQL-OPERATION an
214 SQL-USER-ERROR. Make SQL-OPERATOR return just one value.
215 * doc/Makefile: added Mandrake linux.
216 * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files.
217 * doc/appendix.xml: fixed little typo (adsf).
218 * doc/glossary.xml: removed closed-database and note about
219 sql-expression, added some entries.
220 * doc/ref-syntax.xml: documented the symbolic SQL syntax.
222 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
224 * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
225 * multiple: Add generalized-boolean type as requested by
227 * TODO: Added need for test of generalized-boolean
229 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
230 * Version 2.11.7 released
231 * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
232 for loading with clc-register-user-package. Remove personal
233 directory from path lisp.
234 * db-mysql/mysql-loader.lisp: Similar changes
236 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
237 * Version 2.11.6 released
238 * sql/oodml.lisp: Commit patch from Edi Weitz
239 to fix symbol writing/reading
240 * TODO: Add need for symbol slot test
242 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
243 * sql/package.lisp: remove duplicate export of
244 *CACHE-TABLE-QUERIES-DEFAULT*.
245 * doc/ref-*.xml, doc/global-index.xml: new files documenting
246 the CommonSQL compatible api.
247 * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to
248 reflect changes in return values of WITH-TRANSACTION.
250 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
251 * tests/README: Fix filename [reported by Bill Clementson]
252 * sql/transactions.lisp: Apply return value patch from
253 Edi Weitz for WITH-TRANSACTION
254 * tests/README: Remove ptester package requirement (as noted
257 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
258 * Version 2.11.5 released
259 * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
260 Select connection-spec based on connection type. Bugs reported by
262 * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
263 * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
264 name on Windows, add \bin\ directory to search path
266 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
267 * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in
269 * sql/operations.lisp: substr now generates SUBSTR for use on
270 Oracle; added a new operator SUBSTRING for use elsewhere. minus
271 now generates MINUS for use on Oracle. Nvl signals an error if
272 not called with exactly 2 arguments. Add concat function for use
273 instead of the || operator on MySQL and Oracle.
274 * sql/syntax.lisp: changed internal symbol for the || operator to
276 * sql/expressions.lisp: removed redundant and unused functions
277 GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
278 (cf. MAKE-CONSTRAINTS-DESCRIPTION).
279 * sql/generics.lisp: removed generic function for
280 DATABASE-CONSTRAINT-DESCRIPTION (see above).
281 * tests/test-syntax.lisp: modified/added tests according to changes
282 in sql/operations.lisp.
283 * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test
285 * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP
286 and SQL-USERENV to the shared exports list. Removed
287 ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION,
288 DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION,
289 TRANSACTION-LEVEL, TRANSACTION, RECORD-SQL-COMMAND and
290 RECORD-SQL-RESULT from shared exports list.
292 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
293 * db-postgresql/postgresl-sql.lisp: Avoid computing
294 result-types lisp when nil result-types. Return only
295 one value when field-types nil.
296 * db-mysql/mysql-sql.lisp: Simple queries now
297 working with prepared statements.
299 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
300 * Version 2.11.4: MySQL 4.1 now passes all tests
301 * sql/package.lisp: Add API for prepared statments.
302 * sql/fdml.lisp: Change implicit flatp processing
303 for string map-query for greater CommonSQL conformance.
304 Add high-high API for prepared statements.
305 * tests/test-basic.lisp: Add test for map-query and
307 * sql/transactions.lisp: Change name/semantics of
308 autocommit to set-autocommit.
309 * sql/generic-postgresql.lisp: Add support for
311 * tests/test-internal.lisp: New file
312 * sql/odbc-api.lisp: Update to using ODBC V3 protocol
313 * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
314 Controller invocation.
315 * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
316 * sql/expressions.lisp: Avoid emitting double parenthesis when a
317 function contains a subselect.
319 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
321 * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
322 type (setf slot-value-using-class)
323 * TODO: add not that need a test case for the above fix
324 * db-sqlite: Remove clisp support since clisp can not run CLSQL
326 * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as
327 introduced in Oracle8. Leave older code selectable by a reader macro
328 for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
329 uses OCILogon and does not the more complex session management.
331 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
332 * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
333 * test/test-init.lisp: Add universal-time slot to person.
334 * test/test-fddl.lisp: Add tests of universal-time slot
335 * test/test-ooddl.lisp: Test universal-time slot in an object
336 * TODO: Remove need for universal-time test
337 * debian/rules, debian/control: Add cl-sql-oracle binary package
338 * doc/appendix.xml: Add Oracle backend information
339 * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
340 universal-time. Convert BIGINT CLSQL type to CHAR SQL type
341 * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
342 * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
343 for map-query to reflect changed in arguments to be CommonSQL compatible.
344 Updated old clsql conditions to new CommonSQL compatible conditions.
346 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
347 * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
348 type. Added *default-varchar-length* rather than previous hard-coded
349 varchar length. Remove 'simple-string and 'simple-base-string since they
350 are subtypes of 'string.
351 * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
352 local hard-coded value.
353 * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
354 type string. Convert specified-type (CHAR n) to string. Convert specified-type
355 CHAR to lisp type character.
356 * sql/generic-postgresql.lisp: (string n) => (CHAR n)
357 * sql/operations.lisp: Add userenv
358 * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
360 * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
361 * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
362 * test/test-init.lisp: Add large table with bigint slot
364 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
365 * Version 2.11.1 released: Much simpler Oracle client library loading.
366 Now uses ORACLE_HOME environmental variable as well as tests default
367 path for Oracle Instant Client.
369 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
370 * Version 2.11.0 released: Full Oracle support. All tests pass
371 * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
372 * tests/test-init.lisp: capitalize odbc backend name in banner
373 * CONTRIBUTORS: Add note about Marcus' excellent work
374 * sql/oodml.lisp: Removed old stub function
375 * clsql.asd: Use module names in current package rather than keyword package
376 * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
377 in setting sequence position. Make autocommits more efficient.
378 * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax
379 * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
380 strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
381 and read-sql-value for NUMBER and CHAR.
382 * sql/base-classes.lisp: Add autocommit slot
383 * sql/transaction.lisp: Added autocommit processing, mild cleaning.
384 * doc/intro.xml: Add Oracle
386 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk)
387 * db-postgresql-socket/postgresql-socket-sql.lisp: replace
388 CLSQL-SIMPLE-WARNING with SQL-WARNING.
389 * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with
391 * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR.
392 * clsql.asd: reworked module structure in package definition and
393 file names to better reflect component functionality.
394 * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to
395 exports list. Removed duplicate and obsolete exports. Exported
396 remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT,
397 SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and
398 according to whether they are specified by CommonSQL or CLSQL
400 * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with
402 * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND
403 here from basic-sql.lisp.
404 * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted).
405 * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted).
406 * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
408 * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted).
409 * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted).
411 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
412 * Version 2.10.22 released
413 * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
414 has reversed class slots, change the default for ordered-class-slots so that slots
415 are now in the same order an in the def-view-class.
416 * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
417 * test/test-fddl.lisp: Add two tests for mixed case names
418 * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
419 for computed fields, this will require some adjustment to the test suite which
420 in many cases expects integers.
421 * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
423 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
424 * Version 2.10.21 released
425 * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
426 db-odbc, and db-aodbc.
427 * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
428 DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
429 * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
430 * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to
431 sql/generic-odbc.lisp
432 * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp:
433 Move common code to sql/generic-postgresql.lisp
434 * sql/classes.lisp: honor case of string tables when outputting queries
435 * sql/objects.lisp: Add database type to default database-get-type-specifier method
436 * sql/sql.lisp: Add database type to default database-abort-transaction method
437 * db-mysql/mysql-objects.lisp: New file
438 * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
439 * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
441 * test/test-fdml.lisp: String table names are now case sensitive, so convert to
442 default db case for FDML/SELECT/25
444 22 May 2004 Kevin Rosenberg
445 * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
446 * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
447 and string identifiers with non-default case
448 * sql/table.lisp: Don't convert string table name to a symbol.
449 * sql/classes.lisp: Honor case of string identifiers
450 * sql/sql.lisp: Ensure recyclebin is purged for Oracle in
452 * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
453 of owner phrases. Obtain server and client versions.
454 * db-oracle/oracle-objects.lisp: Fix type specifiers
455 * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
456 * tests/test-init.lisp: Properly get username from Oracle connection-spec
458 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
459 * sql/generics.lisp: reworked docstrings. Remove generics for
460 ADD-TO-RELATION and REMOVE-FROM-RELATION.
461 * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS
462 to UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
463 * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS
464 for CommonSQL compatibility. Remove ADD-TO-RELATION and
465 REMOVE-FROM-RELATION.
466 * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to
467 UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
468 * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS.
469 * sql/conditions.lisp: add documentation for conditions. Add
470 SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility.
472 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
473 * sql/basic-sql.lisp: reworked docstrings.
474 * sql/transactions.lisp: reworked docstrings.
475 * sql/sql.lisp: reworked docstrings.
476 * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE
477 sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility.
478 * sql/database.lisp: reworked docstrings.
479 * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P
480 and FDML extensions and database extensions.
482 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
483 * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
484 * db-oracle/make9.sh: add makefile for building with Oracle 9 client
486 * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
487 Oracle versions with the PURGE option required for drop table. This needs
488 to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
490 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
491 * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE.
492 * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION.
493 * sql/table.lisp: reworked docstrings.
494 * sql/objects.lisp: moved *default-update-objects-max-len* here from
496 * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE,
497 DROP-VIEW and DROP-INDEX and the use of the :transactions and
498 :constraints keyword args to CREATE-TABLE.
499 * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now
500 CommonSQL compatible with respect to column constraints.
502 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
503 * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
504 Requires UFFI 1.5.0 or higher
506 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
508 * sql/conditions.lisp: Fix cerror
510 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
511 * Version 2.10.18 released: New condition hierarchy to be compatible
512 with CommonSQL -- not backward compatible with previous CLSQL.
513 * sql/db-interface.lisp: Add more default methods
514 * sql/objects.lisp: Add explicit table name to order-by parameters
515 in find-all when only one table to avoid selecting a duplicate row.
516 Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
517 as previous logic was adding two fields (foo asc) to SELECT query.
518 Make :result-types :auto be the default for object selections.
519 Properly handle caching key when using multiple order-by with asc/desc
521 * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
523 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
524 * sql/recording.lisp: reworked docstrings.
525 * sql/syntax.lisp: reworked docstrings.
526 * doc/TODO: added notes about extensions to SQL-RECORDING-P and the
527 SQL syntax state functions being macros.
529 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
530 * sql/package.lisp: Export initialize-database-type and
531 *initialize-database-types* from CLSQL package.
532 * sql/conditions.lisp: Add new CommonSQL compatible conditions,
533 remove old CLSQL conditions.
534 * sql/loop-extensions.lisp: Make errors of type sql-user-error
535 * */*.lisp: Convert to from old to new conditions
537 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
538 * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
539 To handle this difference, will need to add a new database-drop-table
541 * db-oracle/oracle-sql.lisp: Move server-version and
542 major-version-number to database object to allow multiple connections
543 to Oracle servers of different versions.
545 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
546 * TODO: moved notes about backends to doc/TODO.
547 * doc/TODO: added notes about backends and select extensions.
548 * sql/base-classes.lisp: remove obsolete schema slot in database
551 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
552 * db-oracle/oracle-api: Add OCIServerVersion
553 * db-oracle/oracle-sql: Query and store server version on connect
554 * sql/db-interface.lisp: Add new db-type-has-bigint? generic
555 function to handle OCI's lack of bigint support
556 * test/test-basic.lisp: Separate bigint testing
557 * test/test-utils.lisp: Add oracle to specs and list of backends
559 * test/test-fdml.lisp: Added FDML/SELECT/34 to test
560 run-time instantiation of variables in reader macros.
561 * TODO: Remove item already complete. Add note about
564 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
565 * sql/syntax.lisp: added condition to the reader macro to treat [*]
566 as a column identifier (rather than an operation) for CommonSQL
568 * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION
569 keword args to SELECT, [*] as column identifier, new MAP-QUERY
570 behaviour and the ANY and ALL operators in subqueries.
571 * tests/test-init.lisp: add set-operation and subquery tests to
572 appropriate skip lists.
573 * sql/objects.lisp: remove redundant and non CommonSQL compatible
574 ORDER-BY-DESCENDING keyword argument for SELECT.
575 * sql/classes.lisp: remove redundant and non CommonSQL compatible
576 ORDER-BY-DESCENDING keyword argument for SELECT.
577 * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT
580 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
581 * sql/db-interface.lisp: Add new db-type-has-union?
582 since Mysql 3.23 does not support unions.
583 * sql/test-init.lisp: Don't try union tests on database
584 backends which do not support it.
585 * db-oracle/*.lisp: initial port to UFFI
586 * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
587 implement REFRESH for SELECT.
588 * tests/test-oodml.lisp: Add tests for deferred retrieval,
589 caching, refresh, and update-object-joins
590 * tests/test-init.lisp: Add deferred-employee-address class
592 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
593 * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add
594 COALESCE operator and make NVL a synonym for this. Make ANY, SOME,
595 ALL and EXISTS generate function expressions so they output the
597 * sql/classes.lisp: SELECT now generates appropriate SQL when
598 passed the SET-OPERATION and ALL keyword arguments.
599 * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now
600 accepts ordering constraints as pairs of the form (column direction)
601 where direction may be :ASC or :DESC.
602 * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL.
603 Correct tests for ANY, SOME, ALL and EXISTS.
604 * tests/test-fdml.lisp: added test for COALESCE.
605 * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION
606 using funcall unless QUERY-EXPRESSION returns one column and its
607 FLATP slot is not nil in which case apply is used.
608 * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the
610 * TODO: remove items done.
611 * db-postgresql/postgresql-sql.lisp: no need to reverse results in
612 DATABASE-LIST-ATTRIBUTES.
613 * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
614 results in DATABASE-LIST-ATTRIBUTES.
616 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
617 * sql/classes.lisp: SELECT now accepts table identifiers as strings
618 for CommonSQL compliance. Add support for qualified sql identifiers
619 with aliased table names.
620 * tests/test-fdml.lisp: added tests for table identifiers as strings
621 in SELECT and for aliased definitions.
622 * tests/test-syntax.lisp: added tests for alias definitions.
624 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
625 * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and
626 field-names set to nil.
627 * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly
628 with null attribute values.
629 * sql/operations.lisp: modify SQL concatenation operator to accept
631 * sql/syntax.lisp: modify sql reader macro function to accept
632 unescaped sql concatenation operator.
633 * tests/test-fdml.lisp: unescape sql concatenation operator.
634 * tests/test-syntax.lisp: unescape sql concatenation operator.
635 * TODO: remove items done. Add notes about SQLITE/MYSQL backends.
636 Note to add test for universal-time. Note about difference from
637 CommonSQL in transaction handling.
639 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
640 * tests/test-init.lisp: Add deferred-employee-address
642 * tests/test-oodml.lisp: Add deferred retrieval testgs
644 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
646 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
647 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
648 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
649 * *: Fix minor style warnings
650 * clsql-classic: Remove system and subdirectory
651 * clsql-base: Remove system and subdirectory and
652 fold into clsql system
653 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
654 as supported platform.
656 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
657 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
658 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
659 Allegro 7.0beta AMD64
660 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
661 of ODBC longs since this type can vary on 64-bit platforms depending
662 upon the compilation options of unixODBC.
663 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
664 structures found by testing with AllegroCL 7.0b AMD64.
665 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
666 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
667 Initial caching support for SELECT
668 * tests/test-oodml.lisp: Avoid using cache when testing select.
669 * sql/kmr-mop.lisp: Explicitly check slot order and
670 store as a cl:*feature*
671 * sql/recording.lisp: Remove additional types to
672 increase CommonSQL conformance.
673 * tests/test-init.lisp: Change a :column attribute
674 to test symbols as value
675 * sql/relations.lisp: Remove functions since they don't support
676 many to many relationships.
677 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
678 of add-to-relations function and replace with explicit field settings.
679 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
681 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
683 * LATEST-TEST-RESULTS: results with current version
684 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
685 since cmu19 has opposite order of class slots.
686 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
687 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
689 * tests/test-init.lisp: Check test-database-underlying-type for
692 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
693 * sql/operations.lisp: complete remaining operations for the sql
694 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
695 UNION, INTERSECT, BETWEEN.
696 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
697 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
698 * tests/test-syntax.lisp: add tests for new operations.
699 * tests/test-fdml.lisp: add tests for queries based on new operations.
700 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
701 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
702 * TODO: removed entries done.
704 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
705 * tests/benchmarks.lisp: Add immediate vs. deferred
708 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
709 * Version 2.10.13: Now works on openmcl 0.14.2
710 * sql/objects.lisp: Add :retrieval :immediate for
712 * tests/test-init.lisp: Add non-index fields for testing
713 join class employee-addresss
714 * test/test-oodml.lisp: Add tests for retrieval immediate
715 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
716 values which are now listifed by openmcl 14.2.
717 * sql/objects.lisp: more framework for supporing immediate retrieval
719 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
720 * docs/intro.xml: Upload location of a README file
721 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
722 changing the type-specifier. Use a lisp type of (OR NULL FOO)
723 for a specified-type of FOO unless :db-constraints :not-null.
724 No need to specialize finalize-inheritance for openmcl.
725 * tests/test-*.lisp: Rename fields so that joins occur on
726 fields with different names. This ensures that join code is
727 selecting the proper name.
728 * test/test-init.lisp: Add :base-table for employee-address
729 view class for testing.
730 * sql/objects.lisp: Use view-table rather than name of table
731 in a number of places to fix errors noted with using :base-table.
733 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
734 * sql/objects.lisp: replace *update-records-on-make-instance* with
735 *db-auto-sync* which also controls both automatic creation of
736 new records on creation of new instance and updating of record
737 fields on setting of instance slots (as suggested by Edi Weitz).
738 * tests/test-init.lisp: replace *update-records-on-make-instance*
740 * sql/package.lisp: replace *update-records-on-make-instance*
742 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
743 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
744 and *default-database* in FIND-ALL.
745 * sql/package.lisp: import time functions from CLSQL-BASE.
746 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
747 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
748 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
749 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
752 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
753 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
754 now return a sql-object-query type rather than directly performing a query.
755 This improves CommonSQL conformance.
756 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
757 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
758 depend on sql-object-query-type.
759 * sql/loop-extensions.lisp: Move from base package
760 * classic/package.lisp: remove references to map-query and do-query
762 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
763 * TODO: New section on optimizations, especially optimizing JOINs.
764 * sql/objects.lisp: Have :target-slot return of list of lists rather
765 than a list of cons pairs to be conformant with CommonSQL.
766 Make :target-slot much more efficient by using a SQL inner join
767 statement and just requiring one SQL query. Add :retrieval :deferrred
768 to target-slot joins. Add placeholder for update-objects-join.
769 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
770 and process them for query output-sql.
772 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
774 * base/basic-sql.lisp: Avoid multiple evaluation
775 of query-expression in DO-QUERY
776 * sql/objects.lisp: Make SELECT a normal function.
777 SELECT now accepts type-modified database identifiers, such as
778 [foo :string] which means that the values in column foo are returned
779 as Lisp strings. Add new *update-records-on-make-instance* special
780 variable controlling automatic creation of new instances. Add missing
781 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
782 * sql/packages.lisp: Export *update-records-on-make-instance*
783 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
785 * test/test-fdml.lisp: Add tests for type-modified
786 database identifiers.
787 * test/test-init.lisp: Stop using add-relation since implementing
788 many-to-many joins. Use *update-records-on-make-instance*
789 to automatically store records on instance creation. Add many-to-many
790 employee-address view-class.
792 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
794 * base/loop.lisp: Add object iteration. Use :result-type
795 :auto for result-set. Remove
796 duplicate (and non-correct) code for non-list variables by
797 simply making an atom variable into a list.
798 * sql/package.lisp: Remove unnecessary clsql-sys package
799 and replace it with clsql.
800 * sql/metaclasses.lisp: Properly store specified-type from
801 direct-slot-definition and then store translated type in
802 effective-slot-definition
803 * sql/classes.lisp: Don't output type in sql-output
804 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
805 [foo :integer] as fields in SELECT.
806 * sql/query.lisp: Set default for :result-types to :auto in
808 * sql/objects.lisp: Use specified-type when invocating
809 database-get-type-specifier. def-view-class macro now returns
811 * base/basic-sql.lisp: Make :AUTO the default value for
812 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
813 * sql/objects.lisp: Add bigint type
814 * test/tests-basic.lisp: Add tests for :result-types for
815 MAP-QUERY and DO-QUERY
816 * test/test-fdml.lisp: Add test for result-types in LOOP
817 and also using single symbol rather than a list for variables.
818 Add test that default :result-types is auto for FDML QUERY.
819 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
820 of SQL-IDENT-ATTRIBUTE.
821 * test/test-oodml.lisp: Enable OO loop iteration test,
822 modify it so it doesn't depend on boolean where.
824 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
826 * sql/objects.lisp: added derived type specifier for universal time.
827 * sql/package.lisp: added #:universal-time to clsql-sys exports.
828 * tests/test-oodml.lisp: added test for translation of boolean slots
829 in SELECT with object queries.
831 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
832 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
833 for odbc/postgresql backend.
834 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
835 it can handle NIL values from the ODBC driver
836 * tests/benchmarks.lisp: New file with initial
838 * sql/relations.lisp: fix to add subclassing support,
839 minor optimizations [Edi Weitz]
841 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
843 * base/conditions.lisp: Add *backend-warning-behavior*
845 * db-postgresql-socket/postgresql-socket-sql.lisp:
846 Honor value of *backend-warning-behavior*
847 * tests/test-fdml.lisp: Remove test of raw boolean value
848 since different backends handle this differently. Add
849 test for :column attribute.
850 * tests/test-oodml.lisp: Add tests for boolean slot value
851 and for :void-value attribute
852 * tests/test-init.lisp: Use *backend-warning-behavior*
853 to suppress warnings from postgresql about implicitly
854 creating primary key in tables. Add new address table.
856 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
858 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
859 result-types is :auto
860 * sql/objects.lisp: Properly handled writing/reading Boolean
861 values from SQL database when retrieving objects.
862 * test/test-fdml.lisp: Add another test for boolean results
863 * test/utils.lisp: Fix incorrect declaration
865 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
867 * sql/generics.lisp: add generic function for SELECT.
868 * sql/objects.lisp: make SELECT a method specialisation.
869 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
870 referred to are View Classes.
871 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
872 query-expression arg evaluates to a list, then we have an object
874 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
876 * TODO: remove items done and add a todo for SELECT.
877 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
879 * sql/sql.lisp: add :field-names arg to QUERY.
880 * tests/test-fdml.lisp: minor rework to use :field-names arg to
883 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
884 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
885 or more View Classes.
886 * sql/objects.lisp: make the :flatp argument to SELECT work with
888 * sql/objects.lisp: make SELECT accept a :result-types argument
889 (defaults to :auto) which is passed on to QUERY.
890 * sql/objects.lisp: SELECT returns field-names as a second value.
891 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
892 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
893 to SELECT and take only first value as appropriate.
894 * tests/test-fdml.lisp: add two new tests for query result coercion
895 and the field-names returned as a second value from SELECT.
896 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
898 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
899 * Version 2.10.6-pre1
900 * sql/metaclasses.lisp: Add void-value slot
901 * doc/csql.xml: Update def-view-class documentation
902 * test/test-init.lisp: Change old :db-type to :db-kind.
903 Remove old :nulls-ok attributes.
904 * sql/objects.lisp: Add new universal-time and bigint
905 types. Optimize reading of integers using parse-integer
906 rather than read-from-string.
907 * */*.lisp: Merge clsql-base-sys and clsql-base packages
908 into clsql-base package
909 * classic/sql.lisp: Move large object support into base, leaving
910 classic without any functionality that is provided in the clsql
912 * classic/package.lisp: Rename clsql-classic-sys package to
913 its former nickname of clsql-classic
915 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
916 * Version 2.10.5: SQLite backend now passes all result-types tests
917 * clsql-sqlite.asd: Depend on clsql-uffi system
918 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
919 for efficiency and code reuse.
920 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
921 for better cross-implementation compatibility.
923 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
925 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
927 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
928 bug on SBCL in result-field-names function as reported by Marcus Pearce
929 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
930 manifest in SBCL testing
932 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
934 * sql/database.lisp: Conform more to CommonSQL output
935 for STATUS command [Marcus Pearce]
936 * sql/sqlite-sql.lisp: Rework to use result-types
937 * sql/sqlite-api-clisp.lisp: Add compatibility layer
938 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
939 be cleaned up of most clisp reader conditionals
940 * sql/test-init.lisp: Now run field type tests on sqlite
943 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
945 * base/basic-sql.lisp: Set default value of :result-types
946 to :auto for more CommonSQL conformance.
947 * test/test-fdml.lisp: Add tests for numeric value of fields
950 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
951 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
952 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
953 Return field names as second value for QUERY. This can be overridden
954 for efficiency with the new keyword :FIELD-NAMES set to NIL
955 in the QUERY invocation.
956 * test/test-fdml.lisp: Add tests for new field-name feature
957 * sql/metaclass.lisp: Remove old Lispworks cruft
958 and replace it with invocation of new code in kmr-mop.lisp
959 which actually works with Lispworks 4.2
960 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
962 * base/db-interface.lisp: Document the multiple values
963 returned by DATABASE-ATTRIBUTE-TYPE so matches the
964 undocumented CommonSQL behavior.
965 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
966 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
967 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
968 Implement CACHE-TABLE-QUERIES.
969 * db-odbc/odbc-sql.lisp: Fix attribute-type function
970 * test/test-fddl.lisp: Add tests for attribute type
971 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
973 * base/classes.lisp: Add attribute-cache slot to database clas
974 * base/initialize.lisp: initialize-database-type now automatically
975 loads database-type backend as needed.
976 * base/test-init.lisp: Utilize new initialize-database-type functionality.
977 * TODO: remove items done
979 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
981 * sql/objects.lisp: remove create/drop-sequence-from-class.
982 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
983 * sql/objects.lisp: improved CommonSQL compatibility for
984 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
985 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
986 * sql/generics.lisp: move generics from objects.lisp to here.
988 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
990 * db-mysql/mysql-client-info.lisp: Add client version 4.1
992 * sql/sql.lisp: Make *default-database* the default for
995 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
997 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
999 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
1000 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
1001 on a metaclass specialized from standard-db-class.
1004 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1005 * Version 2.9.4: Multiple changes to support Allegro's "modern"
1006 lisp which uses a lowercase reader and has case-sensitive symbols
1007 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
1008 exposed by case-sensitive mlisp.
1010 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1011 * Version 2.9.3: All tests now pass on all platforms!
1012 * LATEST-TEST-RESULTS: New file with summary of test results
1013 * sql/generics.lisp: New file for generic function definitions.
1014 * test/test-init.lisp: Display names of skipped tests.
1015 Use unwind-protect to ensure disconnect
1016 * sql/objects.lisp: Change database-type to database-underlying-type
1017 so that actual database engine is properly identified
1018 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
1019 return an ISO timestring for compatibility with other drivers.
1020 Workaround bug in MyODBC for LIST-TABLE-INDEXES
1021 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1022 returns floating-point values for floor and truncate operations
1023 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1024 * tests/test-basic.lisp: Port to regression tester
1025 * test/test-init.lisp: Output to *report-stream*
1026 * docs/appendix.xml: Document ODBC and SQLite backends.
1027 * sql/classes.lisp: Make output-sql require a database parameter.
1028 This allows SQL generation to have the proper case to support
1029 the differences in case handling between CommonSQL API,
1030 Postgresql, MySQL, Oracle.
1032 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1033 * Version 2.9.2: Improvments in database capability introspection
1034 and querying. Support transactions in MySQL where available.
1035 All tests now pass on MySQL and SQLite in addition to postgresql
1036 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1037 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1038 DATABASE-LIST-SEQUENCES.
1039 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1040 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1041 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1042 * tests/*.lisp: Check database capabilities and remove tests which
1043 the database backend does not support
1044 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1045 controls whether InnoDB tables will be created when supported on
1046 the underlying MySQL server.
1048 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1049 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1050 supported by all database backends (except AODBC since
1051 AODBC doesn't support index querying)
1052 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1053 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1054 to support index queries
1055 * db-aodbc/aodbc-sql.lisp: Filter driver manager
1056 "information_schema" tables from LIST-TABLES
1057 * tests/test-basic.lisp: Remove table after testing
1058 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1059 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1060 which gets the underlying type of database -- required
1061 when dealing with ODBC databases and want to query
1062 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1063 as first database-backend specific feature. Is T on
1064 :mysql, NIL on other backends. Change DROP-TABLE to
1067 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1068 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1070 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1072 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
1073 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
1075 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1076 * Version 2.8.0: New API function: LIST-DATABASES
1077 * base/utils.lisp: Fix command-output on CMUCL/SBCL
1078 * db-*/*-sql.lisp: Add new database-list function
1079 * base/database.lisp: Add new LIST-DATABASES command
1081 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1083 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1084 * db-sqlite/sqlite-api-uffi.lisp: Print error string
1087 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1089 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1092 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1094 * base/objects.lisp, base/classes.lisp: Patch
1095 for db-kind from Eduardo Munoz
1097 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1099 * base/basic-sql.lisp: Fix FLATP in QUERY
1101 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1102 * Version 2.7.3: Implement RECONNECT
1104 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1105 * Version 2.7.2: Fix ODBC on Lispworks Windows
1107 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1108 * Version 2.7.1: Fix for new ODBC backend.
1109 clsql-odbc now works on SBCL, CMUCL, OpenMCL
1110 in addition to AllegroCL and Lispworks.
1112 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1113 * Version 2.7.0: New backend: ODBC. Tests as
1114 well as AODBC backend on Allegro,Lispworks.
1115 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
1116 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1117 to explicitly set ODBC2 support. Add BIGINT support.
1118 Add result-types support. Added SQLTables.
1119 Fix array type in fetch-all-rows. Make width
1120 changable by database or query.
1121 * base/utils.lisp: Add process functions
1122 * base/package.lisp: Export utils to CLSQL-BASE-SYS
1123 * db-aodbc: Implement sequence functions,
1124 database-list-tables, database-list-attributes
1125 * tests/utils.lisp: Add support for ODBC backend,
1126 rework READ-SPECS to use +all-db-types+
1127 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
1130 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1131 * Version 2.6.13. Requires UFFI version 1.4.9
1132 * db-odbc/*.lisp: Further porting.
1133 Pre-alpha code! But, basic query is now working.
1135 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1137 * base/transactions.lisp: Add quote for macro
1138 expansion of WITH-TRANSACTIONS [Time Howe]
1139 * db-sqlite/sqlite-sql.lisp: Support memory database
1140 in database-probe [Ng Pheng Siong]
1141 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
1142 The DBI layer is not finished.
1144 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1146 * sql/objects.lisp: add :root-class functionality for
1147 list-classes and add duration type support [Marcus Pearce]
1148 * db-odbc: Add mid-level [DBI] layer
1150 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1152 * db-aodbc: Add methods for generic functions, some are
1153 not yet implemented.
1154 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
1157 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1159 * base/package.lisp: Add missing symbols [Marcus Pearce]
1161 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1163 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
1164 * utils/time.lisp: Multiple fixes [Marcus Pearce]
1165 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
1167 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1169 * sql/*.lisp: Remove schema versioning cruft
1171 * Makefile: Add classic subdirectory
1173 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1175 * sql/sql.lisp: Fix TRUNCATE command, bug reported
1177 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
1178 specific and easy for an application to directly support.
1179 Idea from Marcus Pearce.
1180 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
1181 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
1182 Keep low-level interface for future optimization
1183 supporting LIST-ATTRIBUTE-TYPES command.
1184 * Makefile: Add to db-sqlite and test directories.
1185 Include them in top-level Makefile
1187 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1189 * sql/relations.lisp: Add missing file
1190 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
1191 * test/test-time.lips: New file [Marcus Pearce]
1193 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1195 * test/test-init.lisp: Properly handle object
1196 creation. Close database after use.
1197 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
1198 function so can have methods specialized on
1199 table being a string or an sql-table object.
1200 * base/pool.lisp: Really fix CMUCL locking
1202 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1204 * test/test-init.lisp: Signal correctly
1205 if any errors occurred in any test suite
1206 * base/loop-extensions.lisp: Fix error
1207 introduced for Lispworks
1208 * base/pool.lisp: Fix locking for CMUCL
1209 * base/objects.lisp: Remove schema-version cruft
1211 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1212 * Version 2.6.2: New CLSQL API functions:
1213 DESCRIBE-TABLE AND TRUNCATE-DATABASE
1214 Currently, this are only supported on :postgresql
1215 and :postgresql-socket
1216 * base/database.lisp: automatically load ASDF system
1217 in CONNECT if not already loaded
1218 * base/tests.lisp: disconnect database after testing
1219 * base/*.lisp: Remove CLOSED-DATABASE type in favor
1220 of storing open/closed status in slot of database
1221 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
1222 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
1223 DATABASE-DESCRIBE-TABLE
1224 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
1225 * base/conditions: Remove duplicate condition
1226 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
1227 * base/recording.lisp: Add new :QUERY type for recording
1229 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1230 * Version 2.6.1: documentation fixes, merged
1231 classic-tests into tests
1233 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1234 * Version 2.6.0 released: New API functions
1235 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
1236 * doc/ref_clsql.xml: Document new functions
1237 * base/database.lisp: New API functions
1238 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
1239 * base/utils.lisp: Fix use of position-char.
1240 Add COMMAND-OUTPUT used by backends for running
1241 external programs. Fix parsing of SQL*NET-compatible
1243 * base/loop-extension.lisp: Simplify package use
1244 for Lispworks and Allegro
1245 * db-*/*-sql.lisp: Added DATABASE-CREATE,
1246 DATABASE-DESTORY, PROBE-DATABASE methods
1247 * tests/test-init.lisp, clasic-tests/tests.lisp:
1248 Use destroy-database and create-database to ensure
1249 testing with empty database
1250 * tests/test-connection.lisp: Add tests for
1251 parsing of string connection-specs
1252 * examples/run-tests.sh: New file for running
1253 test suite on all installed CL implementations
1254 * examples/clsql-tutorial.lisp: moved from
1256 * examples/dot.clsql-tests.config: New file
1257 giving an example test configuration
1258 * test/README: Add notes about rtest/ptester
1259 downloads and link to sample test configuration file.
1261 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1262 * Version 2.5.1 released:
1263 * tests/*.lisp: Rework so tests are run
1264 on multiple backends automatically based
1265 on the contents of ~/.clsql-tests.config.
1266 Reuse helper functions from classic-tests.
1267 * base/database.lisp: Support connection-spec
1268 as string for CONNECT
1269 * classic-tests/tests.lisp: Automatically
1270 load database backends as needed.
1272 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1273 * Version 2.5.0 released:
1274 All tests for CLSQL and CLSQL-CLASSIC pass
1276 * base/loop-extension.lisp: Add Lispworks
1277 loop-extension. Improve type specifying on
1280 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1281 * Version 2.4.2 released:
1282 loop extension now supported on Allegro, all
1283 CLSQL-TESTS pass on Allegro.
1284 * sql/metaclasses.lisp: Some optimization
1285 of compute-slots, be selective when
1286 ordered-class-slots needs to be called
1287 instead of class-slots
1288 * TODO: add URL with documentation on
1289 extending Lispworks LOOP form
1291 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1292 * Version 2.4.1 released: CLSQL-TESt suite passes
1293 all tests for postgresql and CMUCL, SBCL, OpenMCL.
1294 Allegro and Lispworks pass all tests except for
1295 FDML/LOOP/1 since the loop extension have not yet
1296 been ported to those implementions.
1297 * sql/metaclasses.lisp: Added new slot to standard-db-class
1298 to hold user-specified type. OpenMCL adjustments to compensate
1299 for its type-predicate function. Since AllegroCL, Lispworks,
1300 and OpenMCL have different slot orders, added compute-slots
1301 and ordered-class-slots functions so their slot order matches
1304 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1305 * Version 2.4.0 released: All tests for clsql-classic now finish
1306 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
1307 mysql, postgresql, postgresql-sockets, and sqlite backends.
1308 * db-mysql/mysql-sql.lisp: Fix array dereferencing
1309 * classic-tests/tests.lisp: Fix package name of
1310 number-to-sql-string.
1311 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
1312 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
1313 now passes tests on all support UFFI platforms.
1314 * db-postgresql-socket/postgresql-socket-api.list: Ported to
1316 * multiple: Finish renaming of :types keyword to :result-types for
1317 greater CommonSQL compatibility, including documentation
1318 * sql/basic-cmds.lisp: Remove obsolete file
1320 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1321 * Version 2.3.3 released
1322 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
1323 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
1324 * Fix for schema table [Marcus Pearce]
1325 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
1326 * Fixes to test suite [Marcus Pearce]
1328 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1329 * db-*/*-sql.lisp: Ensure that expr in
1330 database-query-result-set is a string
1331 * Documentation integration
1333 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1334 * With for Marcus Pearce's excellent work, I've merged
1335 his clsql-usql port into clsql. The original clsql
1336 interface is available in the clsql-classic package.
1338 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1339 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
1340 adding further support for providing backend for UncommonSQL
1342 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
1343 * Integrate patch from Aurelio Bignoli for SQLite backend
1345 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
1346 * Converted documentation to XML format
1347 * Made package installable with asdf-install
1349 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
1350 * Add for-each-row macro
1352 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
1353 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
1355 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
1356 * Add support for SBCL, OpenMCL, and SCL
1357 * Add *load-truename* to search path for clsql's
1360 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
1361 * Rework use of file types in .asd files
1363 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
1364 * Add .asd definition files for ASDF users
1366 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1367 * Restructure directories for Common Lisp Controller v3 compatibility
1369 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1370 * Also change case of logical host in loader files
1371 * Rework handling of logical pathnames
1373 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1374 * Change case of logical host
1376 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
1377 * clsql-base.system: Added base package that can be used without
1378 high-level SQL commands. Used for adding support for UncommonSQL.
1379 * *.system: Reworked logical pathnames to be more consistent with
1380 Common Lisp Controller.
1381 * debian/*: Completed initial Debian support
1383 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1385 * sql/transactions.cl:
1386 Added transaction support. Functions/macros added:
1387 with-transaction, commit-transaction, rollback-transaction,
1388 add-transaction-commit-hook, add-transaction-rollback-hook
1390 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1393 * sql/functional.cl:
1394 Added pool support in connect/disconnect and with-database.
1395 Removed with-db-from-pool as with-database can now works with the connections pool
1397 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1402 Completed connection pool.
1403 Added with-db-from-pool macro.
1405 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1407 Added initial support for connection pool
1408 * sql/transactions.cl
1409 Took transaction code from UncommonSQL and integrated
1410 into CLSQL code. See file for disclaimer about why this
1413 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1414 * interfaces/postgresql/postgresql-sql.cl:
1415 Fix keyword typo in database-read-large-object
1416 * interfaces/mysql/mysql-loader.cl
1417 Fix loading on Win32
1418 * test-suite/tester-clsql.cl
1419 Fix type coercion of double-float
1421 Added debian docbook catalog, made it the default
1423 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1424 * interface/postgresql/postgresql-api.cl:
1425 * interface/postgresql/postgresql-sql.cl:
1427 * sql/db-interface.cl:
1428 Added large objects support for postgresql.
1430 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1431 * src/postgresql-socket/postgresql-socket-api.cl:
1432 Fixed find-foreign-function call, eliminated crypt warning
1434 Multiple improvements
1436 Moved functionality from low-level interfaces to this file
1437 via generic functions
1438 * test-suite/tester.cl:
1439 Added test with acl-compat-tester, moved others to old-tests
1442 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1444 Reinstated commented out sections
1445 * interfaces/postgresql/postgresql-loader.cl:
1446 * interfaces/mysql/mysql-loader.cl:
1447 Updated find-forieign-library support.
1448 * interfaces/postgresql-socket/postgresql-socket-package.cl:
1449 Fixed require form for Lispworks (Thanks Marc Battyani!)
1450 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1451 Fixed eval of def-function for crypt library.
1453 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1454 * Added interface to support USQL high-level rouines
1456 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1457 * Separated db-interface and conditions from sql/sql.cl
1458 * Improved foreign library loading testing
1459 * interfaces/postgresql/postgresql-api.cl
1460 Added PQisBusy function
1461 * interfaces/clsql-uffi/clsql-uffi.cl
1462 Fixed sign error for 64-bit processing
1464 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1465 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1466 Fixes to read-double-from-socket. Added 64-bit integer support.
1467 * test-suite/xptest-clsql.cl
1468 Added testint for 64-bit integers
1469 * Additons to installation docs
1471 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1472 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1473 Implemented direct socket reading for field type :double
1474 * Added usage information for :types to documentation
1475 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
1477 * interfaces/clsql-uffi: Created new directory. Split common
1478 interface routines that use UFFI into this package. Required
1479 especially to support direct reading of 64-bit integers into
1480 bignums and bypassing temporary strings.
1481 * test-clsql.cl: Updated to test postgresql-socket's
1482 read-double-from-socket function.
1483 * test-suite/xptest-clsql.cl
1484 Started work on test suite
1486 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1487 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
1488 mysql-fetch-field-direct Got :auto types working
1489 * interfaces/postgresql/postgresql-api.cl
1490 * interfaces/postgresql-socket/postgresql-socket-api.cl
1491 Added pgsql-field-types enum. Got :auto types working.
1493 Renamed :field-types to :types.
1495 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1496 * Added field-types parameter to query, database-query,
1497 database-query-result-set, map-query. Haven't added code
1498 to utilize field types, yet.
1499 * Changed postgresql-socket result set from cons to a structure
1500 * Updated test-clsql.cl to use automated testing with a config
1502 * Changed return types of field accessors from cstring to
1503 (* :unsigned-char). This prepares for being able to use specified
1504 type conversions when taking field data into lisp.
1505 * Added field-type processing for most interfaces. Not done yet.
1507 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1508 * doc/ref.sgml: Updated MAP-QUERY example to use
1509 *read-default-float-format* (John Foderaro)
1510 * Extensive work to foreign library loaders and .system files to
1511 check for successful loading of foreign libraries.
1512 * Modified test-clsql.cl to allow more modularity and
1513 automated testing in future release.
1514 * mysql/mysql-sql.lisp: Added field types
1516 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
1517 * mysql/mysql-sql.lisp:
1518 - Added support for Allegro CL and Lispworks using UFFI layer
1519 - Changed database-connect to use mysql-real-connect. This way,
1520 can avoid using double (unwind-protect)
1521 - Changed database-connect to have MySQL library allocate space
1522 for MYSQL structure. This will make the code more robust in
1523 the event that MySQL library changes the size of the mysql-mysql