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