1 18 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
2 * sql/oodml.lisp: Add missing database argument [Patch from
5 03 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
6 * sql/oodml.lisp: Improve database priority in
7 update-records-from-instance [Patch from Walter C. Pelissero]
9 17 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
11 * sql/package.lisp: Export database-reconnect from clsql-sys
13 08 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
14 * sql/oodml.lisp: Use explicit database in fault-join-target-slot
15 [Patch from Walter Pelissero]
17 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
18 * db-postgresql/postgresql-loader.lisp: Add additional
19 directories to Fink on darwin [patch from Cyrus Harmon].
21 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
23 * sql/oodml.lisp: Clear view instance cache when delete-instance-records
24 is invoked [suggested by Alan Shutko].
25 * uffi/clsql-uffi-loader.lisp: Improvements for loading with SBCL X86-64
26 * sql/metaclasses.lisp: Don't change case of a :base-table string supplied
27 to def-view-class [fix suggested by Fred Gilham].
29 25 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
30 * tests/*.lisp: Change Vladamir to Vladimir per Cyrus Harmon's
32 * sql/utils.lisp: Fix unnecessary consing noted by Fred Gilham.
33 * doc/*.xml: Fix spelling of Vladimir
35 24 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
36 * doc/bookinfo.xml, doc/csql.xml, doc/intro.xml: Update links
37 now that LispWorks is an independant company [noted by
40 22 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
41 * db-sqlite/sqlite-sql.lisp, db-sqlite3/sqlite3-sql.lisp:
42 Better support for 64 bit environments
44 05 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
46 * sql/metaclass.lisp: Make t the default value of :set
47 [noted by Cyrus Harmon]
49 28 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
51 * uffi/clsql-uffi.lisp: Add support for unsigned integers
52 * db-mysql/mysql-sql.lisp: Add support for detecting/marking
53 unsigned integers. Apply patch from Yannick Gingras to
54 implement database-sequence-last.
56 26 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
57 * doc/ref-fdml.lisp: Fix variable tag name to varname
58 [noted by Eduardo Munoz]
59 * db-mysql/mysql-loader.lisp: Handle library paths for 64-bit systems
61 06 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
63 * sql/ooddl.lisp: Accept patch from Klaus Harbo for
65 * sql/metaclass.lisp: Remove unnecssary (and runtime error
66 causing) change-class invocation when running on CLISP.
67 * db-mysql/mysql-api.lisp: Commit patch from Paul Werkowski
68 to fix structure name.
69 * sql/database.lisp: More specific error message with trying
70 to use a database value of NIL.
71 * sql/expressions.lisp: Accept a string for the table name
72 in (sql-output sql-delete database) [suggested by Ed Symanzik].
74 11 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
76 * sql/generic-postgresql.lisp: Commit patch from Chris Capel to
77 ignore columns which have been dropped.
78 * clsql-postgresql-socket.asd, db-postgresql-socket/postgresql-socket-package.lisp:
79 Use sb-md5 package on SBCL, recommended by Chris Capel
81 09 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
82 * Version 3.1.0 released: New SQLite3 backend by Aurelio Bignoli
83 * doc/appendix.xml: Document SQLITE3 backend, patch by Aurelio Bignoli
84 * sql/operations.lisp: Add lower and upper SQL functions [Daniel Lowe].
86 08 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
87 * sql/expressions.lisp: Fix slot name [thanks to Daniel Lowe]
89 31 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
90 * clsql-sqlite3, db-sqlite3/*: NEW BACKEND
91 contributed by Aurelio Bignoli
93 23 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
94 * sql/oodml.lisp: Commit patch from Walter Pelis
95 to use an object's database for a select on its slot.
97 20 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
98 * uffi/uffi.c, uffi/clsql-uffi.lisp: Commit patch from
99 Aurelio Bignoli to fix negative 64-bit integers
101 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
102 * db-mysql/mysql.c: Fix parameters in bind_param call
104 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
105 * uffi/clsql-uffi.lisp: Add support for :blob result-type
106 * db-mysql/mysql-sql.lisp: Add support for :blob
109 04 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
110 * db-mysql/mysql-sql.lisp, db-db2/db2-sql.lisp: Add
111 missing quotes for types in code that is still in development
112 (thanks to Joerg Hoehle)
114 03 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
115 * Version 3.0.8 released
116 * db-sqlite/sqlite-*.lisp: Apply patch from
117 Aurelio Bignoli with improvements
119 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
120 * multiple: Apply patch from Joerg Hoehle with multiple
123 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
124 * Version 3.0.7 released
125 * sql/oodml.lisp, sql/package.lisp, db-mysql/mysql-objects.lisp:
126 Add support for mediumint.
127 * sql/metaclass.lisp: Rework CLISP MOP handling
128 * sql/ooddl.lisp: Work-around to have CLISP finalize standard-db-class
130 28 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
131 * sql/metaclass.lisp: Support CLISP's attribute name
132 for the type field in direct class slots
134 27 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
135 * Version 3.0.6 released
136 * BUGS: New file. Document suspected SIGPIPE
137 interaction between SBCL and libpq used in
139 * doc/ref-fdml.lisp: Document the :caching and :refresh
140 keywords of the SELECT function.
141 * doc/ref-ooddml.lisp: Document the new *default-caching*
143 * sql/package.lisp: Export *default-caching*
144 * sql/oodml.lisp: Use *default-caching* to
145 control default caching behavior.
147 21 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
148 * Version 3.0.5 release
149 * doc/appendix.xml: Add note about loading Oracle8 version
150 * db-oracle/oracle-loader.lisp: Support Oracle8 based on
151 data from David Young.
153 10 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
154 * doc/Makefile, doc/catalog-darwin.xml: Apply
155 patch from Cyrus Harmon for building docs on Mac OS X
156 * sql/package.lisp: Add new (pre-release) clisp MOP package
158 09 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
159 * Version 3.0.4 Release
160 * multiple: Remove superfluous quotes in UFFI def-type
161 and def-foreign-type forms.
163 07 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
164 * Version 3.0.3 Release
165 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
166 from Tagore Smith to call force-output after sending authentication
167 * db-odbc/odbc-api.lisp: Move ODBC v3 conversons
168 * db-odbc/odbc-sql.lisp: Load mysql or postgresql package when connecting
169 to a database of that type so that functions that indicate capabilities of
170 database are available.
172 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
173 * db-odbc/odbc-api.lisp: More conversions to ODBC v3
175 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
176 * Version 3.0.2 Release
177 * TODO: Add note about ODBC on Windows
178 * db-odbc/odbc-loader.lisp: Add /winnt/system32/ to
180 * db-odbc/odbc-ff-interface.lisp: Change the return type
181 of SQLSetEnvAttr to :short
183 02 Sep 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
184 * examples/clsql-tutorial.lisp: added missing initarg for the COMPANYID
185 slot of the employee View Class definition [reported by Franz Deuzer].
187 01 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
188 * Version 3.0.1 Release
189 * tests/test-init.lisp: Add second join class to employee-address
190 to test a class with two join slots.
191 * sql/oodml.lisp: Fix find-all function for a class with multiple
193 * TODO: Remove need to test/fix multiple join classes
195 27 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
196 * db-mysql/Makefile, db-mysql/mysql-loader.lisp: accept patch
197 from Jon Buffington for file locations on Darwin.
199 17 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
200 * sql/db-interface.lisp: Improve messages when functions
201 are passed a database object, but the method is not specialized
202 for that database type.
203 * sql/metaclasses.lisp: Fix inline declaration (reported by
206 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
207 * TODO: Add bug report about SQL generation with a table
208 containing two join slots.
209 * sql/oodml.lisp: Add optional size to VARCHAR type
211 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
212 * Version 3.0.0 Release
213 * sql/expressions.lisp: Change declaration that
214 caused error on openmcl
215 * db-aodbc/aodbc-sql.lisp: Fix storage location
216 of odbc connection. Specialize database-query since
217 dbi's :types keyword is different than generic-odbc's
218 :result-types keyword
219 * sql/db-interface.lisp: Add warnings for methods
220 not specialized by a db backends
221 * tests/test-fddl.lisp: Fix case of symbols to support
222 case-sensitive Allegro
223 * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
224 * tests/test-init.lisp: Note that odbc driver for postgresql
225 doesn't properly handle table ownership
226 * LATEST-TEST-RESULTS: update with version 3.0.0
228 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
229 * sql/expressions.lisp: conditionalise escaping of backslash in
230 generated SQL strings on backend.
231 * tests/test-fdml.lisp: test for escaping of backslash.
232 * sql/oodml.lisp: minor tidying in FIND-ALL.
234 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
235 * NEWS: Initial 3.0 announcement draft
236 * README: Expand acknowledgements of incorporated projects
237 * CONTRIBUTORS: Further document Marcus Pearce contributions
239 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
240 * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
241 to print floats with the exponent markers removed.
242 * tests/test-oodml.lisp: add tests for updating records with floats.
244 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
245 * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for
246 CommonSQL compatibility.
247 * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since
248 this column constraint syntax is not supported.
249 * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
250 from EMPLID to LAST_NAME since Oracle complains that EMPLID is already
253 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
254 * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES.
255 * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES.
256 * doc/ref-ooddl.xml: minor changes to syntax and examples entries
258 * doc/ref-oodml.xml: add examples for OODML.
259 * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument
261 * sql/metaclasses.lisp: update docstrings.
262 * tests/test-init.lisp: change :db-constraints for emplid to
263 (:not-null :unique) as a temporary test for multiple column constraints
265 * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and
266 return type of (SETF SLOT-VALUE-USING-CLASS).
267 * TODO, doc/TODO: remove items done.
270 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
271 * sql/oodml.lisp: on Lispworks, use weak valued hash tables for
273 * sql/expressions.lisp: Fix SQL generation for the symbol NIL.
275 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
276 * sql/expressions.lisp: reactivate caching of generated SQL strings.
277 Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY
278 here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT,
279 OUTPUT-SQL and DATABASE-OUTPUT-SQL.
280 * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move
281 methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to
282 sql/expressions.lisp.
283 * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in
284 DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT.
285 * sql/generics.lisp: add docstrings.
287 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
289 * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
290 code in favor of fixing UFFI with James Bielman's patch
292 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
294 * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
297 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
298 * README, INSTALL: update URLs. Minor updates to descriptions.
299 * tests/README: remove stuff about editing contexts.
301 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
302 * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to
303 *default-string-length*
305 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
306 * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping
308 * tests/test-fddl.lisp: add tests for column and table constraints
309 in CREATE-TABLE. Add test for OWNER keyword parameter to
310 LIST-TABLES (assuming same underlying machinery in other FDDL
312 * tests/test-init.lisp: restrict above test to postgresql and oracle.
314 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
315 * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio
318 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
319 * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
321 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
323 * doc/*.xml: documentation additionals and fixes so
324 that docbook passes xmllint.
326 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
328 * sql/fdml.lisp: Apply patch from Kim Minh Kaplan
329 to change escaping of single quotes. Mild optimizations
330 for escaped string output.
331 * doc/ref-ooddl.lisp: documentation additions
332 * doc/ref-oodml.lisp: Add purpose to functions
333 * TODO: Add need to test single quote escaping
335 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
336 * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
337 * sql/ooddl.lisp: Added SMALLINT type
338 * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
339 * db-mysql/mysql-objects.lisp: Added SMALLINT type
340 * sql/package.lisp: Export SMALLINT
341 * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
344 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
345 * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the
346 recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS
347 View Class slot option.
348 * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class
349 slot option accepting a list of constraints [reported by Travis Cross].
350 * doc/ref-fddl.xml: add some examples of specifying column and
351 table constraints to the documentation for CREATE-TABLE.
352 * TODO: add note about adding tests for table/column constraints. Add
353 optimisation note about using cached attribute types in insert/update
356 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
357 * doc/appendix.xml: add notes about idiosyncrasies/unsupported
358 features and so on the documentation for each backend.
359 * doc/TODO: remove items done.
360 * doc/ref-transaction.xml: add note in introduction about
361 autocommit mode as a difference from CommonSQL.
362 * doc/ref-syntax.xml: add notes about SQL syntax state functions
363 being macros in CLSQL. Add note about SQL operators which are
366 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
367 * Version 2.11.12 released
368 * doc/ref-recording.xml: document SQL I/O recording.
369 * doc/ref-prepared.xml: new file for documenting prepared statements.
370 * doc/clsql.xml: comment out include for large object and CLSQL-SYS
372 * doc/ref-conditions.xml: complete documentation of condition system.
373 * doc/global-index.xml: add symbols from condition system and remove
374 those from LOB and prepared statement APIs.
375 * doc/ref-fdml.xml: complete documentation of FDML.
376 * doc/glossary.xml: add View Class.
377 * doc/TODO: remove items done.
378 * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR.
379 * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export
380 additional slot accessors for condition classes.
382 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
383 * doc/ref-ooddl.lisp: Add documentation
384 * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
385 and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
386 * doc/oodml.lisp: Rename references to new name of
387 *DEFAULT-STRING-LENGTH*
389 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
390 * doc/ref-transaction.xml: document transaction handling.
391 * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and
392 START-TRANSACTION return NIL as per the CommonSQL spec. Modify
393 ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is
394 passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
397 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
398 * doc/ref-fdml.xml: document the FDML.
399 * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here.
400 * sql/ooddl.lisp: moved *default-varchar-length* to here from
401 oodml.lisp and renamed to *default-string-length*
403 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
404 * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
405 to allow specifying transactionless table creation
406 * doc/ref-oodml.lisp: Add new keyword to signature of
409 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
411 * sql/expressions.lisp: when removing duplicate table identifiers
412 in the FROM clause of a query, check both table name and alias
414 * sql/fdml.lisp: remove DESCRIBE-TABLE.
415 * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and
416 DATABASE-DESCRIBE-TABLE.
417 * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE
418 and LIST-TABLE-INDEXES.
419 * sql/generic-postgresql.lisp: add reader conditional #+nil for
420 DATABASE-DESCRIBE-TABLE and comment about its uses for
421 re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query
422 returning type info for all attributes.
423 Fix DATABASE-SEQUENCE-LAST.
424 * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine
425 LIST-INDEXES with additional keyword parameter :ON.
426 * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3
427 with LIST-INDEXES (with :ON parameter).
428 * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES.
429 * doc/ref-connect.xml: minor tidying.
430 * doc/ref-fddl.xml: document the FDDL.
431 * doc/TODO: removed items done. Moved note about transaction handling
433 * TODO: move note about transaction handling to doc/TODO. Added
434 optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES.
436 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
438 * sql/syntax.lisp: updated docstrings.
439 * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL
441 * sql/database.lisp: add docstrings for CREATE-DATABASE,
442 DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace
443 CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR.
444 * doc/ref-syntax.xml, doc/global-index.xml: minor tidying.
445 * doc/ref-connect.xml: document connection/initialisation.
446 * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here.
447 * doc/TODO: remove items done.
448 * Makefile: add db-oracle to to SUBDIRS.
450 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
451 * sql/oodml.lisp: Add new serialization functions:
452 WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
453 * sql/expressions.lisp: Avoid duplicate FROM names when selecting
454 from a table that has more than one primary index.
455 * sql/conditions.lisp: Fix printing of closed-database error
457 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
459 * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
460 * sql/transactions.lisp: Correctly set slots of SQL-WARNING
462 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
463 * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses
464 of SQL-EXPRESSION from CLSQL-SYS.
465 * sql/syntax.lisp: make error signalled in SQL-OPERATION an
466 SQL-USER-ERROR. Make SQL-OPERATOR return just one value.
467 * doc/Makefile: added Mandrake linux.
468 * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files.
469 * doc/appendix.xml: fixed little typo (adsf).
470 * doc/glossary.xml: removed closed-database and note about
471 sql-expression, added some entries.
472 * doc/ref-syntax.xml: documented the symbolic SQL syntax.
474 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
476 * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
477 * multiple: Add generalized-boolean type as requested by
479 * TODO: Added need for test of generalized-boolean
481 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
482 * Version 2.11.7 released
483 * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
484 for loading with clc-register-user-package. Remove personal
485 directory from path lisp.
486 * db-mysql/mysql-loader.lisp: Similar changes
488 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
489 * Version 2.11.6 released
490 * sql/oodml.lisp: Commit patch from Edi Weitz
491 to fix symbol writing/reading
492 * TODO: Add need for symbol slot test
494 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
495 * sql/package.lisp: remove duplicate export of
496 *CACHE-TABLE-QUERIES-DEFAULT*.
497 * doc/ref-*.xml, doc/global-index.xml: new files documenting
498 the CommonSQL compatible api.
499 * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to
500 reflect changes in return values of WITH-TRANSACTION.
502 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
503 * tests/README: Fix filename [reported by Bill Clementson]
504 * sql/transactions.lisp: Apply return value patch from
505 Edi Weitz for WITH-TRANSACTION
506 * tests/README: Remove ptester package requirement (as noted
509 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
510 * Version 2.11.5 released
511 * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
512 Select connection-spec based on connection type. Bugs reported by
514 * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
515 * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
516 name on Windows, add \bin\ directory to search path
518 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
519 * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in
521 * sql/operations.lisp: substr now generates SUBSTR for use on
522 Oracle; added a new operator SUBSTRING for use elsewhere. minus
523 now generates MINUS for use on Oracle. Nvl signals an error if
524 not called with exactly 2 arguments. Add concat function for use
525 instead of the || operator on MySQL and Oracle.
526 * sql/syntax.lisp: changed internal symbol for the || operator to
528 * sql/expressions.lisp: removed redundant and unused functions
529 GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
530 (cf. MAKE-CONSTRAINTS-DESCRIPTION).
531 * sql/generics.lisp: removed generic function for
532 DATABASE-CONSTRAINT-DESCRIPTION (see above).
533 * tests/test-syntax.lisp: modified/added tests according to changes
534 in sql/operations.lisp.
535 * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test
537 * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP
538 and SQL-USERENV to the shared exports list. Removed
539 ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION,
540 DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION,
541 TRANSACTION-LEVEL, TRANSACTION, RECORD-SQL-COMMAND and
542 RECORD-SQL-RESULT from shared exports list.
544 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
545 * db-postgresql/postgresl-sql.lisp: Avoid computing
546 result-types lisp when nil result-types. Return only
547 one value when field-types nil.
548 * db-mysql/mysql-sql.lisp: Simple queries now
549 working with prepared statements.
551 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
552 * Version 2.11.4: MySQL 4.1 now passes all tests
553 * sql/package.lisp: Add API for prepared statments.
554 * sql/fdml.lisp: Change implicit flatp processing
555 for string map-query for greater CommonSQL conformance.
556 Add high-high API for prepared statements.
557 * tests/test-basic.lisp: Add test for map-query and
559 * sql/transactions.lisp: Change name/semantics of
560 autocommit to set-autocommit.
561 * sql/generic-postgresql.lisp: Add support for
563 * tests/test-internal.lisp: New file
564 * sql/odbc-api.lisp: Update to using ODBC V3 protocol
565 * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
566 Controller invocation.
567 * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
568 * sql/expressions.lisp: Avoid emitting double parenthesis when a
569 function contains a subselect.
571 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
573 * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
574 type (setf slot-value-using-class)
575 * TODO: add not that need a test case for the above fix
576 * db-sqlite: Remove clisp support since clisp can not run CLSQL
578 * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as
579 introduced in Oracle8. Leave older code selectable by a reader macro
580 for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
581 uses OCILogon and does not the more complex session management.
583 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
584 * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
585 * test/test-init.lisp: Add universal-time slot to person.
586 * test/test-fddl.lisp: Add tests of universal-time slot
587 * test/test-ooddl.lisp: Test universal-time slot in an object
588 * TODO: Remove need for universal-time test
589 * debian/rules, debian/control: Add cl-sql-oracle binary package
590 * doc/appendix.xml: Add Oracle backend information
591 * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
592 universal-time. Convert BIGINT CLSQL type to CHAR SQL type
593 * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
594 * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
595 for map-query to reflect changed in arguments to be CommonSQL compatible.
596 Updated old clsql conditions to new CommonSQL compatible conditions.
598 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
599 * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
600 type. Added *default-varchar-length* rather than previous hard-coded
601 varchar length. Remove 'simple-string and 'simple-base-string since they
602 are subtypes of 'string.
603 * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
604 local hard-coded value.
605 * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
606 type string. Convert specified-type (CHAR n) to string. Convert specified-type
607 CHAR to lisp type character.
608 * sql/generic-postgresql.lisp: (string n) => (CHAR n)
609 * sql/operations.lisp: Add userenv
610 * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
612 * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
613 * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
614 * test/test-init.lisp: Add large table with bigint slot
616 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
617 * Version 2.11.1 released: Much simpler Oracle client library loading.
618 Now uses ORACLE_HOME environmental variable as well as tests default
619 path for Oracle Instant Client.
621 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
622 * Version 2.11.0 released: Full Oracle support. All tests pass
623 * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
624 * tests/test-init.lisp: capitalize odbc backend name in banner
625 * CONTRIBUTORS: Add note about Marcus' excellent work
626 * sql/oodml.lisp: Removed old stub function
627 * clsql.asd: Use module names in current package rather than keyword package
628 * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
629 in setting sequence position. Make autocommits more efficient.
630 * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax
631 * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
632 strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
633 and read-sql-value for NUMBER and CHAR.
634 * sql/base-classes.lisp: Add autocommit slot
635 * sql/transaction.lisp: Added autocommit processing, mild cleaning.
636 * doc/intro.xml: Add Oracle
638 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk)
639 * db-postgresql-socket/postgresql-socket-sql.lisp: replace
640 CLSQL-SIMPLE-WARNING with SQL-WARNING.
641 * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with
643 * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR.
644 * clsql.asd: reworked module structure in package definition and
645 file names to better reflect component functionality.
646 * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to
647 exports list. Removed duplicate and obsolete exports. Exported
648 remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT,
649 SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and
650 according to whether they are specified by CommonSQL or CLSQL
652 * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with
654 * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND
655 here from basic-sql.lisp.
656 * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted).
657 * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted).
658 * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
660 * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted).
661 * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted).
663 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
664 * Version 2.10.22 released
665 * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
666 has reversed class slots, change the default for ordered-class-slots so that slots
667 are now in the same order an in the def-view-class.
668 * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
669 * test/test-fddl.lisp: Add two tests for mixed case names
670 * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
671 for computed fields, this will require some adjustment to the test suite which
672 in many cases expects integers.
673 * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
675 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
676 * Version 2.10.21 released
677 * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
678 db-odbc, and db-aodbc.
679 * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
680 DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
681 * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
682 * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to
683 sql/generic-odbc.lisp
684 * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp:
685 Move common code to sql/generic-postgresql.lisp
686 * sql/classes.lisp: honor case of string tables when outputting queries
687 * sql/objects.lisp: Add database type to default database-get-type-specifier method
688 * sql/sql.lisp: Add database type to default database-abort-transaction method
689 * db-mysql/mysql-objects.lisp: New file
690 * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
691 * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
693 * test/test-fdml.lisp: String table names are now case sensitive, so convert to
694 default db case for FDML/SELECT/25
696 22 May 2004 Kevin Rosenberg
697 * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
698 * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
699 and string identifiers with non-default case
700 * sql/table.lisp: Don't convert string table name to a symbol.
701 * sql/classes.lisp: Honor case of string identifiers
702 * sql/sql.lisp: Ensure recyclebin is purged for Oracle in
704 * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
705 of owner phrases. Obtain server and client versions.
706 * db-oracle/oracle-objects.lisp: Fix type specifiers
707 * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
708 * tests/test-init.lisp: Properly get username from Oracle connection-spec
710 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
711 * sql/generics.lisp: reworked docstrings. Remove generics for
712 ADD-TO-RELATION and REMOVE-FROM-RELATION.
713 * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS
714 to UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
715 * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS
716 for CommonSQL compatibility. Remove ADD-TO-RELATION and
717 REMOVE-FROM-RELATION.
718 * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to
719 UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
720 * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS.
721 * sql/conditions.lisp: add documentation for conditions. Add
722 SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility.
724 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
725 * sql/basic-sql.lisp: reworked docstrings.
726 * sql/transactions.lisp: reworked docstrings.
727 * sql/sql.lisp: reworked docstrings.
728 * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE
729 sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility.
730 * sql/database.lisp: reworked docstrings.
731 * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P
732 and FDML extensions and database extensions.
734 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
735 * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
736 * db-oracle/make9.sh: add makefile for building with Oracle 9 client
738 * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
739 Oracle versions with the PURGE option required for drop table. This needs
740 to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
742 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
743 * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE.
744 * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION.
745 * sql/table.lisp: reworked docstrings.
746 * sql/objects.lisp: moved *default-update-objects-max-len* here from
748 * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE,
749 DROP-VIEW and DROP-INDEX and the use of the :transactions and
750 :constraints keyword args to CREATE-TABLE.
751 * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now
752 CommonSQL compatible with respect to column constraints.
754 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
755 * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
756 Requires UFFI 1.5.0 or higher
758 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
760 * sql/conditions.lisp: Fix cerror
762 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
763 * Version 2.10.18 released: New condition hierarchy to be compatible
764 with CommonSQL -- not backward compatible with previous CLSQL.
765 * sql/db-interface.lisp: Add more default methods
766 * sql/objects.lisp: Add explicit table name to order-by parameters
767 in find-all when only one table to avoid selecting a duplicate row.
768 Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
769 as previous logic was adding two fields (foo asc) to SELECT query.
770 Make :result-types :auto be the default for object selections.
771 Properly handle caching key when using multiple order-by with asc/desc
773 * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
775 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
776 * sql/recording.lisp: reworked docstrings.
777 * sql/syntax.lisp: reworked docstrings.
778 * doc/TODO: added notes about extensions to SQL-RECORDING-P and the
779 SQL syntax state functions being macros.
781 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
782 * sql/package.lisp: Export initialize-database-type and
783 *initialize-database-types* from CLSQL package.
784 * sql/conditions.lisp: Add new CommonSQL compatible conditions,
785 remove old CLSQL conditions.
786 * sql/loop-extensions.lisp: Make errors of type sql-user-error
787 * */*.lisp: Convert to from old to new conditions
789 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
790 * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
791 To handle this difference, will need to add a new database-drop-table
793 * db-oracle/oracle-sql.lisp: Move server-version and
794 major-version-number to database object to allow multiple connections
795 to Oracle servers of different versions.
797 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
798 * TODO: moved notes about backends to doc/TODO.
799 * doc/TODO: added notes about backends and select extensions.
800 * sql/base-classes.lisp: remove obsolete schema slot in database
803 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
804 * db-oracle/oracle-api: Add OCIServerVersion
805 * db-oracle/oracle-sql: Query and store server version on connect
806 * sql/db-interface.lisp: Add new db-type-has-bigint? generic
807 function to handle OCI's lack of bigint support
808 * test/test-basic.lisp: Separate bigint testing
809 * test/test-utils.lisp: Add oracle to specs and list of backends
811 * test/test-fdml.lisp: Added FDML/SELECT/34 to test
812 run-time instantiation of variables in reader macros.
813 * TODO: Remove item already complete. Add note about
816 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
817 * sql/syntax.lisp: added condition to the reader macro to treat [*]
818 as a column identifier (rather than an operation) for CommonSQL
820 * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION
821 keword args to SELECT, [*] as column identifier, new MAP-QUERY
822 behaviour and the ANY and ALL operators in subqueries.
823 * tests/test-init.lisp: add set-operation and subquery tests to
824 appropriate skip lists.
825 * sql/objects.lisp: remove redundant and non CommonSQL compatible
826 ORDER-BY-DESCENDING keyword argument for SELECT.
827 * sql/classes.lisp: remove redundant and non CommonSQL compatible
828 ORDER-BY-DESCENDING keyword argument for SELECT.
829 * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT
832 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
833 * sql/db-interface.lisp: Add new db-type-has-union?
834 since Mysql 3.23 does not support unions.
835 * sql/test-init.lisp: Don't try union tests on database
836 backends which do not support it.
837 * db-oracle/*.lisp: initial port to UFFI
838 * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
839 implement REFRESH for SELECT.
840 * tests/test-oodml.lisp: Add tests for deferred retrieval,
841 caching, refresh, and update-object-joins
842 * tests/test-init.lisp: Add deferred-employee-address class
844 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
845 * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add
846 COALESCE operator and make NVL a synonym for this. Make ANY, SOME,
847 ALL and EXISTS generate function expressions so they output the
849 * sql/classes.lisp: SELECT now generates appropriate SQL when
850 passed the SET-OPERATION and ALL keyword arguments.
851 * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now
852 accepts ordering constraints as pairs of the form (column direction)
853 where direction may be :ASC or :DESC.
854 * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL.
855 Correct tests for ANY, SOME, ALL and EXISTS.
856 * tests/test-fdml.lisp: added test for COALESCE.
857 * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION
858 using funcall unless QUERY-EXPRESSION returns one column and its
859 FLATP slot is not nil in which case apply is used.
860 * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the
862 * TODO: remove items done.
863 * db-postgresql/postgresql-sql.lisp: no need to reverse results in
864 DATABASE-LIST-ATTRIBUTES.
865 * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
866 results in DATABASE-LIST-ATTRIBUTES.
868 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
869 * sql/classes.lisp: SELECT now accepts table identifiers as strings
870 for CommonSQL compliance. Add support for qualified sql identifiers
871 with aliased table names.
872 * tests/test-fdml.lisp: added tests for table identifiers as strings
873 in SELECT and for aliased definitions.
874 * tests/test-syntax.lisp: added tests for alias definitions.
876 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
877 * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and
878 field-names set to nil.
879 * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly
880 with null attribute values.
881 * sql/operations.lisp: modify SQL concatenation operator to accept
883 * sql/syntax.lisp: modify sql reader macro function to accept
884 unescaped sql concatenation operator.
885 * tests/test-fdml.lisp: unescape sql concatenation operator.
886 * tests/test-syntax.lisp: unescape sql concatenation operator.
887 * TODO: remove items done. Add notes about SQLITE/MYSQL backends.
888 Note to add test for universal-time. Note about difference from
889 CommonSQL in transaction handling.
891 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
892 * tests/test-init.lisp: Add deferred-employee-address
894 * tests/test-oodml.lisp: Add deferred retrieval testgs
896 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
898 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
899 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
900 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
901 * *: Fix minor style warnings
902 * clsql-classic: Remove system and subdirectory
903 * clsql-base: Remove system and subdirectory and
904 fold into clsql system
905 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
906 as supported platform.
908 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
909 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
910 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
911 Allegro 7.0beta AMD64
912 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
913 of ODBC longs since this type can vary on 64-bit platforms depending
914 upon the compilation options of unixODBC.
915 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
916 structures found by testing with AllegroCL 7.0b AMD64.
917 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
918 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
919 Initial caching support for SELECT
920 * tests/test-oodml.lisp: Avoid using cache when testing select.
921 * sql/kmr-mop.lisp: Explicitly check slot order and
922 store as a cl:*feature*
923 * sql/recording.lisp: Remove additional types to
924 increase CommonSQL conformance.
925 * tests/test-init.lisp: Change a :column attribute
926 to test symbols as value
927 * sql/relations.lisp: Remove functions since they don't support
928 many to many relationships.
929 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
930 of add-to-relations function and replace with explicit field settings.
931 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
933 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
935 * LATEST-TEST-RESULTS: results with current version
936 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
937 since cmu19 has opposite order of class slots.
938 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
939 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
941 * tests/test-init.lisp: Check test-database-underlying-type for
944 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
945 * sql/operations.lisp: complete remaining operations for the sql
946 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
947 UNION, INTERSECT, BETWEEN.
948 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
949 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
950 * tests/test-syntax.lisp: add tests for new operations.
951 * tests/test-fdml.lisp: add tests for queries based on new operations.
952 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
953 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
954 * TODO: removed entries done.
956 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
957 * tests/benchmarks.lisp: Add immediate vs. deferred
960 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
961 * Version 2.10.13: Now works on openmcl 0.14.2
962 * sql/objects.lisp: Add :retrieval :immediate for
964 * tests/test-init.lisp: Add non-index fields for testing
965 join class employee-addresss
966 * test/test-oodml.lisp: Add tests for retrieval immediate
967 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
968 values which are now listifed by openmcl 14.2.
969 * sql/objects.lisp: more framework for supporing immediate retrieval
971 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
972 * docs/intro.xml: Upload location of a README file
973 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
974 changing the type-specifier. Use a lisp type of (OR NULL FOO)
975 for a specified-type of FOO unless :db-constraints :not-null.
976 No need to specialize finalize-inheritance for openmcl.
977 * tests/test-*.lisp: Rename fields so that joins occur on
978 fields with different names. This ensures that join code is
979 selecting the proper name.
980 * test/test-init.lisp: Add :base-table for employee-address
981 view class for testing.
982 * sql/objects.lisp: Use view-table rather than name of table
983 in a number of places to fix errors noted with using :base-table.
985 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
986 * sql/objects.lisp: replace *update-records-on-make-instance* with
987 *db-auto-sync* which also controls both automatic creation of
988 new records on creation of new instance and updating of record
989 fields on setting of instance slots (as suggested by Edi Weitz).
990 * tests/test-init.lisp: replace *update-records-on-make-instance*
992 * sql/package.lisp: replace *update-records-on-make-instance*
994 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
995 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
996 and *default-database* in FIND-ALL.
997 * sql/package.lisp: import time functions from CLSQL-BASE.
998 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
999 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1000 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1001 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
1004 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1005 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
1006 now return a sql-object-query type rather than directly performing a query.
1007 This improves CommonSQL conformance.
1008 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
1009 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
1010 depend on sql-object-query-type.
1011 * sql/loop-extensions.lisp: Move from base package
1012 * classic/package.lisp: remove references to map-query and do-query
1014 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1015 * TODO: New section on optimizations, especially optimizing JOINs.
1016 * sql/objects.lisp: Have :target-slot return of list of lists rather
1017 than a list of cons pairs to be conformant with CommonSQL.
1018 Make :target-slot much more efficient by using a SQL inner join
1019 statement and just requiring one SQL query. Add :retrieval :deferrred
1020 to target-slot joins. Add placeholder for update-objects-join.
1021 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
1022 and process them for query output-sql.
1024 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1026 * base/basic-sql.lisp: Avoid multiple evaluation
1027 of query-expression in DO-QUERY
1028 * sql/objects.lisp: Make SELECT a normal function.
1029 SELECT now accepts type-modified database identifiers, such as
1030 [foo :string] which means that the values in column foo are returned
1031 as Lisp strings. Add new *update-records-on-make-instance* special
1032 variable controlling automatic creation of new instances. Add missing
1033 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
1034 * sql/packages.lisp: Export *update-records-on-make-instance*
1035 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
1037 * test/test-fdml.lisp: Add tests for type-modified
1038 database identifiers.
1039 * test/test-init.lisp: Stop using add-relation since implementing
1040 many-to-many joins. Use *update-records-on-make-instance*
1041 to automatically store records on instance creation. Add many-to-many
1042 employee-address view-class.
1044 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1046 * base/loop.lisp: Add object iteration. Use :result-type
1047 :auto for result-set. Remove
1048 duplicate (and non-correct) code for non-list variables by
1049 simply making an atom variable into a list.
1050 * sql/package.lisp: Remove unnecessary clsql-sys package
1051 and replace it with clsql.
1052 * sql/metaclasses.lisp: Properly store specified-type from
1053 direct-slot-definition and then store translated type in
1054 effective-slot-definition
1055 * sql/classes.lisp: Don't output type in sql-output
1056 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
1057 [foo :integer] as fields in SELECT.
1058 * sql/query.lisp: Set default for :result-types to :auto in
1060 * sql/objects.lisp: Use specified-type when invocating
1061 database-get-type-specifier. def-view-class macro now returns
1063 * base/basic-sql.lisp: Make :AUTO the default value for
1064 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
1065 * sql/objects.lisp: Add bigint type
1066 * test/tests-basic.lisp: Add tests for :result-types for
1067 MAP-QUERY and DO-QUERY
1068 * test/test-fdml.lisp: Add test for result-types in LOOP
1069 and also using single symbol rather than a list for variables.
1070 Add test that default :result-types is auto for FDML QUERY.
1071 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
1072 of SQL-IDENT-ATTRIBUTE.
1073 * test/test-oodml.lisp: Enable OO loop iteration test,
1074 modify it so it doesn't depend on boolean where.
1076 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1078 * sql/objects.lisp: added derived type specifier for universal time.
1079 * sql/package.lisp: added #:universal-time to clsql-sys exports.
1080 * tests/test-oodml.lisp: added test for translation of boolean slots
1081 in SELECT with object queries.
1083 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1084 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
1085 for odbc/postgresql backend.
1086 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
1087 it can handle NIL values from the ODBC driver
1088 * tests/benchmarks.lisp: New file with initial
1090 * sql/relations.lisp: fix to add subclassing support,
1091 minor optimizations [Edi Weitz]
1093 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1095 * base/conditions.lisp: Add *backend-warning-behavior*
1097 * db-postgresql-socket/postgresql-socket-sql.lisp:
1098 Honor value of *backend-warning-behavior*
1099 * tests/test-fdml.lisp: Remove test of raw boolean value
1100 since different backends handle this differently. Add
1101 test for :column attribute.
1102 * tests/test-oodml.lisp: Add tests for boolean slot value
1103 and for :void-value attribute
1104 * tests/test-init.lisp: Use *backend-warning-behavior*
1105 to suppress warnings from postgresql about implicitly
1106 creating primary key in tables. Add new address table.
1108 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1110 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
1111 result-types is :auto
1112 * sql/objects.lisp: Properly handled writing/reading Boolean
1113 values from SQL database when retrieving objects.
1114 * test/test-fdml.lisp: Add another test for boolean results
1115 * test/utils.lisp: Fix incorrect declaration
1117 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1119 * sql/generics.lisp: add generic function for SELECT.
1120 * sql/objects.lisp: make SELECT a method specialisation.
1121 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
1122 referred to are View Classes.
1123 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
1124 query-expression arg evaluates to a list, then we have an object
1126 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
1128 * TODO: remove items done and add a todo for SELECT.
1129 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
1131 * sql/sql.lisp: add :field-names arg to QUERY.
1132 * tests/test-fdml.lisp: minor rework to use :field-names arg to
1135 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1136 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
1137 or more View Classes.
1138 * sql/objects.lisp: make the :flatp argument to SELECT work with
1140 * sql/objects.lisp: make SELECT accept a :result-types argument
1141 (defaults to :auto) which is passed on to QUERY.
1142 * sql/objects.lisp: SELECT returns field-names as a second value.
1143 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
1144 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
1145 to SELECT and take only first value as appropriate.
1146 * tests/test-fdml.lisp: add two new tests for query result coercion
1147 and the field-names returned as a second value from SELECT.
1148 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
1150 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1151 * Version 2.10.6-pre1
1152 * sql/metaclasses.lisp: Add void-value slot
1153 * doc/csql.xml: Update def-view-class documentation
1154 * test/test-init.lisp: Change old :db-type to :db-kind.
1155 Remove old :nulls-ok attributes.
1156 * sql/objects.lisp: Add new universal-time and bigint
1157 types. Optimize reading of integers using parse-integer
1158 rather than read-from-string.
1159 * */*.lisp: Merge clsql-base-sys and clsql-base packages
1160 into clsql-base package
1161 * classic/sql.lisp: Move large object support into base, leaving
1162 classic without any functionality that is provided in the clsql
1164 * classic/package.lisp: Rename clsql-classic-sys package to
1165 its former nickname of clsql-classic
1167 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1168 * Version 2.10.5: SQLite backend now passes all result-types tests
1169 * clsql-sqlite.asd: Depend on clsql-uffi system
1170 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
1171 for efficiency and code reuse.
1172 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
1173 for better cross-implementation compatibility.
1175 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1177 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
1179 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
1180 bug on SBCL in result-field-names function as reported by Marcus Pearce
1181 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
1182 manifest in SBCL testing
1184 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1186 * sql/database.lisp: Conform more to CommonSQL output
1187 for STATUS command [Marcus Pearce]
1188 * sql/sqlite-sql.lisp: Rework to use result-types
1189 * sql/sqlite-api-clisp.lisp: Add compatibility layer
1190 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
1191 be cleaned up of most clisp reader conditionals
1192 * sql/test-init.lisp: Now run field type tests on sqlite
1195 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1197 * base/basic-sql.lisp: Set default value of :result-types
1198 to :auto for more CommonSQL conformance.
1199 * test/test-fdml.lisp: Add tests for numeric value of fields
1202 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1203 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
1204 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
1205 Return field names as second value for QUERY. This can be overridden
1206 for efficiency with the new keyword :FIELD-NAMES set to NIL
1207 in the QUERY invocation.
1208 * test/test-fdml.lisp: Add tests for new field-name feature
1209 * sql/metaclass.lisp: Remove old Lispworks cruft
1210 and replace it with invocation of new code in kmr-mop.lisp
1211 which actually works with Lispworks 4.2
1212 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
1214 * base/db-interface.lisp: Document the multiple values
1215 returned by DATABASE-ATTRIBUTE-TYPE so matches the
1216 undocumented CommonSQL behavior.
1217 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
1218 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
1219 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
1220 Implement CACHE-TABLE-QUERIES.
1221 * db-odbc/odbc-sql.lisp: Fix attribute-type function
1222 * test/test-fddl.lisp: Add tests for attribute type
1223 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
1225 * base/classes.lisp: Add attribute-cache slot to database clas
1226 * base/initialize.lisp: initialize-database-type now automatically
1227 loads database-type backend as needed.
1228 * base/test-init.lisp: Utilize new initialize-database-type functionality.
1229 * TODO: remove items done
1231 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1233 * sql/objects.lisp: remove create/drop-sequence-from-class.
1234 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
1235 * sql/objects.lisp: improved CommonSQL compatibility for
1236 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
1237 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
1238 * sql/generics.lisp: move generics from objects.lisp to here.
1240 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1241 * Version 2.9.6-pre1
1242 * db-mysql/mysql-client-info.lisp: Add client version 4.1
1244 * sql/sql.lisp: Make *default-database* the default for
1247 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1249 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
1251 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
1252 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
1253 on a metaclass specialized from standard-db-class.
1256 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1257 * Version 2.9.4: Multiple changes to support Allegro's "modern"
1258 lisp which uses a lowercase reader and has case-sensitive symbols
1259 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
1260 exposed by case-sensitive mlisp.
1262 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1263 * Version 2.9.3: All tests now pass on all platforms!
1264 * LATEST-TEST-RESULTS: New file with summary of test results
1265 * sql/generics.lisp: New file for generic function definitions.
1266 * test/test-init.lisp: Display names of skipped tests.
1267 Use unwind-protect to ensure disconnect
1268 * sql/objects.lisp: Change database-type to database-underlying-type
1269 so that actual database engine is properly identified
1270 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
1271 return an ISO timestring for compatibility with other drivers.
1272 Workaround bug in MyODBC for LIST-TABLE-INDEXES
1273 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1274 returns floating-point values for floor and truncate operations
1275 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1276 * tests/test-basic.lisp: Port to regression tester
1277 * test/test-init.lisp: Output to *report-stream*
1278 * docs/appendix.xml: Document ODBC and SQLite backends.
1279 * sql/classes.lisp: Make output-sql require a database parameter.
1280 This allows SQL generation to have the proper case to support
1281 the differences in case handling between CommonSQL API,
1282 Postgresql, MySQL, Oracle.
1284 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1285 * Version 2.9.2: Improvments in database capability introspection
1286 and querying. Support transactions in MySQL where available.
1287 All tests now pass on MySQL and SQLite in addition to postgresql
1288 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1289 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1290 DATABASE-LIST-SEQUENCES.
1291 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1292 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1293 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1294 * tests/*.lisp: Check database capabilities and remove tests which
1295 the database backend does not support
1296 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1297 controls whether InnoDB tables will be created when supported on
1298 the underlying MySQL server.
1300 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1301 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1302 supported by all database backends (except AODBC since
1303 AODBC doesn't support index querying)
1304 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1305 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1306 to support index queries
1307 * db-aodbc/aodbc-sql.lisp: Filter driver manager
1308 "information_schema" tables from LIST-TABLES
1309 * tests/test-basic.lisp: Remove table after testing
1310 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1311 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1312 which gets the underlying type of database -- required
1313 when dealing with ODBC databases and want to query
1314 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1315 as first database-backend specific feature. Is T on
1316 :mysql, NIL on other backends. Change DROP-TABLE to
1319 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1320 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1322 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1324 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
1325 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
1327 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1328 * Version 2.8.0: New API function: LIST-DATABASES
1329 * base/utils.lisp: Fix command-output on CMUCL/SBCL
1330 * db-*/*-sql.lisp: Add new database-list function
1331 * base/database.lisp: Add new LIST-DATABASES command
1333 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1335 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1336 * db-sqlite/sqlite-api-uffi.lisp: Print error string
1339 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1341 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1344 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1346 * base/objects.lisp, base/classes.lisp: Patch
1347 for db-kind from Eduardo Munoz
1349 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1351 * base/basic-sql.lisp: Fix FLATP in QUERY
1353 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1354 * Version 2.7.3: Implement RECONNECT
1356 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1357 * Version 2.7.2: Fix ODBC on Lispworks Windows
1359 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1360 * Version 2.7.1: Fix for new ODBC backend.
1361 clsql-odbc now works on SBCL, CMUCL, OpenMCL
1362 in addition to AllegroCL and Lispworks.
1364 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1365 * Version 2.7.0: New backend: ODBC. Tests as
1366 well as AODBC backend on Allegro,Lispworks.
1367 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
1368 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1369 to explicitly set ODBC2 support. Add BIGINT support.
1370 Add result-types support. Added SQLTables.
1371 Fix array type in fetch-all-rows. Make width
1372 changable by database or query.
1373 * base/utils.lisp: Add process functions
1374 * base/package.lisp: Export utils to CLSQL-BASE-SYS
1375 * db-aodbc: Implement sequence functions,
1376 database-list-tables, database-list-attributes
1377 * tests/utils.lisp: Add support for ODBC backend,
1378 rework READ-SPECS to use +all-db-types+
1379 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
1382 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1383 * Version 2.6.13. Requires UFFI version 1.4.9
1384 * db-odbc/*.lisp: Further porting.
1385 Pre-alpha code! But, basic query is now working.
1387 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1389 * base/transactions.lisp: Add quote for macro
1390 expansion of WITH-TRANSACTIONS [Time Howe]
1391 * db-sqlite/sqlite-sql.lisp: Support memory database
1392 in database-probe [Ng Pheng Siong]
1393 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
1394 The DBI layer is not finished.
1396 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1398 * sql/objects.lisp: add :root-class functionality for
1399 list-classes and add duration type support [Marcus Pearce]
1400 * db-odbc: Add mid-level [DBI] layer
1402 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1404 * db-aodbc: Add methods for generic functions, some are
1405 not yet implemented.
1406 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
1409 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1411 * base/package.lisp: Add missing symbols [Marcus Pearce]
1413 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1415 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
1416 * utils/time.lisp: Multiple fixes [Marcus Pearce]
1417 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
1419 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1421 * sql/*.lisp: Remove schema versioning cruft
1423 * Makefile: Add classic subdirectory
1425 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1427 * sql/sql.lisp: Fix TRUNCATE command, bug reported
1429 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
1430 specific and easy for an application to directly support.
1431 Idea from Marcus Pearce.
1432 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
1433 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
1434 Keep low-level interface for future optimization
1435 supporting LIST-ATTRIBUTE-TYPES command.
1436 * Makefile: Add to db-sqlite and test directories.
1437 Include them in top-level Makefile
1439 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1441 * sql/relations.lisp: Add missing file
1442 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
1443 * test/test-time.lips: New file [Marcus Pearce]
1445 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1447 * test/test-init.lisp: Properly handle object
1448 creation. Close database after use.
1449 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
1450 function so can have methods specialized on
1451 table being a string or an sql-table object.
1452 * base/pool.lisp: Really fix CMUCL locking
1454 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1456 * test/test-init.lisp: Signal correctly
1457 if any errors occurred in any test suite
1458 * base/loop-extensions.lisp: Fix error
1459 introduced for Lispworks
1460 * base/pool.lisp: Fix locking for CMUCL
1461 * base/objects.lisp: Remove schema-version cruft
1463 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1464 * Version 2.6.2: New CLSQL API functions:
1465 DESCRIBE-TABLE AND TRUNCATE-DATABASE
1466 Currently, this are only supported on :postgresql
1467 and :postgresql-socket
1468 * base/database.lisp: automatically load ASDF system
1469 in CONNECT if not already loaded
1470 * base/tests.lisp: disconnect database after testing
1471 * base/*.lisp: Remove CLOSED-DATABASE type in favor
1472 of storing open/closed status in slot of database
1473 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
1474 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
1475 DATABASE-DESCRIBE-TABLE
1476 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
1477 * base/conditions: Remove duplicate condition
1478 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
1479 * base/recording.lisp: Add new :QUERY type for recording
1481 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1482 * Version 2.6.1: documentation fixes, merged
1483 classic-tests into tests
1485 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1486 * Version 2.6.0 released: New API functions
1487 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
1488 * doc/ref_clsql.xml: Document new functions
1489 * base/database.lisp: New API functions
1490 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
1491 * base/utils.lisp: Fix use of position-char.
1492 Add COMMAND-OUTPUT used by backends for running
1493 external programs. Fix parsing of SQL*NET-compatible
1495 * base/loop-extension.lisp: Simplify package use
1496 for Lispworks and Allegro
1497 * db-*/*-sql.lisp: Added DATABASE-CREATE,
1498 DATABASE-DESTORY, PROBE-DATABASE methods
1499 * tests/test-init.lisp, clasic-tests/tests.lisp:
1500 Use destroy-database and create-database to ensure
1501 testing with empty database
1502 * tests/test-connection.lisp: Add tests for
1503 parsing of string connection-specs
1504 * examples/run-tests.sh: New file for running
1505 test suite on all installed CL implementations
1506 * examples/clsql-tutorial.lisp: moved from
1508 * examples/dot.clsql-tests.config: New file
1509 giving an example test configuration
1510 * test/README: Add notes about rtest/ptester
1511 downloads and link to sample test configuration file.
1513 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1514 * Version 2.5.1 released:
1515 * tests/*.lisp: Rework so tests are run
1516 on multiple backends automatically based
1517 on the contents of ~/.clsql-tests.config.
1518 Reuse helper functions from classic-tests.
1519 * base/database.lisp: Support connection-spec
1520 as string for CONNECT
1521 * classic-tests/tests.lisp: Automatically
1522 load database backends as needed.
1524 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1525 * Version 2.5.0 released:
1526 All tests for CLSQL and CLSQL-CLASSIC pass
1528 * base/loop-extension.lisp: Add Lispworks
1529 loop-extension. Improve type specifying on
1532 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1533 * Version 2.4.2 released:
1534 loop extension now supported on Allegro, all
1535 CLSQL-TESTS pass on Allegro.
1536 * sql/metaclasses.lisp: Some optimization
1537 of compute-slots, be selective when
1538 ordered-class-slots needs to be called
1539 instead of class-slots
1540 * TODO: add URL with documentation on
1541 extending Lispworks LOOP form
1543 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1544 * Version 2.4.1 released: CLSQL-TESt suite passes
1545 all tests for postgresql and CMUCL, SBCL, OpenMCL.
1546 Allegro and Lispworks pass all tests except for
1547 FDML/LOOP/1 since the loop extension have not yet
1548 been ported to those implementions.
1549 * sql/metaclasses.lisp: Added new slot to standard-db-class
1550 to hold user-specified type. OpenMCL adjustments to compensate
1551 for its type-predicate function. Since AllegroCL, Lispworks,
1552 and OpenMCL have different slot orders, added compute-slots
1553 and ordered-class-slots functions so their slot order matches
1556 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1557 * Version 2.4.0 released: All tests for clsql-classic now finish
1558 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
1559 mysql, postgresql, postgresql-sockets, and sqlite backends.
1560 * db-mysql/mysql-sql.lisp: Fix array dereferencing
1561 * classic-tests/tests.lisp: Fix package name of
1562 number-to-sql-string.
1563 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
1564 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
1565 now passes tests on all support UFFI platforms.
1566 * db-postgresql-socket/postgresql-socket-api.list: Ported to
1568 * multiple: Finish renaming of :types keyword to :result-types for
1569 greater CommonSQL compatibility, including documentation
1570 * sql/basic-cmds.lisp: Remove obsolete file
1572 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1573 * Version 2.3.3 released
1574 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
1575 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
1576 * Fix for schema table [Marcus Pearce]
1577 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
1578 * Fixes to test suite [Marcus Pearce]
1580 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1581 * db-*/*-sql.lisp: Ensure that expr in
1582 database-query-result-set is a string
1583 * Documentation integration
1585 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1586 * With for Marcus Pearce's excellent work, I've merged
1587 his clsql-usql port into clsql. The original clsql
1588 interface is available in the clsql-classic package.
1590 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1591 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
1592 adding further support for providing backend for UncommonSQL
1594 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
1595 * Integrate patch from Aurelio Bignoli for SQLite backend
1597 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
1598 * Converted documentation to XML format
1599 * Made package installable with asdf-install
1601 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
1602 * Add for-each-row macro
1604 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
1605 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
1607 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
1608 * Add support for SBCL, OpenMCL, and SCL
1609 * Add *load-truename* to search path for clsql's
1612 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
1613 * Rework use of file types in .asd files
1615 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
1616 * Add .asd definition files for ASDF users
1618 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1619 * Restructure directories for Common Lisp Controller v3 compatibility
1621 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1622 * Also change case of logical host in loader files
1623 * Rework handling of logical pathnames
1625 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1626 * Change case of logical host
1628 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
1629 * clsql-base.system: Added base package that can be used without
1630 high-level SQL commands. Used for adding support for UncommonSQL.
1631 * *.system: Reworked logical pathnames to be more consistent with
1632 Common Lisp Controller.
1633 * debian/*: Completed initial Debian support
1635 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1637 * sql/transactions.cl:
1638 Added transaction support. Functions/macros added:
1639 with-transaction, commit-transaction, rollback-transaction,
1640 add-transaction-commit-hook, add-transaction-rollback-hook
1642 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1645 * sql/functional.cl:
1646 Added pool support in connect/disconnect and with-database.
1647 Removed with-db-from-pool as with-database can now works with the connections pool
1649 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1654 Completed connection pool.
1655 Added with-db-from-pool macro.
1657 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1659 Added initial support for connection pool
1660 * sql/transactions.cl
1661 Took transaction code from UncommonSQL and integrated
1662 into CLSQL code. See file for disclaimer about why this
1665 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1666 * interfaces/postgresql/postgresql-sql.cl:
1667 Fix keyword typo in database-read-large-object
1668 * interfaces/mysql/mysql-loader.cl
1669 Fix loading on Win32
1670 * test-suite/tester-clsql.cl
1671 Fix type coercion of double-float
1673 Added debian docbook catalog, made it the default
1675 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1676 * interface/postgresql/postgresql-api.cl:
1677 * interface/postgresql/postgresql-sql.cl:
1679 * sql/db-interface.cl:
1680 Added large objects support for postgresql.
1682 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1683 * src/postgresql-socket/postgresql-socket-api.cl:
1684 Fixed find-foreign-function call, eliminated crypt warning
1686 Multiple improvements
1688 Moved functionality from low-level interfaces to this file
1689 via generic functions
1690 * test-suite/tester.cl:
1691 Added test with acl-compat-tester, moved others to old-tests
1694 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1696 Reinstated commented out sections
1697 * interfaces/postgresql/postgresql-loader.cl:
1698 * interfaces/mysql/mysql-loader.cl:
1699 Updated find-forieign-library support.
1700 * interfaces/postgresql-socket/postgresql-socket-package.cl:
1701 Fixed require form for Lispworks (Thanks Marc Battyani!)
1702 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1703 Fixed eval of def-function for crypt library.
1705 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1706 * Added interface to support USQL high-level rouines
1708 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1709 * Separated db-interface and conditions from sql/sql.cl
1710 * Improved foreign library loading testing
1711 * interfaces/postgresql/postgresql-api.cl
1712 Added PQisBusy function
1713 * interfaces/clsql-uffi/clsql-uffi.cl
1714 Fixed sign error for 64-bit processing
1716 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1717 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1718 Fixes to read-double-from-socket. Added 64-bit integer support.
1719 * test-suite/xptest-clsql.cl
1720 Added testint for 64-bit integers
1721 * Additons to installation docs
1723 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1724 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1725 Implemented direct socket reading for field type :double
1726 * Added usage information for :types to documentation
1727 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
1729 * interfaces/clsql-uffi: Created new directory. Split common
1730 interface routines that use UFFI into this package. Required
1731 especially to support direct reading of 64-bit integers into
1732 bignums and bypassing temporary strings.
1733 * test-clsql.cl: Updated to test postgresql-socket's
1734 read-double-from-socket function.
1735 * test-suite/xptest-clsql.cl
1736 Started work on test suite
1738 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1739 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
1740 mysql-fetch-field-direct Got :auto types working
1741 * interfaces/postgresql/postgresql-api.cl
1742 * interfaces/postgresql-socket/postgresql-socket-api.cl
1743 Added pgsql-field-types enum. Got :auto types working.
1745 Renamed :field-types to :types.
1747 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1748 * Added field-types parameter to query, database-query,
1749 database-query-result-set, map-query. Haven't added code
1750 to utilize field types, yet.
1751 * Changed postgresql-socket result set from cons to a structure
1752 * Updated test-clsql.cl to use automated testing with a config
1754 * Changed return types of field accessors from cstring to
1755 (* :unsigned-char). This prepares for being able to use specified
1756 type conversions when taking field data into lisp.
1757 * Added field-type processing for most interfaces. Not done yet.
1759 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1760 * doc/ref.sgml: Updated MAP-QUERY example to use
1761 *read-default-float-format* (John Foderaro)
1762 * Extensive work to foreign library loaders and .system files to
1763 check for successful loading of foreign libraries.
1764 * Modified test-clsql.cl to allow more modularity and
1765 automated testing in future release.
1766 * mysql/mysql-sql.lisp: Added field types
1768 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
1769 * mysql/mysql-sql.lisp:
1770 - Added support for Allegro CL and Lispworks using UFFI layer
1771 - Changed database-connect to use mysql-real-connect. This way,
1772 can avoid using double (unwind-protect)
1773 - Changed database-connect to have MySQL library allocate space
1774 for MYSQL structure. This will make the code more robust in
1775 the event that MySQL library changes the size of the mysql-mysql