1 14 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
3 * sql/generic-postgresql.lisp: Fix assumption that postgres user id
6 12 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
8 * sql/generic-postgresql.lisp: Add slot for has-table-pg_roles to
9 lazily cache if pg_roles tables exist. Selectively use SQL from
10 Joel's previous patch if pg_roles table exists. Should now work
11 with both postgresql 7.4 and 8.x.
13 12 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
15 * clsql.asd: Add support for c:\etc\clsql-init.lisp as possible
16 local initialization file
17 * db-mysql/mysql-loader.lisp: Remove former method of using pathnames
19 * db-odbc/odbc-api.lisp: Work-around Allegro/Windows FFI bug
20 that generates incorrect integer return type
21 * sql/generic-postgresql.lisp: Revert patch from Joel Reymont since
22 it fails on versions of postgresql that lack the pg_role table
24 07 Jul 2006 Kevin Rosenberg <kevin@rosenberg.net>
26 * sql/transactions.lisp: Important typo fix from Alexey Antipov
27 for database-start-transaction
29 04 Jul 2006 Kevin Rosenberg <kevin@rosenberg.net>
31 * db-postgresql/postgresql-sql.lisp: Apply patch from Vladimir Sekissov
32 to close connection when failing to connect to database.
33 * sql/generic-postgresql.lisp: Apply patch from Joel Reymont
34 to avoid dropping system views.
35 * sql/oodml.lisp: Apply patch from Joel Reymont to avoid listify
36 a nil value [patch sponsored by Flektor]
37 * clsql-uffi.asd, uffi/make.sh: Patch from Richard Kreuter
38 for netbsd compilation
40 15 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
41 * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
42 slots for def-view-class macro [as reported missing by Thomas Fischbacher].
44 09 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
45 * db-postgresql-socket/postgresql-socket-api.lisp:
46 Apply patch from Marko Kocic adding the socket creation
47 function needed for CLISP.
49 08 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
50 * Version: 3.6.0 (requires UFFI v1.5.11 or greater)
51 * db-oracle/metaclasses.lisp: Patch from James Bielman for
52 checking slot constraints.
53 * db-oracle/oracle-{api,sql}.lisp: Avoid dead pointers on loading
54 saved openmcl images (based on patch from James Bielman)
56 06 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
57 * doc/ref-fdml.xml: Documentation patch from Marcus Pearce for limit keyword
59 03 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
61 * sql/time.lisp: Apply patch from Aleksandar Bakic to extended
62 duration parsing and unparsing to include year and month.
63 * clsql-uffi.asd, uffi/clsql-uffi-loader.lisp: Apply patch from Nathan Bird
64 improving library search on Windows platform.
65 * doc/ref-fdml.xml, /doc/TODO, tests/test-fdml.lisp, tests/test-init.lisp:
66 Apply patch from Marcus Pearce documenting and testing :limit and :offset for SELECT
68 20 Mar 2006 Kevin Rosenberg <kevin@rosenberg.net>
70 * clsql-postgresql-socket.asd,
71 * db-postgresql-socket/postgresql-socket-package.lisp:
72 Use the cl-md5 package on all platforms. Based on report
75 09 Mar 2006 Kevin Rosenberg <kevin@rosenberg.net>
77 * uffi/make.sh, db-mysql/make.sh: Add GNU uname
79 28 Feb 2006 Kevin Rosenberg <kevin@rosenberg.net>
81 * sql/metaclasses.lisp: Apply patch from Friedrich Dominicus to
82 fix accessor for new versions of SBCL
83 * db-oracle/oracle-sql.lisp: Apply patch from James Bielman
84 to improving parsing of time.
85 * db-db2/db2-constants.lisp: Change NULL_HANDLE has suggested
87 * db-oracle/oracle-dbi.lisp: Add support for SQL BIT type
88 as noted by Russ Tyndall.
90 16 Jan 2006 Kevin Rosenberg <kevin@rosenberg.net>
92 * sql/time.lisp: Commit patch from Aleksandar Bakic
93 to properly handle destructive flag
94 * db-postgresql-socket/postgresql-socket-api.lisp: Apply patch
95 from Steven Harris for socket files with SBCL.
96 * sql/pool.lisp: Apply patch from Vladimir Sekissov so that
97 new connections added to the pool do not become the *default-database*
98 * sql/connect.lisp: Optionally set *default-database* for pooled
99 connection when make-default is generalized true.
101 23 Dec 2005 Kevin Rosenberg <kevin@rosenberg.net>
103 * sql/expressions.lisp: Ensure table names are properly escaped
104 before comparing -- fixes bug reported by Asbjørn Bjørnstad
107 02 Dec 2005 Kevin Rosenberg <kevin@rosenberg.net>
108 * sql/generic-postgresql.lisp: improved decoding of table attribute
109 parameters [from Vladimir Sekissov]
110 * sql/metaclasses.lisp: check that metaclass is standard-db-class or
111 it's subclass to prevent adding standard-db-object to supers if
112 somebody in the path has it already when metaclass inherited from
113 standard-db-class. [from Vladimir Sekissov]
115 26 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
117 * tests/test-init.lisp, tests/test-fddl.lisp, tests/test-fdml.lisp,
118 * db-odbc/odbc-api.lisp, db-odbc/odbc-ff-interface.lisp,
119 * db-odbc/odbc-package.lisp, db-odbc/odbc-constants.lisp
120 * db-odbc/odbc-dbi.lisp, db-odbc/odbc-sql.lisp
121 * sql/fddl.lisp, sql/generic-odbc.lisp, sql/db-interface.lisp
122 * sql/transaction.lisp, sql/package.lisp, sql/time.lisp
123 Commit patch from Dominic Robinson providing support for
125 * doc/csql.lisp: Fix typo in slot name
127 24 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
129 * sql/time.lisp: Commit patch from Aleksandar Bakic for
130 correct handling of decode-time usec value
131 * clsql-mysql.asd: Commit patch from Harald Hanche-Olsen to
132 correct the name of the shared library file.
134 16 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
136 * sql/metaclasses.lisp: Avoid calling change-class on
137 effective-slot-definitions on sbcl to conform to sbcl 0.9.6.38
140 15 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
142 * sql/expressions.lisp: Patch from James Biel to add subselects
144 14 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
145 * Version 3.4.4 [ Requires UFFI 1.5.7+]
146 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
147 to fix lifetime of foreign strings for Oracle calls
149 13 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
151 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
152 to improve performance
154 12 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
156 * clsql-uffi.asd: Patch from James Biel improving loading
157 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
158 to support 64-bit lisps
160 12 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
162 * sql/expressions.lisp: Escape numbers to SQL strings
165 11 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
166 * Version 3.4: Add MySQL 5 support
167 * db-mysql/mysql-client-info.lisp: Recognize MySQL 5
168 * db-mysql/mysql-sql.lisp: Add support for views in MySQL 5
169 * doc/mysql-macosx-notes.txt: New document from Martin Brooks
171 7 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
172 * src/time.lisp: Apply patch from Aleksandar Bakic for ROLL
174 * BUGS: Added report for update-object-joins by Aleksandar Bakic
176 4 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
177 * Version 3.3.4 [UFFI >= 1.5.5 needed]
178 * db-odbc/odbc-api.lisp: Apply patch from Yaroslav Kavenchuk
179 to add missing #\' character.
180 * clsql.asd: Add support for CLSQLINIT environmental variable,
181 based on patch from Yaroslav Kavenchcuk. New version of UFFI
184 30 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
186 * sql/oodml.lisp: Apply patch from Drew Crampsie to fix
187 update-objects-joins when using the :target-slot attribute
189 26 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
191 * sql/expressions.lisp: Avoid parenthesis on multiple group-by fields
192 as noted by Harald Hanche-Olsen.
193 * tests/test-syntax.lisp: Add test for multiple field group-by
195 25 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
197 * sql/time.lisp: Commit patch from Alan Shields to
198 display escape string on wall-time display only when *print-escape*
201 11 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
202 * sql/metaclasses.lisp: Commit patch from Will to
203 properly set db-reader slot in effective-slot-definition
204 * sql/expressions.lisp: Commit patch from Alan Shields
205 adding make-load-form for sql-relational-exp
206 * sql/generic-postgresql.lisp: Commit patch from Aleksandar Bakic
207 adding support for new NUMBER type
209 17 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
211 * sql/time.lisp: Apply patch from Alan Shields adding DATE type.
212 * doc/ref-ooddl.xml: Documentation of new type
213 * notes/add-type-hints.txt: New file from Alan Shields
214 * sql/fddl.lisp: Add owner keyword to drop-table as suggested
216 * db-postgresql-socket/postgresql-socket-sql.lisp: Fix database-probe
217 as noted by Francis Leboutte. Similar fix applied to db-mysql and
219 * sql/expressions.lisp: Allow string table names for output as
220 contributed by Francis Leboutte.
221 * examples/clsql-tutorial.lisp: Support :postgresql-socket as noted
224 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
226 * doc/into.xml: Change download from ftp to http protocol
228 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
230 * db-oracle/oracle-sql.lisp: Correction for v3.2.2 changes by
233 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
235 * db-oracle/oracle-sql.lisp: Add check for zero increment as
236 suggested by Edi Weitz. Add missing database-sequence-last function
237 as noted and tested by Edi Weitz. Ensure that UFFI buffer is freed
238 in handle-oci-error. Add unwind-protect to sql-stmt-exec. Free UFFI
239 stmthp object when query cursor is freed with OCI.
241 22 Aug 2005 Kevin Rosenberg <kevin@rosenberg.net>
242 * uffi/clsql-uffi-loader.lisp: Commit patch from astor@pvv.ntnu.no to
243 display search path when error occurs loading foreign library.
245 05 Jul 2005 Kevin Rosenberg <kevin@rosenberg.net>
247 * doc/appendix.xml: Incorporate Edi Weitz's notes into documentation
248 with changes to support case-sensitive lisp implementations. Add
249 paragraph on using /etc/clsql-init.lisp site initialization file.
250 * clsql.asd: Load file /etc/clsql-init.lisp, if it
251 exists, after package is loaded to set site-specific configuration
253 2005-06-24 Edi Weitz <edi@agharta.de>
254 * sql/db-interface.lisp: Added new special variable
255 *FOREIGN-LIBRARY-SEARCH-PATHS* and function PUSH-LIBRARY-PATH to
257 * sql/package.lisp: Export these.
258 * uffi/clsql-uffi-loader.lisp: Used new variable; changed order of
260 * db-mysql/mysql-loader.lisp: Changed order of libs.
262 09 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
263 * Version 3.2.0: REQUIRES UFFI VERSION 1.4.38 OR HIGHER
264 * clsql-mysql.asd: Renamed clsql/mysql interface library from
266 * clsql-uffi.asd: Renamed clsql/uffi interface library from
268 * uffi/clsql_uffi.c: Renamed from uffi.c
269 * db-mysql/clsql_mysql.c: Renamed from mysql.c
270 * db-mysql/Makefile, db-mysql/Makefile.msvc, db-mysql/mysql-loader.lisp: Rename shared library
271 * uffi/Makefile, uffi/Makefile.msvc, uffi/uffi-loader.lisp: Rename shared library
272 * db-*/*-loader.lisp: Commit big patch from Edi Weitz to remove
273 absolute pathnames when searching for foreign libraries.
274 foreign library loading.
276 07 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
278 * db-mysql/mysql-api.lisp: Commit patch from Espen Wiborn
279 to support UTF-8 on sbcl unicode.
281 18 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
283 * sql/time.lisp: Fix bug in roll that caused failure in test suite
285 17 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
287 * sql/oodml.lisp: Properly handle when db-writer is NIL
289 11 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
290 * sql/expressions.lisp: Avoid using simple-string declaration when
291 a non-simple string may be encountered. [issue noted by
292 will@cesmail.net] Add a simple-string declaration for a local
295 06 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
296 * sql/oodml.lisp: Change db-writer and db-reader processing to accept
297 a symbol as well as function to serve as a function designator
298 [issue noted by will@cesmail.net]
300 05 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
302 * sql/time.lisp: Fix error in submitted patch which caused error
303 in timestrings with 19 or less characters.
305 27 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
307 * db-postgresql-socket/postgresql-api.lisp: Commit patch from Tim Howe
308 to fix read-socket-sequence on non-sb-unicode sbcl.
310 26 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
312 * sql/time.lisp: Commit patch from Daniel Lowe which adds support
313 for fractional seconds which is required by PostgreSQL
314 * db-postgresql/postgresql-loader.lisp: Add library path for Windows
316 25 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
317 * sql/csql.lisp: Update URL for "SQL for Web Dummies" [Sean Champ]
319 24 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
321 * sql/syntax: Commit patch from Alan Shields to supress reader
322 macros when *read-supress* is T.
324 13 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
326 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
327 from Janis Dzerins to support unicode on SBCL
328 * sql/syntax: Commit patch from Alan Shields to improve reporting
329 of invalid syntax statements.
331 06 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
333 * db-mysql/mysql-sql.lisp: Add port to connection specification
334 based on patch from Dave Watson
335 * doc/appendix.xml: Document MySQL port parameter to connection spec
337 03 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
339 * sql/time.lisp: Patch from Keith James for parsing ISO-8601 timestamps
341 18 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
342 * sql/oodml.lisp: Add missing database argument [Patch from
345 03 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
346 * sql/oodml.lisp: Improve database priority in
347 update-records-from-instance [Patch from Walter C. Pelissero]
349 17 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
351 * sql/package.lisp: Export database-reconnect from clsql-sys
353 08 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
354 * sql/oodml.lisp: Use explicit database in fault-join-target-slot
355 [Patch from Walter Pelissero]
357 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
358 * db-postgresql/postgresql-loader.lisp: Add additional
359 directories to Fink on darwin [patch from Cyrus Harmon].
361 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
363 * sql/oodml.lisp: Clear view instance cache when delete-instance-records
364 is invoked [suggested by Alan Shutko].
365 * uffi/clsql-uffi-loader.lisp: Improvements for loading with SBCL X86-64
366 * sql/metaclasses.lisp: Don't change case of a :base-table string supplied
367 to def-view-class [fix suggested by Fred Gilham].
369 25 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
370 * tests/*.lisp: Change Vladamir to Vladimir per Cyrus Harmon's
372 * sql/utils.lisp: Fix unnecessary consing noted by Fred Gilham.
373 * doc/*.xml: Fix spelling of Vladimir
375 24 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
376 * doc/bookinfo.xml, doc/csql.xml, doc/intro.xml: Update links
377 now that LispWorks is an independant company [noted by
380 22 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
381 * db-sqlite/sqlite-sql.lisp, db-sqlite3/sqlite3-sql.lisp:
382 Better support for 64 bit environments
384 05 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
386 * sql/metaclass.lisp: Make t the default value of :set
387 [noted by Cyrus Harmon]
389 28 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
391 * uffi/clsql-uffi.lisp: Add support for unsigned integers
392 * db-mysql/mysql-sql.lisp: Add support for detecting/marking
393 unsigned integers. Apply patch from Yannick Gingras to
394 implement database-sequence-last.
396 26 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
397 * doc/ref-fdml.lisp: Fix variable tag name to varname
398 [noted by Eduardo Munoz]
399 * db-mysql/mysql-loader.lisp: Handle library paths for 64-bit systems
401 06 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
403 * sql/ooddl.lisp: Accept patch from Klaus Harbo for
405 * sql/metaclass.lisp: Remove unnecssary (and runtime error
406 causing) change-class invocation when running on CLISP.
407 * db-mysql/mysql-api.lisp: Commit patch from Paul Werkowski
408 to fix structure name.
409 * sql/database.lisp: More specific error message with trying
410 to use a database value of NIL.
411 * sql/expressions.lisp: Accept a string for the table name
412 in (sql-output sql-delete database) [suggested by Ed Symanzik].
414 11 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
416 * sql/generic-postgresql.lisp: Commit patch from Chris Capel to
417 ignore columns which have been dropped.
418 * clsql-postgresql-socket.asd, db-postgresql-socket/postgresql-socket-package.lisp:
419 Use sb-md5 package on SBCL, recommended by Chris Capel
421 09 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
422 * Version 3.1.0 released: New SQLite3 backend by Aurelio Bignoli
423 * doc/appendix.xml: Document SQLITE3 backend, patch by Aurelio Bignoli
424 * sql/operations.lisp: Add lower and upper SQL functions [Daniel Lowe].
426 08 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
427 * sql/expressions.lisp: Fix slot name [thanks to Daniel Lowe]
429 31 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
430 * clsql-sqlite3, db-sqlite3/*: NEW BACKEND
431 contributed by Aurelio Bignoli
433 23 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
434 * sql/oodml.lisp: Commit patch from Walter Pelis
435 to use an object's database for a select on its slot.
437 20 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
438 * uffi/uffi.c, uffi/clsql-uffi.lisp: Commit patch from
439 Aurelio Bignoli to fix negative 64-bit integers
441 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
442 * db-mysql/mysql.c: Fix parameters in bind_param call
444 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
445 * uffi/clsql-uffi.lisp: Add support for :blob result-type
446 * db-mysql/mysql-sql.lisp: Add support for :blob
449 04 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
450 * db-mysql/mysql-sql.lisp, db-db2/db2-sql.lisp: Add
451 missing quotes for types in code that is still in development
452 (thanks to Joerg Hoehle)
454 03 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
455 * Version 3.0.8 released
456 * db-sqlite/sqlite-*.lisp: Apply patch from
457 Aurelio Bignoli with improvements
459 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
460 * multiple: Apply patch from Joerg Hoehle with multiple
463 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
464 * Version 3.0.7 released
465 * sql/oodml.lisp, sql/package.lisp, db-mysql/mysql-objects.lisp:
466 Add support for mediumint.
467 * sql/metaclass.lisp: Rework CLISP MOP handling
468 * sql/ooddl.lisp: Work-around to have CLISP finalize standard-db-class
470 28 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
471 * sql/metaclass.lisp: Support CLISP's attribute name
472 for the type field in direct class slots
474 27 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
475 * Version 3.0.6 released
476 * BUGS: New file. Document suspected SIGPIPE
477 interaction between SBCL and libpq used in
479 * doc/ref-fdml.lisp: Document the :caching and :refresh
480 keywords of the SELECT function.
481 * doc/ref-ooddml.lisp: Document the new *default-caching*
483 * sql/package.lisp: Export *default-caching*
484 * sql/oodml.lisp: Use *default-caching* to
485 control default caching behavior.
487 21 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
488 * Version 3.0.5 release
489 * doc/appendix.xml: Add note about loading Oracle8 version
490 * db-oracle/oracle-loader.lisp: Support Oracle8 based on
491 data from David Young.
493 10 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
494 * doc/Makefile, doc/catalog-darwin.xml: Apply
495 patch from Cyrus Harmon for building docs on Mac OS X
496 * sql/package.lisp: Add new (pre-release) clisp MOP package
498 09 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
499 * Version 3.0.4 Release
500 * multiple: Remove superfluous quotes in UFFI def-type
501 and def-foreign-type forms.
503 07 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
504 * Version 3.0.3 Release
505 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
506 from Tagore Smith to call force-output after sending authentication
507 * db-odbc/odbc-api.lisp: Move ODBC v3 conversons
508 * db-odbc/odbc-sql.lisp: Load mysql or postgresql package when connecting
509 to a database of that type so that functions that indicate capabilities of
510 database are available.
512 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
513 * db-odbc/odbc-api.lisp: More conversions to ODBC v3
515 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
516 * Version 3.0.2 Release
517 * TODO: Add note about ODBC on Windows
518 * db-odbc/odbc-loader.lisp: Add /winnt/system32/ to
520 * db-odbc/odbc-ff-interface.lisp: Change the return type
521 of SQLSetEnvAttr to :short
523 02 Sep 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
524 * examples/clsql-tutorial.lisp: added missing initarg for the COMPANYID
525 slot of the employee View Class definition [reported by Franz Deuzer].
527 01 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
528 * Version 3.0.1 Release
529 * tests/test-init.lisp: Add second join class to employee-address
530 to test a class with two join slots.
531 * sql/oodml.lisp: Fix find-all function for a class with multiple
533 * TODO: Remove need to test/fix multiple join classes
535 27 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
536 * db-mysql/Makefile, db-mysql/mysql-loader.lisp: accept patch
537 from Jon Buffington for file locations on Darwin.
539 17 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
540 * sql/db-interface.lisp: Improve messages when functions
541 are passed a database object, but the method is not specialized
542 for that database type.
543 * sql/metaclasses.lisp: Fix inline declaration (reported by
546 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
547 * TODO: Add bug report about SQL generation with a table
548 containing two join slots.
549 * sql/oodml.lisp: Add optional size to VARCHAR type
551 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
552 * Version 3.0.0 Release
553 * sql/expressions.lisp: Change declaration that
554 caused error on openmcl
555 * db-aodbc/aodbc-sql.lisp: Fix storage location
556 of odbc connection. Specialize database-query since
557 dbi's :types keyword is different than generic-odbc's
558 :result-types keyword
559 * sql/db-interface.lisp: Add warnings for methods
560 not specialized by a db backends
561 * tests/test-fddl.lisp: Fix case of symbols to support
562 case-sensitive Allegro
563 * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
564 * tests/test-init.lisp: Note that odbc driver for postgresql
565 doesn't properly handle table ownership
566 * LATEST-TEST-RESULTS: update with version 3.0.0
568 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
569 * sql/expressions.lisp: conditionalise escaping of backslash in
570 generated SQL strings on backend.
571 * tests/test-fdml.lisp: test for escaping of backslash.
572 * sql/oodml.lisp: minor tidying in FIND-ALL.
574 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
575 * NEWS: Initial 3.0 announcement draft
576 * README: Expand acknowledgements of incorporated projects
577 * CONTRIBUTORS: Further document Marcus Pearce contributions
579 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
580 * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
581 to print floats with the exponent markers removed.
582 * tests/test-oodml.lisp: add tests for updating records with floats.
584 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
585 * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for
586 CommonSQL compatibility.
587 * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since
588 this column constraint syntax is not supported.
589 * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
590 from EMPLID to LAST_NAME since Oracle complains that EMPLID is already
593 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
594 * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES.
595 * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES.
596 * doc/ref-ooddl.xml: minor changes to syntax and examples entries
598 * doc/ref-oodml.xml: add examples for OODML.
599 * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument
601 * sql/metaclasses.lisp: update docstrings.
602 * tests/test-init.lisp: change :db-constraints for emplid to
603 (:not-null :unique) as a temporary test for multiple column constraints
605 * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and
606 return type of (SETF SLOT-VALUE-USING-CLASS).
607 * TODO, doc/TODO: remove items done.
610 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
611 * sql/oodml.lisp: on Lispworks, use weak valued hash tables for
613 * sql/expressions.lisp: Fix SQL generation for the symbol NIL.
615 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
616 * sql/expressions.lisp: reactivate caching of generated SQL strings.
617 Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY
618 here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT,
619 OUTPUT-SQL and DATABASE-OUTPUT-SQL.
620 * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move
621 methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to
622 sql/expressions.lisp.
623 * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in
624 DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT.
625 * sql/generics.lisp: add docstrings.
627 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
629 * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
630 code in favor of fixing UFFI with James Bielman's patch
632 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
634 * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
637 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
638 * README, INSTALL: update URLs. Minor updates to descriptions.
639 * tests/README: remove stuff about editing contexts.
641 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
642 * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to
643 *default-string-length*
645 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
646 * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping
648 * tests/test-fddl.lisp: add tests for column and table constraints
649 in CREATE-TABLE. Add test for OWNER keyword parameter to
650 LIST-TABLES (assuming same underlying machinery in other FDDL
652 * tests/test-init.lisp: restrict above test to postgresql and oracle.
654 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
655 * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio
658 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
659 * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
661 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
663 * doc/*.xml: documentation additionals and fixes so
664 that docbook passes xmllint.
666 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
668 * sql/fdml.lisp: Apply patch from Kim Minh Kaplan
669 to change escaping of single quotes. Mild optimizations
670 for escaped string output.
671 * doc/ref-ooddl.lisp: documentation additions
672 * doc/ref-oodml.lisp: Add purpose to functions
673 * TODO: Add need to test single quote escaping
675 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
676 * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
677 * sql/ooddl.lisp: Added SMALLINT type
678 * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
679 * db-mysql/mysql-objects.lisp: Added SMALLINT type
680 * sql/package.lisp: Export SMALLINT
681 * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
684 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
685 * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the
686 recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS
687 View Class slot option.
688 * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class
689 slot option accepting a list of constraints [reported by Travis Cross].
690 * doc/ref-fddl.xml: add some examples of specifying column and
691 table constraints to the documentation for CREATE-TABLE.
692 * TODO: add note about adding tests for table/column constraints. Add
693 optimisation note about using cached attribute types in insert/update
696 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
697 * doc/appendix.xml: add notes about idiosyncrasies/unsupported
698 features and so on the documentation for each backend.
699 * doc/TODO: remove items done.
700 * doc/ref-transaction.xml: add note in introduction about
701 autocommit mode as a difference from CommonSQL.
702 * doc/ref-syntax.xml: add notes about SQL syntax state functions
703 being macros in CLSQL. Add note about SQL operators which are
706 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
707 * Version 2.11.12 released
708 * doc/ref-recording.xml: document SQL I/O recording.
709 * doc/ref-prepared.xml: new file for documenting prepared statements.
710 * doc/clsql.xml: comment out include for large object and CLSQL-SYS
712 * doc/ref-conditions.xml: complete documentation of condition system.
713 * doc/global-index.xml: add symbols from condition system and remove
714 those from LOB and prepared statement APIs.
715 * doc/ref-fdml.xml: complete documentation of FDML.
716 * doc/glossary.xml: add View Class.
717 * doc/TODO: remove items done.
718 * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR.
719 * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export
720 additional slot accessors for condition classes.
722 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
723 * doc/ref-ooddl.lisp: Add documentation
724 * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
725 and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
726 * doc/oodml.lisp: Rename references to new name of
727 *DEFAULT-STRING-LENGTH*
729 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
730 * doc/ref-transaction.xml: document transaction handling.
731 * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and
732 START-TRANSACTION return NIL as per the CommonSQL spec. Modify
733 ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is
734 passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
737 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
738 * doc/ref-fdml.xml: document the FDML.
739 * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here.
740 * sql/ooddl.lisp: moved *default-varchar-length* to here from
741 oodml.lisp and renamed to *default-string-length*
743 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
744 * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
745 to allow specifying transactionless table creation
746 * doc/ref-oodml.lisp: Add new keyword to signature of
749 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
751 * sql/expressions.lisp: when removing duplicate table identifiers
752 in the FROM clause of a query, check both table name and alias
754 * sql/fdml.lisp: remove DESCRIBE-TABLE.
755 * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and
756 DATABASE-DESCRIBE-TABLE.
757 * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE
758 and LIST-TABLE-INDEXES.
759 * sql/generic-postgresql.lisp: add reader conditional #+nil for
760 DATABASE-DESCRIBE-TABLE and comment about its uses for
761 re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query
762 returning type info for all attributes.
763 Fix DATABASE-SEQUENCE-LAST.
764 * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine
765 LIST-INDEXES with additional keyword parameter :ON.
766 * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3
767 with LIST-INDEXES (with :ON parameter).
768 * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES.
769 * doc/ref-connect.xml: minor tidying.
770 * doc/ref-fddl.xml: document the FDDL.
771 * doc/TODO: removed items done. Moved note about transaction handling
773 * TODO: move note about transaction handling to doc/TODO. Added
774 optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES.
776 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
778 * sql/syntax.lisp: updated docstrings.
779 * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL
781 * sql/database.lisp: add docstrings for CREATE-DATABASE,
782 DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace
783 CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR.
784 * doc/ref-syntax.xml, doc/global-index.xml: minor tidying.
785 * doc/ref-connect.xml: document connection/initialisation.
786 * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here.
787 * doc/TODO: remove items done.
788 * Makefile: add db-oracle to to SUBDIRS.
790 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
791 * sql/oodml.lisp: Add new serialization functions:
792 WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
793 * sql/expressions.lisp: Avoid duplicate FROM names when selecting
794 from a table that has more than one primary index.
795 * sql/conditions.lisp: Fix printing of closed-database error
797 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
799 * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
800 * sql/transactions.lisp: Correctly set slots of SQL-WARNING
802 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
803 * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses
804 of SQL-EXPRESSION from CLSQL-SYS.
805 * sql/syntax.lisp: make error signalled in SQL-OPERATION an
806 SQL-USER-ERROR. Make SQL-OPERATOR return just one value.
807 * doc/Makefile: added Mandrake linux.
808 * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files.
809 * doc/appendix.xml: fixed little typo (adsf).
810 * doc/glossary.xml: removed closed-database and note about
811 sql-expression, added some entries.
812 * doc/ref-syntax.xml: documented the symbolic SQL syntax.
814 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
816 * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
817 * multiple: Add generalized-boolean type as requested by
819 * TODO: Added need for test of generalized-boolean
821 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
822 * Version 2.11.7 released
823 * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
824 for loading with clc-register-user-package. Remove personal
825 directory from path lisp.
826 * db-mysql/mysql-loader.lisp: Similar changes
828 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
829 * Version 2.11.6 released
830 * sql/oodml.lisp: Commit patch from Edi Weitz
831 to fix symbol writing/reading
832 * TODO: Add need for symbol slot test
834 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
835 * sql/package.lisp: remove duplicate export of
836 *CACHE-TABLE-QUERIES-DEFAULT*.
837 * doc/ref-*.xml, doc/global-index.xml: new files documenting
838 the CommonSQL compatible api.
839 * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to
840 reflect changes in return values of WITH-TRANSACTION.
842 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
843 * tests/README: Fix filename [reported by Bill Clementson]
844 * sql/transactions.lisp: Apply return value patch from
845 Edi Weitz for WITH-TRANSACTION
846 * tests/README: Remove ptester package requirement (as noted
849 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
850 * Version 2.11.5 released
851 * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
852 Select connection-spec based on connection type. Bugs reported by
854 * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
855 * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
856 name on Windows, add \bin\ directory to search path
858 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
859 * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in
861 * sql/operations.lisp: substr now generates SUBSTR for use on
862 Oracle; added a new operator SUBSTRING for use elsewhere. minus
863 now generates MINUS for use on Oracle. Nvl signals an error if
864 not called with exactly 2 arguments. Add concat function for use
865 instead of the || operator on MySQL and Oracle.
866 * sql/syntax.lisp: changed internal symbol for the || operator to
868 * sql/expressions.lisp: removed redundant and unused functions
869 GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
870 (cf. MAKE-CONSTRAINTS-DESCRIPTION).
871 * sql/generics.lisp: removed generic function for
872 DATABASE-CONSTRAINT-DESCRIPTION (see above).
873 * tests/test-syntax.lisp: modified/added tests according to changes
874 in sql/operations.lisp.
875 * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test
877 * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP
878 and SQL-USERENV to the shared exports list. Removed
879 ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION,
880 DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION,
881 TRANSACTION-LEVEL, TRANSACTION, RECORD-SQL-COMMAND and
882 RECORD-SQL-RESULT from shared exports list.
884 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
885 * db-postgresql/postgresl-sql.lisp: Avoid computing
886 result-types lisp when nil result-types. Return only
887 one value when field-types nil.
888 * db-mysql/mysql-sql.lisp: Simple queries now
889 working with prepared statements.
891 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
892 * Version 2.11.4: MySQL 4.1 now passes all tests
893 * sql/package.lisp: Add API for prepared statments.
894 * sql/fdml.lisp: Change implicit flatp processing
895 for string map-query for greater CommonSQL conformance.
896 Add high-high API for prepared statements.
897 * tests/test-basic.lisp: Add test for map-query and
899 * sql/transactions.lisp: Change name/semantics of
900 autocommit to set-autocommit.
901 * sql/generic-postgresql.lisp: Add support for
903 * tests/test-internal.lisp: New file
904 * sql/odbc-api.lisp: Update to using ODBC V3 protocol
905 * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
906 Controller invocation.
907 * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
908 * sql/expressions.lisp: Avoid emitting double parenthesis when a
909 function contains a subselect.
911 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
913 * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
914 type (setf slot-value-using-class)
915 * TODO: add not that need a test case for the above fix
916 * db-sqlite: Remove clisp support since clisp can not run CLSQL
918 * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as
919 introduced in Oracle8. Leave older code selectable by a reader macro
920 for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
921 uses OCILogon and does not the more complex session management.
923 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
924 * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
925 * test/test-init.lisp: Add universal-time slot to person.
926 * test/test-fddl.lisp: Add tests of universal-time slot
927 * test/test-ooddl.lisp: Test universal-time slot in an object
928 * TODO: Remove need for universal-time test
929 * debian/rules, debian/control: Add cl-sql-oracle binary package
930 * doc/appendix.xml: Add Oracle backend information
931 * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
932 universal-time. Convert BIGINT CLSQL type to CHAR SQL type
933 * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
934 * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
935 for map-query to reflect changed in arguments to be CommonSQL compatible.
936 Updated old clsql conditions to new CommonSQL compatible conditions.
938 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
939 * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
940 type. Added *default-varchar-length* rather than previous hard-coded
941 varchar length. Remove 'simple-string and 'simple-base-string since they
942 are subtypes of 'string.
943 * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
944 local hard-coded value.
945 * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
946 type string. Convert specified-type (CHAR n) to string. Convert specified-type
947 CHAR to lisp type character.
948 * sql/generic-postgresql.lisp: (string n) => (CHAR n)
949 * sql/operations.lisp: Add userenv
950 * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
952 * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
953 * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
954 * test/test-init.lisp: Add large table with bigint slot
956 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
957 * Version 2.11.1 released: Much simpler Oracle client library loading.
958 Now uses ORACLE_HOME environmental variable as well as tests default
959 path for Oracle Instant Client.
961 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
962 * Version 2.11.0 released: Full Oracle support. All tests pass
963 * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
964 * tests/test-init.lisp: capitalize odbc backend name in banner
965 * CONTRIBUTORS: Add note about Marcus' excellent work
966 * sql/oodml.lisp: Removed old stub function
967 * clsql.asd: Use module names in current package rather than keyword package
968 * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
969 in setting sequence position. Make autocommits more efficient.
970 * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax
971 * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
972 strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
973 and read-sql-value for NUMBER and CHAR.
974 * sql/base-classes.lisp: Add autocommit slot
975 * sql/transaction.lisp: Added autocommit processing, mild cleaning.
976 * doc/intro.xml: Add Oracle
978 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk)
979 * db-postgresql-socket/postgresql-socket-sql.lisp: replace
980 CLSQL-SIMPLE-WARNING with SQL-WARNING.
981 * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with
983 * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR.
984 * clsql.asd: reworked module structure in package definition and
985 file names to better reflect component functionality.
986 * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to
987 exports list. Removed duplicate and obsolete exports. Exported
988 remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT,
989 SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and
990 according to whether they are specified by CommonSQL or CLSQL
992 * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with
994 * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND
995 here from basic-sql.lisp.
996 * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted).
997 * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted).
998 * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
1000 * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted).
1001 * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted).
1003 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1004 * Version 2.10.22 released
1005 * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
1006 has reversed class slots, change the default for ordered-class-slots so that slots
1007 are now in the same order an in the def-view-class.
1008 * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
1009 * test/test-fddl.lisp: Add two tests for mixed case names
1010 * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
1011 for computed fields, this will require some adjustment to the test suite which
1012 in many cases expects integers.
1013 * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
1015 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1016 * Version 2.10.21 released
1017 * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
1018 db-odbc, and db-aodbc.
1019 * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
1020 DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
1021 * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
1022 * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to
1023 sql/generic-odbc.lisp
1024 * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp:
1025 Move common code to sql/generic-postgresql.lisp
1026 * sql/classes.lisp: honor case of string tables when outputting queries
1027 * sql/objects.lisp: Add database type to default database-get-type-specifier method
1028 * sql/sql.lisp: Add database type to default database-abort-transaction method
1029 * db-mysql/mysql-objects.lisp: New file
1030 * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
1031 * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
1033 * test/test-fdml.lisp: String table names are now case sensitive, so convert to
1034 default db case for FDML/SELECT/25
1036 22 May 2004 Kevin Rosenberg
1037 * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
1038 * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
1039 and string identifiers with non-default case
1040 * sql/table.lisp: Don't convert string table name to a symbol.
1041 * sql/classes.lisp: Honor case of string identifiers
1042 * sql/sql.lisp: Ensure recyclebin is purged for Oracle in
1044 * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
1045 of owner phrases. Obtain server and client versions.
1046 * db-oracle/oracle-objects.lisp: Fix type specifiers
1047 * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
1048 * tests/test-init.lisp: Properly get username from Oracle connection-spec
1050 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1051 * sql/generics.lisp: reworked docstrings. Remove generics for
1052 ADD-TO-RELATION and REMOVE-FROM-RELATION.
1053 * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS
1054 to UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
1055 * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS
1056 for CommonSQL compatibility. Remove ADD-TO-RELATION and
1057 REMOVE-FROM-RELATION.
1058 * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to
1059 UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
1060 * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS.
1061 * sql/conditions.lisp: add documentation for conditions. Add
1062 SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility.
1064 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1065 * sql/basic-sql.lisp: reworked docstrings.
1066 * sql/transactions.lisp: reworked docstrings.
1067 * sql/sql.lisp: reworked docstrings.
1068 * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE
1069 sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility.
1070 * sql/database.lisp: reworked docstrings.
1071 * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P
1072 and FDML extensions and database extensions.
1074 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1075 * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
1076 * db-oracle/make9.sh: add makefile for building with Oracle 9 client
1078 * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
1079 Oracle versions with the PURGE option required for drop table. This needs
1080 to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
1082 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1083 * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE.
1084 * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION.
1085 * sql/table.lisp: reworked docstrings.
1086 * sql/objects.lisp: moved *default-update-objects-max-len* here from
1088 * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE,
1089 DROP-VIEW and DROP-INDEX and the use of the :transactions and
1090 :constraints keyword args to CREATE-TABLE.
1091 * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now
1092 CommonSQL compatible with respect to column constraints.
1094 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1095 * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
1096 Requires UFFI 1.5.0 or higher
1098 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1100 * sql/conditions.lisp: Fix cerror
1102 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1103 * Version 2.10.18 released: New condition hierarchy to be compatible
1104 with CommonSQL -- not backward compatible with previous CLSQL.
1105 * sql/db-interface.lisp: Add more default methods
1106 * sql/objects.lisp: Add explicit table name to order-by parameters
1107 in find-all when only one table to avoid selecting a duplicate row.
1108 Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
1109 as previous logic was adding two fields (foo asc) to SELECT query.
1110 Make :result-types :auto be the default for object selections.
1111 Properly handle caching key when using multiple order-by with asc/desc
1113 * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
1115 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1116 * sql/recording.lisp: reworked docstrings.
1117 * sql/syntax.lisp: reworked docstrings.
1118 * doc/TODO: added notes about extensions to SQL-RECORDING-P and the
1119 SQL syntax state functions being macros.
1121 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1122 * sql/package.lisp: Export initialize-database-type and
1123 *initialize-database-types* from CLSQL package.
1124 * sql/conditions.lisp: Add new CommonSQL compatible conditions,
1125 remove old CLSQL conditions.
1126 * sql/loop-extensions.lisp: Make errors of type sql-user-error
1127 * */*.lisp: Convert to from old to new conditions
1129 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1130 * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
1131 To handle this difference, will need to add a new database-drop-table
1133 * db-oracle/oracle-sql.lisp: Move server-version and
1134 major-version-number to database object to allow multiple connections
1135 to Oracle servers of different versions.
1137 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1138 * TODO: moved notes about backends to doc/TODO.
1139 * doc/TODO: added notes about backends and select extensions.
1140 * sql/base-classes.lisp: remove obsolete schema slot in database
1143 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1144 * db-oracle/oracle-api: Add OCIServerVersion
1145 * db-oracle/oracle-sql: Query and store server version on connect
1146 * sql/db-interface.lisp: Add new db-type-has-bigint? generic
1147 function to handle OCI's lack of bigint support
1148 * test/test-basic.lisp: Separate bigint testing
1149 * test/test-utils.lisp: Add oracle to specs and list of backends
1150 * doc/TODO: New file
1151 * test/test-fdml.lisp: Added FDML/SELECT/34 to test
1152 run-time instantiation of variables in reader macros.
1153 * TODO: Remove item already complete. Add note about
1156 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1157 * sql/syntax.lisp: added condition to the reader macro to treat [*]
1158 as a column identifier (rather than an operation) for CommonSQL
1160 * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION
1161 keword args to SELECT, [*] as column identifier, new MAP-QUERY
1162 behaviour and the ANY and ALL operators in subqueries.
1163 * tests/test-init.lisp: add set-operation and subquery tests to
1164 appropriate skip lists.
1165 * sql/objects.lisp: remove redundant and non CommonSQL compatible
1166 ORDER-BY-DESCENDING keyword argument for SELECT.
1167 * sql/classes.lisp: remove redundant and non CommonSQL compatible
1168 ORDER-BY-DESCENDING keyword argument for SELECT.
1169 * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT
1170 with object queries.
1172 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1173 * sql/db-interface.lisp: Add new db-type-has-union?
1174 since Mysql 3.23 does not support unions.
1175 * sql/test-init.lisp: Don't try union tests on database
1176 backends which do not support it.
1177 * db-oracle/*.lisp: initial port to UFFI
1178 * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
1179 implement REFRESH for SELECT.
1180 * tests/test-oodml.lisp: Add tests for deferred retrieval,
1181 caching, refresh, and update-object-joins
1182 * tests/test-init.lisp: Add deferred-employee-address class
1184 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1185 * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add
1186 COALESCE operator and make NVL a synonym for this. Make ANY, SOME,
1187 ALL and EXISTS generate function expressions so they output the
1189 * sql/classes.lisp: SELECT now generates appropriate SQL when
1190 passed the SET-OPERATION and ALL keyword arguments.
1191 * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now
1192 accepts ordering constraints as pairs of the form (column direction)
1193 where direction may be :ASC or :DESC.
1194 * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL.
1195 Correct tests for ANY, SOME, ALL and EXISTS.
1196 * tests/test-fdml.lisp: added test for COALESCE.
1197 * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION
1198 using funcall unless QUERY-EXPRESSION returns one column and its
1199 FLATP slot is not nil in which case apply is used.
1200 * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the
1202 * TODO: remove items done.
1203 * db-postgresql/postgresql-sql.lisp: no need to reverse results in
1204 DATABASE-LIST-ATTRIBUTES.
1205 * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
1206 results in DATABASE-LIST-ATTRIBUTES.
1208 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1209 * sql/classes.lisp: SELECT now accepts table identifiers as strings
1210 for CommonSQL compliance. Add support for qualified sql identifiers
1211 with aliased table names.
1212 * tests/test-fdml.lisp: added tests for table identifiers as strings
1213 in SELECT and for aliased definitions.
1214 * tests/test-syntax.lisp: added tests for alias definitions.
1216 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1217 * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and
1218 field-names set to nil.
1219 * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly
1220 with null attribute values.
1221 * sql/operations.lisp: modify SQL concatenation operator to accept
1222 unescaped || symbol.
1223 * sql/syntax.lisp: modify sql reader macro function to accept
1224 unescaped sql concatenation operator.
1225 * tests/test-fdml.lisp: unescape sql concatenation operator.
1226 * tests/test-syntax.lisp: unescape sql concatenation operator.
1227 * TODO: remove items done. Add notes about SQLITE/MYSQL backends.
1228 Note to add test for universal-time. Note about difference from
1229 CommonSQL in transaction handling.
1231 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1232 * tests/test-init.lisp: Add deferred-employee-address
1234 * tests/test-oodml.lisp: Add deferred retrieval testgs
1236 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1238 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
1239 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
1240 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
1241 * *: Fix minor style warnings
1242 * clsql-classic: Remove system and subdirectory
1243 * clsql-base: Remove system and subdirectory and
1244 fold into clsql system
1245 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
1246 as supported platform.
1248 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1249 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
1250 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
1251 Allegro 7.0beta AMD64
1252 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
1253 of ODBC longs since this type can vary on 64-bit platforms depending
1254 upon the compilation options of unixODBC.
1255 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
1256 structures found by testing with AllegroCL 7.0b AMD64.
1257 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
1258 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
1259 Initial caching support for SELECT
1260 * tests/test-oodml.lisp: Avoid using cache when testing select.
1261 * sql/kmr-mop.lisp: Explicitly check slot order and
1262 store as a cl:*feature*
1263 * sql/recording.lisp: Remove additional types to
1264 increase CommonSQL conformance.
1265 * tests/test-init.lisp: Change a :column attribute
1266 to test symbols as value
1267 * sql/relations.lisp: Remove functions since they don't support
1268 many to many relationships.
1269 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
1270 of add-to-relations function and replace with explicit field settings.
1271 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
1273 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1275 * LATEST-TEST-RESULTS: results with current version
1276 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
1277 since cmu19 has opposite order of class slots.
1278 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
1279 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
1281 * tests/test-init.lisp: Check test-database-underlying-type for
1284 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1285 * sql/operations.lisp: complete remaining operations for the sql
1286 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
1287 UNION, INTERSECT, BETWEEN.
1288 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
1289 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
1290 * tests/test-syntax.lisp: add tests for new operations.
1291 * tests/test-fdml.lisp: add tests for queries based on new operations.
1292 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
1293 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
1294 * TODO: removed entries done.
1296 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1297 * tests/benchmarks.lisp: Add immediate vs. deferred
1300 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1301 * Version 2.10.13: Now works on openmcl 0.14.2
1302 * sql/objects.lisp: Add :retrieval :immediate for
1304 * tests/test-init.lisp: Add non-index fields for testing
1305 join class employee-addresss
1306 * test/test-oodml.lisp: Add tests for retrieval immediate
1307 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
1308 values which are now listifed by openmcl 14.2.
1309 * sql/objects.lisp: more framework for supporing immediate retrieval
1311 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1312 * docs/intro.xml: Upload location of a README file
1313 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
1314 changing the type-specifier. Use a lisp type of (OR NULL FOO)
1315 for a specified-type of FOO unless :db-constraints :not-null.
1316 No need to specialize finalize-inheritance for openmcl.
1317 * tests/test-*.lisp: Rename fields so that joins occur on
1318 fields with different names. This ensures that join code is
1319 selecting the proper name.
1320 * test/test-init.lisp: Add :base-table for employee-address
1321 view class for testing.
1322 * sql/objects.lisp: Use view-table rather than name of table
1323 in a number of places to fix errors noted with using :base-table.
1325 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1326 * sql/objects.lisp: replace *update-records-on-make-instance* with
1327 *db-auto-sync* which also controls both automatic creation of
1328 new records on creation of new instance and updating of record
1329 fields on setting of instance slots (as suggested by Edi Weitz).
1330 * tests/test-init.lisp: replace *update-records-on-make-instance*
1331 with *db-auto-sync*.
1332 * sql/package.lisp: replace *update-records-on-make-instance*
1333 with *db-auto-sync*.
1334 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
1335 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
1336 and *default-database* in FIND-ALL.
1337 * sql/package.lisp: import time functions from CLSQL-BASE.
1338 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1339 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1340 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1341 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
1344 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1345 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
1346 now return a sql-object-query type rather than directly performing a query.
1347 This improves CommonSQL conformance.
1348 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
1349 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
1350 depend on sql-object-query-type.
1351 * sql/loop-extensions.lisp: Move from base package
1352 * classic/package.lisp: remove references to map-query and do-query
1354 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1355 * TODO: New section on optimizations, especially optimizing JOINs.
1356 * sql/objects.lisp: Have :target-slot return of list of lists rather
1357 than a list of cons pairs to be conformant with CommonSQL.
1358 Make :target-slot much more efficient by using a SQL inner join
1359 statement and just requiring one SQL query. Add :retrieval :deferrred
1360 to target-slot joins. Add placeholder for update-objects-join.
1361 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
1362 and process them for query output-sql.
1364 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1366 * base/basic-sql.lisp: Avoid multiple evaluation
1367 of query-expression in DO-QUERY
1368 * sql/objects.lisp: Make SELECT a normal function.
1369 SELECT now accepts type-modified database identifiers, such as
1370 [foo :string] which means that the values in column foo are returned
1371 as Lisp strings. Add new *update-records-on-make-instance* special
1372 variable controlling automatic creation of new instances. Add missing
1373 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
1374 * sql/packages.lisp: Export *update-records-on-make-instance*
1375 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
1377 * test/test-fdml.lisp: Add tests for type-modified
1378 database identifiers.
1379 * test/test-init.lisp: Stop using add-relation since implementing
1380 many-to-many joins. Use *update-records-on-make-instance*
1381 to automatically store records on instance creation. Add many-to-many
1382 employee-address view-class.
1384 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1386 * base/loop.lisp: Add object iteration. Use :result-type
1387 :auto for result-set. Remove
1388 duplicate (and non-correct) code for non-list variables by
1389 simply making an atom variable into a list.
1390 * sql/package.lisp: Remove unnecessary clsql-sys package
1391 and replace it with clsql.
1392 * sql/metaclasses.lisp: Properly store specified-type from
1393 direct-slot-definition and then store translated type in
1394 effective-slot-definition
1395 * sql/classes.lisp: Don't output type in sql-output
1396 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
1397 [foo :integer] as fields in SELECT.
1398 * sql/query.lisp: Set default for :result-types to :auto in
1400 * sql/objects.lisp: Use specified-type when invocating
1401 database-get-type-specifier. def-view-class macro now returns
1403 * base/basic-sql.lisp: Make :AUTO the default value for
1404 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
1405 * sql/objects.lisp: Add bigint type
1406 * test/tests-basic.lisp: Add tests for :result-types for
1407 MAP-QUERY and DO-QUERY
1408 * test/test-fdml.lisp: Add test for result-types in LOOP
1409 and also using single symbol rather than a list for variables.
1410 Add test that default :result-types is auto for FDML QUERY.
1411 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
1412 of SQL-IDENT-ATTRIBUTE.
1413 * test/test-oodml.lisp: Enable OO loop iteration test,
1414 modify it so it doesn't depend on boolean where.
1416 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1418 * sql/objects.lisp: added derived type specifier for universal time.
1419 * sql/package.lisp: added #:universal-time to clsql-sys exports.
1420 * tests/test-oodml.lisp: added test for translation of boolean slots
1421 in SELECT with object queries.
1423 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1424 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
1425 for odbc/postgresql backend.
1426 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
1427 it can handle NIL values from the ODBC driver
1428 * tests/benchmarks.lisp: New file with initial
1430 * sql/relations.lisp: fix to add subclassing support,
1431 minor optimizations [Edi Weitz]
1433 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1435 * base/conditions.lisp: Add *backend-warning-behavior*
1437 * db-postgresql-socket/postgresql-socket-sql.lisp:
1438 Honor value of *backend-warning-behavior*
1439 * tests/test-fdml.lisp: Remove test of raw boolean value
1440 since different backends handle this differently. Add
1441 test for :column attribute.
1442 * tests/test-oodml.lisp: Add tests for boolean slot value
1443 and for :void-value attribute
1444 * tests/test-init.lisp: Use *backend-warning-behavior*
1445 to suppress warnings from postgresql about implicitly
1446 creating primary key in tables. Add new address table.
1448 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1450 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
1451 result-types is :auto
1452 * sql/objects.lisp: Properly handled writing/reading Boolean
1453 values from SQL database when retrieving objects.
1454 * test/test-fdml.lisp: Add another test for boolean results
1455 * test/utils.lisp: Fix incorrect declaration
1457 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1459 * sql/generics.lisp: add generic function for SELECT.
1460 * sql/objects.lisp: make SELECT a method specialisation.
1461 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
1462 referred to are View Classes.
1463 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
1464 query-expression arg evaluates to a list, then we have an object
1466 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
1468 * TODO: remove items done and add a todo for SELECT.
1469 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
1471 * sql/sql.lisp: add :field-names arg to QUERY.
1472 * tests/test-fdml.lisp: minor rework to use :field-names arg to
1475 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1476 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
1477 or more View Classes.
1478 * sql/objects.lisp: make the :flatp argument to SELECT work with
1480 * sql/objects.lisp: make SELECT accept a :result-types argument
1481 (defaults to :auto) which is passed on to QUERY.
1482 * sql/objects.lisp: SELECT returns field-names as a second value.
1483 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
1484 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
1485 to SELECT and take only first value as appropriate.
1486 * tests/test-fdml.lisp: add two new tests for query result coercion
1487 and the field-names returned as a second value from SELECT.
1488 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
1490 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1491 * Version 2.10.6-pre1
1492 * sql/metaclasses.lisp: Add void-value slot
1493 * doc/csql.xml: Update def-view-class documentation
1494 * test/test-init.lisp: Change old :db-type to :db-kind.
1495 Remove old :nulls-ok attributes.
1496 * sql/objects.lisp: Add new universal-time and bigint
1497 types. Optimize reading of integers using parse-integer
1498 rather than read-from-string.
1499 * */*.lisp: Merge clsql-base-sys and clsql-base packages
1500 into clsql-base package
1501 * classic/sql.lisp: Move large object support into base, leaving
1502 classic without any functionality that is provided in the clsql
1504 * classic/package.lisp: Rename clsql-classic-sys package to
1505 its former nickname of clsql-classic
1507 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1508 * Version 2.10.5: SQLite backend now passes all result-types tests
1509 * clsql-sqlite.asd: Depend on clsql-uffi system
1510 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
1511 for efficiency and code reuse.
1512 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
1513 for better cross-implementation compatibility.
1515 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1517 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
1519 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
1520 bug on SBCL in result-field-names function as reported by Marcus Pearce
1521 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
1522 manifest in SBCL testing
1524 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1526 * sql/database.lisp: Conform more to CommonSQL output
1527 for STATUS command [Marcus Pearce]
1528 * sql/sqlite-sql.lisp: Rework to use result-types
1529 * sql/sqlite-api-clisp.lisp: Add compatibility layer
1530 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
1531 be cleaned up of most clisp reader conditionals
1532 * sql/test-init.lisp: Now run field type tests on sqlite
1535 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1537 * base/basic-sql.lisp: Set default value of :result-types
1538 to :auto for more CommonSQL conformance.
1539 * test/test-fdml.lisp: Add tests for numeric value of fields
1542 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1543 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
1544 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
1545 Return field names as second value for QUERY. This can be overridden
1546 for efficiency with the new keyword :FIELD-NAMES set to NIL
1547 in the QUERY invocation.
1548 * test/test-fdml.lisp: Add tests for new field-name feature
1549 * sql/metaclass.lisp: Remove old Lispworks cruft
1550 and replace it with invocation of new code in kmr-mop.lisp
1551 which actually works with Lispworks 4.2
1552 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
1554 * base/db-interface.lisp: Document the multiple values
1555 returned by DATABASE-ATTRIBUTE-TYPE so matches the
1556 undocumented CommonSQL behavior.
1557 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
1558 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
1559 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
1560 Implement CACHE-TABLE-QUERIES.
1561 * db-odbc/odbc-sql.lisp: Fix attribute-type function
1562 * test/test-fddl.lisp: Add tests for attribute type
1563 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
1565 * base/classes.lisp: Add attribute-cache slot to database clas
1566 * base/initialize.lisp: initialize-database-type now automatically
1567 loads database-type backend as needed.
1568 * base/test-init.lisp: Utilize new initialize-database-type functionality.
1569 * TODO: remove items done
1571 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1573 * sql/objects.lisp: remove create/drop-sequence-from-class.
1574 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
1575 * sql/objects.lisp: improved CommonSQL compatibility for
1576 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
1577 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
1578 * sql/generics.lisp: move generics from objects.lisp to here.
1580 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1581 * Version 2.9.6-pre1
1582 * db-mysql/mysql-client-info.lisp: Add client version 4.1
1584 * sql/sql.lisp: Make *default-database* the default for
1587 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1589 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
1591 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
1592 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
1593 on a metaclass specialized from standard-db-class.
1596 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1597 * Version 2.9.4: Multiple changes to support Allegro's "modern"
1598 lisp which uses a lowercase reader and has case-sensitive symbols
1599 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
1600 exposed by case-sensitive mlisp.
1602 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1603 * Version 2.9.3: All tests now pass on all platforms!
1604 * LATEST-TEST-RESULTS: New file with summary of test results
1605 * sql/generics.lisp: New file for generic function definitions.
1606 * test/test-init.lisp: Display names of skipped tests.
1607 Use unwind-protect to ensure disconnect
1608 * sql/objects.lisp: Change database-type to database-underlying-type
1609 so that actual database engine is properly identified
1610 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
1611 return an ISO timestring for compatibility with other drivers.
1612 Workaround bug in MyODBC for LIST-TABLE-INDEXES
1613 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1614 returns floating-point values for floor and truncate operations
1615 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1616 * tests/test-basic.lisp: Port to regression tester
1617 * test/test-init.lisp: Output to *report-stream*
1618 * docs/appendix.xml: Document ODBC and SQLite backends.
1619 * sql/classes.lisp: Make output-sql require a database parameter.
1620 This allows SQL generation to have the proper case to support
1621 the differences in case handling between CommonSQL API,
1622 Postgresql, MySQL, Oracle.
1624 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1625 * Version 2.9.2: Improvments in database capability introspection
1626 and querying. Support transactions in MySQL where available.
1627 All tests now pass on MySQL and SQLite in addition to postgresql
1628 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1629 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1630 DATABASE-LIST-SEQUENCES.
1631 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1632 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1633 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1634 * tests/*.lisp: Check database capabilities and remove tests which
1635 the database backend does not support
1636 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1637 controls whether InnoDB tables will be created when supported on
1638 the underlying MySQL server.
1640 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1641 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1642 supported by all database backends (except AODBC since
1643 AODBC doesn't support index querying)
1644 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1645 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1646 to support index queries
1647 * db-aodbc/aodbc-sql.lisp: Filter driver manager
1648 "information_schema" tables from LIST-TABLES
1649 * tests/test-basic.lisp: Remove table after testing
1650 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1651 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1652 which gets the underlying type of database -- required
1653 when dealing with ODBC databases and want to query
1654 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1655 as first database-backend specific feature. Is T on
1656 :mysql, NIL on other backends. Change DROP-TABLE to
1659 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1660 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1662 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1664 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
1665 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
1667 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1668 * Version 2.8.0: New API function: LIST-DATABASES
1669 * base/utils.lisp: Fix command-output on CMUCL/SBCL
1670 * db-*/*-sql.lisp: Add new database-list function
1671 * base/database.lisp: Add new LIST-DATABASES command
1673 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1675 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1676 * db-sqlite/sqlite-api-uffi.lisp: Print error string
1679 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1681 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1684 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1686 * base/objects.lisp, base/classes.lisp: Patch
1687 for db-kind from Eduardo Munoz
1689 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1691 * base/basic-sql.lisp: Fix FLATP in QUERY
1693 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1694 * Version 2.7.3: Implement RECONNECT
1696 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1697 * Version 2.7.2: Fix ODBC on Lispworks Windows
1699 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1700 * Version 2.7.1: Fix for new ODBC backend.
1701 clsql-odbc now works on SBCL, CMUCL, OpenMCL
1702 in addition to AllegroCL and Lispworks.
1704 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1705 * Version 2.7.0: New backend: ODBC. Tests as
1706 well as AODBC backend on Allegro,Lispworks.
1707 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
1708 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1709 to explicitly set ODBC2 support. Add BIGINT support.
1710 Add result-types support. Added SQLTables.
1711 Fix array type in fetch-all-rows. Make width
1712 changable by database or query.
1713 * base/utils.lisp: Add process functions
1714 * base/package.lisp: Export utils to CLSQL-BASE-SYS
1715 * db-aodbc: Implement sequence functions,
1716 database-list-tables, database-list-attributes
1717 * tests/utils.lisp: Add support for ODBC backend,
1718 rework READ-SPECS to use +all-db-types+
1719 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
1722 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1723 * Version 2.6.13. Requires UFFI version 1.4.9
1724 * db-odbc/*.lisp: Further porting.
1725 Pre-alpha code! But, basic query is now working.
1727 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1729 * base/transactions.lisp: Add quote for macro
1730 expansion of WITH-TRANSACTIONS [Time Howe]
1731 * db-sqlite/sqlite-sql.lisp: Support memory database
1732 in database-probe [Ng Pheng Siong]
1733 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
1734 The DBI layer is not finished.
1736 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1738 * sql/objects.lisp: add :root-class functionality for
1739 list-classes and add duration type support [Marcus Pearce]
1740 * db-odbc: Add mid-level [DBI] layer
1742 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1744 * db-aodbc: Add methods for generic functions, some are
1745 not yet implemented.
1746 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
1749 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1751 * base/package.lisp: Add missing symbols [Marcus Pearce]
1753 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1755 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
1756 * utils/time.lisp: Multiple fixes [Marcus Pearce]
1757 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
1759 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1761 * sql/*.lisp: Remove schema versioning cruft
1763 * Makefile: Add classic subdirectory
1765 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1767 * sql/sql.lisp: Fix TRUNCATE command, bug reported
1769 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
1770 specific and easy for an application to directly support.
1771 Idea from Marcus Pearce.
1772 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
1773 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
1774 Keep low-level interface for future optimization
1775 supporting LIST-ATTRIBUTE-TYPES command.
1776 * Makefile: Add to db-sqlite and test directories.
1777 Include them in top-level Makefile
1779 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1781 * sql/relations.lisp: Add missing file
1782 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
1783 * test/test-time.lips: New file [Marcus Pearce]
1785 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1787 * test/test-init.lisp: Properly handle object
1788 creation. Close database after use.
1789 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
1790 function so can have methods specialized on
1791 table being a string or an sql-table object.
1792 * base/pool.lisp: Really fix CMUCL locking
1794 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1796 * test/test-init.lisp: Signal correctly
1797 if any errors occurred in any test suite
1798 * base/loop-extensions.lisp: Fix error
1799 introduced for Lispworks
1800 * base/pool.lisp: Fix locking for CMUCL
1801 * base/objects.lisp: Remove schema-version cruft
1803 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1804 * Version 2.6.2: New CLSQL API functions:
1805 DESCRIBE-TABLE AND TRUNCATE-DATABASE
1806 Currently, this are only supported on :postgresql
1807 and :postgresql-socket
1808 * base/database.lisp: automatically load ASDF system
1809 in CONNECT if not already loaded
1810 * base/tests.lisp: disconnect database after testing
1811 * base/*.lisp: Remove CLOSED-DATABASE type in favor
1812 of storing open/closed status in slot of database
1813 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
1814 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
1815 DATABASE-DESCRIBE-TABLE
1816 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
1817 * base/conditions: Remove duplicate condition
1818 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
1819 * base/recording.lisp: Add new :QUERY type for recording
1821 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1822 * Version 2.6.1: documentation fixes, merged
1823 classic-tests into tests
1825 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1826 * Version 2.6.0 released: New API functions
1827 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
1828 * doc/ref_clsql.xml: Document new functions
1829 * base/database.lisp: New API functions
1830 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
1831 * base/utils.lisp: Fix use of position-char.
1832 Add COMMAND-OUTPUT used by backends for running
1833 external programs. Fix parsing of SQL*NET-compatible
1835 * base/loop-extension.lisp: Simplify package use
1836 for Lispworks and Allegro
1837 * db-*/*-sql.lisp: Added DATABASE-CREATE,
1838 DATABASE-DESTORY, PROBE-DATABASE methods
1839 * tests/test-init.lisp, clasic-tests/tests.lisp:
1840 Use destroy-database and create-database to ensure
1841 testing with empty database
1842 * tests/test-connection.lisp: Add tests for
1843 parsing of string connection-specs
1844 * examples/run-tests.sh: New file for running
1845 test suite on all installed CL implementations
1846 * examples/clsql-tutorial.lisp: moved from
1848 * examples/dot.clsql-tests.config: New file
1849 giving an example test configuration
1850 * test/README: Add notes about rtest/ptester
1851 downloads and link to sample test configuration file.
1853 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1854 * Version 2.5.1 released:
1855 * tests/*.lisp: Rework so tests are run
1856 on multiple backends automatically based
1857 on the contents of ~/.clsql-tests.config.
1858 Reuse helper functions from classic-tests.
1859 * base/database.lisp: Support connection-spec
1860 as string for CONNECT
1861 * classic-tests/tests.lisp: Automatically
1862 load database backends as needed.
1864 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1865 * Version 2.5.0 released:
1866 All tests for CLSQL and CLSQL-CLASSIC pass
1868 * base/loop-extension.lisp: Add Lispworks
1869 loop-extension. Improve type specifying on
1872 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1873 * Version 2.4.2 released:
1874 loop extension now supported on Allegro, all
1875 CLSQL-TESTS pass on Allegro.
1876 * sql/metaclasses.lisp: Some optimization
1877 of compute-slots, be selective when
1878 ordered-class-slots needs to be called
1879 instead of class-slots
1880 * TODO: add URL with documentation on
1881 extending Lispworks LOOP form
1883 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1884 * Version 2.4.1 released: CLSQL-TESt suite passes
1885 all tests for postgresql and CMUCL, SBCL, OpenMCL.
1886 Allegro and Lispworks pass all tests except for
1887 FDML/LOOP/1 since the loop extension have not yet
1888 been ported to those implementions.
1889 * sql/metaclasses.lisp: Added new slot to standard-db-class
1890 to hold user-specified type. OpenMCL adjustments to compensate
1891 for its type-predicate function. Since AllegroCL, Lispworks,
1892 and OpenMCL have different slot orders, added compute-slots
1893 and ordered-class-slots functions so their slot order matches
1896 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1897 * Version 2.4.0 released: All tests for clsql-classic now finish
1898 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
1899 mysql, postgresql, postgresql-sockets, and sqlite backends.
1900 * db-mysql/mysql-sql.lisp: Fix array dereferencing
1901 * classic-tests/tests.lisp: Fix package name of
1902 number-to-sql-string.
1903 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
1904 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
1905 now passes tests on all support UFFI platforms.
1906 * db-postgresql-socket/postgresql-socket-api.list: Ported to
1908 * multiple: Finish renaming of :types keyword to :result-types for
1909 greater CommonSQL compatibility, including documentation
1910 * sql/basic-cmds.lisp: Remove obsolete file
1912 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1913 * Version 2.3.3 released
1914 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
1915 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
1916 * Fix for schema table [Marcus Pearce]
1917 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
1918 * Fixes to test suite [Marcus Pearce]
1920 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1921 * db-*/*-sql.lisp: Ensure that expr in
1922 database-query-result-set is a string
1923 * Documentation integration
1925 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1926 * With for Marcus Pearce's excellent work, I've merged
1927 his clsql-usql port into clsql. The original clsql
1928 interface is available in the clsql-classic package.
1930 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1931 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
1932 adding further support for providing backend for UncommonSQL
1934 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
1935 * Integrate patch from Aurelio Bignoli for SQLite backend
1937 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
1938 * Converted documentation to XML format
1939 * Made package installable with asdf-install
1941 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
1942 * Add for-each-row macro
1944 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
1945 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
1947 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
1948 * Add support for SBCL, OpenMCL, and SCL
1949 * Add *load-truename* to search path for clsql's
1952 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
1953 * Rework use of file types in .asd files
1955 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
1956 * Add .asd definition files for ASDF users
1958 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1959 * Restructure directories for Common Lisp Controller v3 compatibility
1961 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1962 * Also change case of logical host in loader files
1963 * Rework handling of logical pathnames
1965 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1966 * Change case of logical host
1968 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
1969 * clsql-base.system: Added base package that can be used without
1970 high-level SQL commands. Used for adding support for UncommonSQL.
1971 * *.system: Reworked logical pathnames to be more consistent with
1972 Common Lisp Controller.
1973 * debian/*: Completed initial Debian support
1975 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1977 * sql/transactions.cl:
1978 Added transaction support. Functions/macros added:
1979 with-transaction, commit-transaction, rollback-transaction,
1980 add-transaction-commit-hook, add-transaction-rollback-hook
1982 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1985 * sql/functional.cl:
1986 Added pool support in connect/disconnect and with-database.
1987 Removed with-db-from-pool as with-database can now works with the connections pool
1989 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1994 Completed connection pool.
1995 Added with-db-from-pool macro.
1997 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1999 Added initial support for connection pool
2000 * sql/transactions.cl
2001 Took transaction code from UncommonSQL and integrated
2002 into CLSQL code. See file for disclaimer about why this
2005 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2006 * interfaces/postgresql/postgresql-sql.cl:
2007 Fix keyword typo in database-read-large-object
2008 * interfaces/mysql/mysql-loader.cl
2009 Fix loading on Win32
2010 * test-suite/tester-clsql.cl
2011 Fix type coercion of double-float
2013 Added debian docbook catalog, made it the default
2015 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2016 * interface/postgresql/postgresql-api.cl:
2017 * interface/postgresql/postgresql-sql.cl:
2019 * sql/db-interface.cl:
2020 Added large objects support for postgresql.
2022 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2023 * src/postgresql-socket/postgresql-socket-api.cl:
2024 Fixed find-foreign-function call, eliminated crypt warning
2026 Multiple improvements
2028 Moved functionality from low-level interfaces to this file
2029 via generic functions
2030 * test-suite/tester.cl:
2031 Added test with acl-compat-tester, moved others to old-tests
2034 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2036 Reinstated commented out sections
2037 * interfaces/postgresql/postgresql-loader.cl:
2038 * interfaces/mysql/mysql-loader.cl:
2039 Updated find-forieign-library support.
2040 * interfaces/postgresql-socket/postgresql-socket-package.cl:
2041 Fixed require form for Lispworks (Thanks Marc Battyani!)
2042 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2043 Fixed eval of def-function for crypt library.
2045 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2046 * Added interface to support USQL high-level rouines
2048 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2049 * Separated db-interface and conditions from sql/sql.cl
2050 * Improved foreign library loading testing
2051 * interfaces/postgresql/postgresql-api.cl
2052 Added PQisBusy function
2053 * interfaces/clsql-uffi/clsql-uffi.cl
2054 Fixed sign error for 64-bit processing
2056 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2057 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2058 Fixes to read-double-from-socket. Added 64-bit integer support.
2059 * test-suite/xptest-clsql.cl
2060 Added testint for 64-bit integers
2061 * Additons to installation docs
2063 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2064 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2065 Implemented direct socket reading for field type :double
2066 * Added usage information for :types to documentation
2067 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
2069 * interfaces/clsql-uffi: Created new directory. Split common
2070 interface routines that use UFFI into this package. Required
2071 especially to support direct reading of 64-bit integers into
2072 bignums and bypassing temporary strings.
2073 * test-clsql.cl: Updated to test postgresql-socket's
2074 read-double-from-socket function.
2075 * test-suite/xptest-clsql.cl
2076 Started work on test suite
2078 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2079 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
2080 mysql-fetch-field-direct Got :auto types working
2081 * interfaces/postgresql/postgresql-api.cl
2082 * interfaces/postgresql-socket/postgresql-socket-api.cl
2083 Added pgsql-field-types enum. Got :auto types working.
2085 Renamed :field-types to :types.
2087 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2088 * Added field-types parameter to query, database-query,
2089 database-query-result-set, map-query. Haven't added code
2090 to utilize field types, yet.
2091 * Changed postgresql-socket result set from cons to a structure
2092 * Updated test-clsql.cl to use automated testing with a config
2094 * Changed return types of field accessors from cstring to
2095 (* :unsigned-char). This prepares for being able to use specified
2096 type conversions when taking field data into lisp.
2097 * Added field-type processing for most interfaces. Not done yet.
2099 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2100 * doc/ref.sgml: Updated MAP-QUERY example to use
2101 *read-default-float-format* (John Foderaro)
2102 * Extensive work to foreign library loaders and .system files to
2103 check for successful loading of foreign libraries.
2104 * Modified test-clsql.cl to allow more modularity and
2105 automated testing in future release.
2106 * mysql/mysql-sql.lisp: Added field types
2108 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
2109 * mysql/mysql-sql.lisp:
2110 - Added support for Allegro CL and Lispworks using UFFI layer
2111 - Changed database-connect to use mysql-real-connect. This way,
2112 can avoid using double (unwind-protect)
2113 - Changed database-connect to have MySQL library allocate space
2114 for MYSQL structure. This will make the code more robust in
2115 the event that MySQL library changes the size of the mysql-mysql