1 04 Sep 2009 Kevin Rosenberg <kevin@rosenberg.net>
3 * sql/fdml.lisp: Rework do-query to use supplied database
4 parameter when passed a sql-object-query
5 (thanks to JTK <jetmonk@gmail.com>)
6 * sql/generic-postgresql.lisp: Allow optional connect
7 parameters for postgresql databases (thanks to Stephen Compall)
8 * doc/ref-{clsql,connect}.xml, sql/db-interfaces.lisp:
9 Fix transposed letters (thanks to Stephen Compall)
10 * db-mysql/Makefile: Add directory for MacPorts mysql5 port
11 (thanks to Stephen Compall)
12 * sql/database.lisp: Have database-type default be
13 *default-database-type* (thanks to Desmond O. Chang)
14 * sql/transactions.lisp: Improved handlining of nested
15 transactions (thanks to Eli Naeher)
16 * sql/time.lisp: Commit patch to fix parse-iso-8601-duration
17 (thanks to Stephen Compall)
18 * sql/database.lisp: Use :verbose nil for asdf:operate
19 invocation (Thanks to Mackram Raydan)
20 * sql/metaclasses.lisp: Rework initialize-instance for
21 view-class-direct-slot-definition (thanks to Stephen Compall)
23 31 Aug 2009 Kevin Rosenberg <kevin@rosenberg.net>
24 * sql/db-interface.lisp: Fix spelling error (thanks to
26 * clsql-mysql.asd/db-mysql/mysql-loader.lisp: Commit
27 patch from Andreas Franke to honor windows drive letter
28 when loading clsql_mysql C library.
30 31 Aug 2009 Kevin Rosenberg <kevin@rosenberg.net>
32 * db-mysql/mysql-{sql,api}.lisp,db-mysql/clsql_mysql.c:
33 Latest version of mysqlclient once again changed the C
34 structures from which the mysql backend reads data.
35 Rather than adding yet another structure definition which
36 is enabled by the client version as read by mysql-client-info.lisp,
37 the mysql backend has been re-written to ignore in the internal
38 C structures. Instead, C wrapper functions for slot access have
39 been added to clsql_mysql.c and are used by mysql-sql.lisp to
40 access the internals of C structures. This adds a bit of overhead,
41 but completely separates the lisp code from trying to keep up
42 with the continually changing internal C structure of mysql.
43 All tests in the test suite executed correctly with this change.
45 31 Aug 2009 Kevin Rosenberg <kevin@rosenberg.net>
47 * sql/database.lisp: Fix syntax on process-lock (thanks to
49 * db-mysql/mysql-sql.lisp: Allow use of database parameter
50 in database-list function (thanks to Michael Pheasant)
51 * sql/oodml.lisp: Allow NULL values for floating-point fields
52 (thanks to Jan Rychter)
54 02 Jun 2009 Kevin Rosenberg <kevin@rosenberg.net>
56 * sql/database.lisp: Add process-lock for deleting database from
57 a pool (thanks to Ralf Mattes).
59 25 Feb 2008 Kevin Rosenberg <kevin@rosenberg.net>
61 * sql/expressions.lisp: Remove stray form (thanks to Samuel Ward)
63 12 Dec 2007 Kevin Rosenberg <kevin@rosenberg.net>
64 * sql/expressions.lisp: Bind *in-subselect* when outputting
65 selections (patch from unknown source).
67 11 Dec 2007 Kevin Rosenberg <kevin@rosenberg.net>
69 * sql/metaclasses.lisp: Unify base-table processing by extracting
70 the correct code from initialize-instance :around into the helper
71 function set-view-table-slot. Call that function also in
72 reinitialize-instance :around replacing erroneous code discovered
75 17 Nov 2007 Kevin Rosenberg <kevin@rosenberg.net>
76 * BUGS: Add note about benefit of using configure file to create
77 Makefiles (suggestion from Joe Corneli)
79 22 Oct 2007 Kevin Rosenberg <kevin@rosenberg.net>
81 * db-postgresql/postgresql-sql.lisp: Patch from Gabriele Favalessa based on
82 Andrew Golding suggestion for more informative :error-id slot.
84 17 Sep 2007 Kevin Rosenberg <kevin@rosenberg.net>
86 * db-mysql/mysql-sql.lisp: Convert query to uffi cstring (thanks to
88 * doc/Makefile, doc/html.xsl: Change output encoding from ISO-8859-1 to UTF-8
90 14 Sep 2007 Kevin Rosenberg <kevin@rosenberg.net>
91 * Version 4.0.0: Major version increase to warn of potential
92 backwards incompatibility.
93 * NEWS: Document potentional backward incompatible changes
94 * db-mysql/mysql-sql.lisp: Changes session SQL mode to ANSI immediately
95 after connecting. This may break compatibility with some applications
96 who are using non-ANSI features with MySQL. This change is required to
97 properly support view-classes using a string as their :base-table
98 attribute. This allows users to specify the case of table names.
99 This is feature is even more essential for MySQL itself since MySQL
100 uses case-sensitive table names. Use connection-based database-create
101 and database-destroy rather than trying to invoke command-line mysql
102 utility. Remove automatic upcasing of strings from list-indices.
103 * db-postgresql/postgresql-sql.lisp: Use connection-based
104 database-create and database-destroy rather than trying to invoke
105 command-line utilities.
106 * db-postgresql-socket/postgresql-socket-sql.lisp: Use
107 database-execute-command rather than execute-command for
108 database-{create,destroy}. Connect to postgres database
109 rather than template1 for those database creation/deletion.
110 * sql/metaclasses.lisp: Store the string value of :base-table if a
111 string is provided. Perform sql-escape at time of view-table name
113 * tests/test-init.lisp: Use "ej_join" as a string, rather than a
114 symbol, since "ej_join" is specified as :base-table. Clear the
115 expression output-cache in case the code for generating sql output
117 * test/test-oodml.lisp: whitespace fix
118 * sql/ooddl.lisp: Use quoted string for primary key constraint if
119 table name is specified as a string.
120 * sql/oodml.lisp: Don't convert a string view-table name to database's
122 * sql/expressions.lisp: Properly handle table and attribute identifiers
123 when they are a string. Do not change case of symbols to match database
125 * sql/operations.lisp: Change multiword symbols to upper case.
126 * sql/fddl.lisp: Quote base-table if a string to preserve case
127 for drop-table and create-table.
128 * tests/test-syntax.lisp: Add tests of low-level string attribute
131 20 Jul 2007 Kevin Rosenberg <kevin@rosenberg.net>
133 * db-oracle/oracle-loader.lisp: Rework use of ORACLE_HOME directory
134 (problem noted on clsql-devel by icardo Boccato Alves)
135 * sql/pool.lisp: Remove incorrect keyword
136 * sql/database.lisp: Rework WITH-DATABASE to not make the database the
137 default database (reported by Saurabh Nanda and Chaitanya Gupta)
138 * doc/ref-connect.lisp: Update the documentation to WITH-DATABASE to
139 emphasis that make-default has a default value of nil.
140 * sql/transaction.lisp: Adjust commit/rollback messages for Microsoft
141 SQL Server. (patch from Nathan Bird)
142 * sql/metaclasses.lisp: Use finalize-inheritance hack on SBCL because
143 of trouble with def-view-class compilations (patch from Nathan Bird)
145 15 Jul 2007 Kevin Rosenberg <kevin@rosenberg.net>
147 * db-mysql/mysql-loader.lisp: Revert previous change since libmysql is
148 not dynamically loaded on Windows
150 22 Jun 2007 Kevin Rosenberg <kevin@rosenberg.net>
152 * db-mysql/mysql-loader.lisp: Do not bother loading libmysqlclient since
153 that library is dymically linked to clsql-mysql library. Thus, the mysql
154 library will be automatically loaded. This has only been tested on Linux,
157 29 May 2007 Kevin Rosenberg <kevin@rosenberg.net>
158 * tests/test-fddl.lisp: Add :order-by for :fddl/big/1 as
159 reported by Ricardo Boccato Alves
161 02 May 2007 Kevin Rosenberg <kevin@rosenberg.net>
162 * sql/database.lisp: Add ability of WITH-DATABASE to return
163 multiple values (patch from Liam Healy)
165 25 Apr 2007 Kevin Rosenberg <kevin@rosenberg.net>
167 * doc/connect.xml: variable description fix by Liam Healy
168 * db-sqlite3/sqlite3-api.lisp, uffi/clsql-uffi-loader.lisp:
169 Apply patches from Marcus Pierce to reduce load-time warnings
170 * sql/package.lisp: Export iso-timestring as requested by Kevin Blaisdell
172 23 Mar 2007 Kevin Rosenberg <kevin@rosenberg.net>
174 * sql/db-postgresql-socket-api.lisp: Change read-socket-sequence to
175 disable wide characters for crypt salt sequence on SBCL, based
176 on patch from Lars Nostdal.
178 26 Jan 2007 Kevin Rosenberg <kevin@rosenberg.net>
180 * sql/pool.lisp: Test pooled connection when popped from
181 the pool to ensure the connection still works. Currently, implemented
184 17 Jan 2007 Kevin Rosenberg <kevin@rosenberg.net>
185 * db-mysql/Makefile: Add potential mysql directories
187 31 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
188 * sql/metaclasses.lisp: Remove usused saved-initargs
189 * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually used to
190 push search libraries)
192 30 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
193 * Version 3.8.0: BACKWARD INCOMPATABLE CHANGE!
194 * db-postgresql/postgresql-{api,loader,sql,package}.lisp:
195 Apply patch from Edi Weitz to avoid conflict with new Lispworks 5
196 POSTGRESQL package name. CLSQL's new package will be PGSQL, however
197 on non-Lispworks platforms, the nickname POSTGRESQL will still be
198 available. Applications directly using low-level POSTGRESQL package
199 are recommended to use the new PGSQL name.
200 * db-oracle/oracle-{api,sql}.lisp, sql/{expressions,loop-extension}.lisp,
201 Apply patch from Edi Weitz to reduce compiler warnings.
203 28 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
205 * sql/expressions.lisp: Commit patch from Edi Weitz to
206 use *default-database* for SQL-OUTPUT if no database is
207 explicitly passed to function.
208 * uffi/clsql-uffi-loader.lisp: Change load order to first try
209 plain name/type before attempting user-specified paths (patch
211 * uffi/ptrbits.c: New file to return number of bits in an pointer
212 * uffi/Makefile: use intbits to name .so file based on bit size.
213 Build both 32-bit and 64-bit libraries on 64-bit platform.
215 30 Nov 2006 Kevin Rosenberg <kevin@rosenberg.net>
217 * db-sqlite3/sqlite3-sql.lisp: Commit patch from Edi Weitz fixing
220 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
222 * db-postgresql/postgresql-sql.lisp: Remove
223 uffi:convert-foreign-to-native wrapper since using cstring for
226 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
228 * db-postgresql/postgresql-api.lisp: Fix UFFI return type for
229 PQresultErrorField foreign function.
231 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
233 * doc/intro.xml: Update supported platforms.
234 * db-postgresql/postgresql-{package,api,sql}.lisp: Apply
235 changes from Andew Golding to use a more-specific error code
236 from PostgreSQL than the generic fatal error code of the result set.
238 03 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
239 * sql/syntax.lisp: Commit patch from Marcus Pearce to improve
240 readtable modifications
242 02 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
243 * sql/syntax.lisp: Check that original reader syntax functions
244 stored before trying to restore them.
246 20 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
247 * sql/syntax.lisp: Apply patch from Marcus Pearce to correctly
248 display sql reader syntax.
250 06 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
251 * uffi/clsql-uffi-loader.lisp, db-mysql/mysql-loader.lisp: Change from using *features*
252 to decide on 64-bit platform and check size of most-positive-fixnum instead.
253 Needed to support clisp amd64.
255 03 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
257 * sql/metaclasses.lisp: Rework slot type's to be more AMOP
258 compatibile. Add warning for a metaclass condition that should
260 * sql/time.lisp: Fixed symbol case inconsistency causing problem
261 in AllegroCL's modern lisp. First sign of bug noted by
262 Joel Reymond on clsql-devel.
263 * clsql.asd: Make time.lisp depend on utils.lisp
265 31 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
266 * db-mysql/mysql-loader.lisp: Apply patch from Marcus Pearce to push
267 *library-file-dir* to CLSQL's library path.
269 30 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
270 * Version 3.7.0: New platforms supported: SBCL/Win32, CLISP/Win32, CLISP/Cygwin,
271 CLISP/Linux x86, CLISP/Linux amd64, OpenMCL amd64. CLISP support requires the
272 latest development versions of CLISP, cffi, and cffi-uffi-compat packages.
273 * Makefile.common: Add OS detection
274 * uffi/make.sh, db-mysql/make.sh: Remove files
275 * uffi/Makefile, db-mysql/Makefile: Add support for cygwin compilation.
276 Refactor to remove need to make.sh shell scripts.
277 * clsql.asd: Add support for loop extensions for clisp. Support clisp via cffi.
278 * sql/loop-extension.lisp: Define loop-record-iteration-path in CLSQL-SYS
279 package rather than CL-USER. Add support for ansi-loop on clisp.
280 * sql/ansi-loop.lisp: New file to support iteration on clisp.
281 * db-mysql/mysql-api.lisp: Remove old mysql C API functions that no
282 longer exist in the mysql client library.
283 * doc/ref-fdml.lisp: Correct default field-type.
284 * sql/expressions.lisp: Use database-output-as-type if value exists for boolean output.
285 Fixed bug with noted with MySQL 5.0.24 and boolean values.
287 28 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
289 * sql/oodml.lisp: Remove high debugging level declaration
291 14 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
293 * sql/generic-postgresql.lisp: Fix assumption that postgres user id
294 is always 1. Fixes problem noted with PostgreSQL 8.1.
296 12 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
298 * sql/generic-postgresql.lisp: Add slot for has-table-pg_roles to
299 lazily cache if pg_roles tables exist. Selectively use SQL from
300 Joel's previous patch if pg_roles table exists. Should now work
301 with both postgresql 7.4 and 8.x.
303 12 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
305 * clsql.asd: Add support for c:\etc\clsql-init.lisp as possible
306 local initialization file
307 * db-mysql/mysql-loader.lisp: Remove former method of using pathnames
309 * db-odbc/odbc-api.lisp: Work-around Allegro/Windows FFI bug
310 that generates incorrect integer return type
311 * sql/generic-postgresql.lisp: Revert patch from Joel Reymont since
312 it fails on versions of postgresql that lack the pg_role table
314 07 Jul 2006 Kevin Rosenberg <kevin@rosenberg.net>
316 * sql/transactions.lisp: Important typo fix from Alexey Antipov
317 for database-start-transaction
319 04 Jul 2006 Kevin Rosenberg <kevin@rosenberg.net>
321 * db-postgresql/postgresql-sql.lisp: Apply patch from Vladimir Sekissov
322 to close connection when failing to connect to database.
323 * sql/generic-postgresql.lisp: Apply patch from Joel Reymont
324 to avoid dropping system views.
325 * sql/oodml.lisp: Apply patch from Joel Reymont to avoid listify
326 a nil value [patch sponsored by Flektor]
327 * clsql-uffi.asd, uffi/make.sh: Patch from Richard Kreuter
328 for netbsd compilation
330 15 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
331 * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
332 slots for def-view-class macro [as reported missing by Thomas Fischbacher].
334 09 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
335 * db-postgresql-socket/postgresql-socket-api.lisp:
336 Apply patch from Marko Kocic adding the socket creation
337 function needed for CLISP.
339 08 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
340 * Version: 3.6.0 (requires UFFI v1.5.11 or greater)
341 * db-oracle/metaclasses.lisp: Patch from James Bielman for
342 checking slot constraints.
343 * db-oracle/oracle-{api,sql}.lisp: Avoid dead pointers on loading
344 saved openmcl images (based on patch from James Bielman)
346 06 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
347 * doc/ref-fdml.xml: Documentation patch from Marcus Pearce for limit keyword
349 03 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
351 * sql/time.lisp: Apply patch from Aleksandar Bakic to extended
352 duration parsing and unparsing to include year and month.
353 * clsql-uffi.asd, uffi/clsql-uffi-loader.lisp: Apply patch from Nathan Bird
354 improving library search on Windows platform.
355 * doc/ref-fdml.xml, /doc/TODO, tests/test-fdml.lisp, tests/test-init.lisp:
356 Apply patch from Marcus Pearce documenting and testing :limit and :offset for SELECT
358 20 Mar 2006 Kevin Rosenberg <kevin@rosenberg.net>
360 * clsql-postgresql-socket.asd,
361 * db-postgresql-socket/postgresql-socket-package.lisp:
362 Use the cl-md5 package on all platforms. Based on report
365 09 Mar 2006 Kevin Rosenberg <kevin@rosenberg.net>
367 * uffi/make.sh, db-mysql/make.sh: Add GNU uname
369 28 Feb 2006 Kevin Rosenberg <kevin@rosenberg.net>
371 * sql/metaclasses.lisp: Apply patch from Friedrich Dominicus to
372 fix accessor for new versions of SBCL
373 * db-oracle/oracle-sql.lisp: Apply patch from James Bielman
374 to improving parsing of time.
375 * db-db2/db2-constants.lisp: Change NULL_HANDLE has suggested
377 * db-oracle/oracle-dbi.lisp: Add support for SQL BIT type
378 as noted by Russ Tyndall.
380 16 Jan 2006 Kevin Rosenberg <kevin@rosenberg.net>
382 * sql/time.lisp: Commit patch from Aleksandar Bakic
383 to properly handle destructive flag
384 * db-postgresql-socket/postgresql-socket-api.lisp: Apply patch
385 from Steven Harris for socket files with SBCL.
386 * sql/pool.lisp: Apply patch from Vladimir Sekissov so that
387 new connections added to the pool do not become the *default-database*
388 * sql/connect.lisp: Optionally set *default-database* for pooled
389 connection when make-default is generalized true.
391 23 Dec 2005 Kevin Rosenberg <kevin@rosenberg.net>
393 * sql/expressions.lisp: Ensure table names are properly escaped
394 before comparing -- fixes bug reported by Asbjørn Bjørnstad
397 02 Dec 2005 Kevin Rosenberg <kevin@rosenberg.net>
398 * sql/generic-postgresql.lisp: improved decoding of table attribute
399 parameters [from Vladimir Sekissov]
400 * sql/metaclasses.lisp: check that metaclass is standard-db-class or
401 it's subclass to prevent adding standard-db-object to supers if
402 somebody in the path has it already when metaclass inherited from
403 standard-db-class. [from Vladimir Sekissov]
405 26 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
407 * tests/test-init.lisp, tests/test-fddl.lisp, tests/test-fdml.lisp,
408 * db-odbc/odbc-api.lisp, db-odbc/odbc-ff-interface.lisp,
409 * db-odbc/odbc-package.lisp, db-odbc/odbc-constants.lisp
410 * db-odbc/odbc-dbi.lisp, db-odbc/odbc-sql.lisp
411 * sql/fddl.lisp, sql/generic-odbc.lisp, sql/db-interface.lisp
412 * sql/transaction.lisp, sql/package.lisp, sql/time.lisp
413 Commit patch from Dominic Robinson providing support for
415 * doc/csql.lisp: Fix typo in slot name
417 24 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
419 * sql/time.lisp: Commit patch from Aleksandar Bakic for
420 correct handling of decode-time usec value
421 * clsql-mysql.asd: Commit patch from Harald Hanche-Olsen to
422 correct the name of the shared library file.
424 16 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
426 * sql/metaclasses.lisp: Avoid calling change-class on
427 effective-slot-definitions on sbcl to conform to sbcl 0.9.6.38
430 15 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
432 * sql/expressions.lisp: Patch from James Biel to add subselects
434 14 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
435 * Version 3.4.4 [ Requires UFFI 1.5.7+]
436 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
437 to fix lifetime of foreign strings for Oracle calls
439 13 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
441 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
442 to improve performance
444 12 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
446 * clsql-uffi.asd: Patch from James Biel improving loading
447 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
448 to support 64-bit lisps
450 12 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
452 * sql/expressions.lisp: Escape numbers to SQL strings
455 11 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
456 * Version 3.4: Add MySQL 5 support
457 * db-mysql/mysql-client-info.lisp: Recognize MySQL 5
458 * db-mysql/mysql-sql.lisp: Add support for views in MySQL 5
459 * doc/mysql-macosx-notes.txt: New document from Martin Brooks
461 7 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
462 * src/time.lisp: Apply patch from Aleksandar Bakic for ROLL
464 * BUGS: Added report for update-object-joins by Aleksandar Bakic
466 4 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
467 * Version 3.3.4 [UFFI >= 1.5.5 needed]
468 * db-odbc/odbc-api.lisp: Apply patch from Yaroslav Kavenchuk
469 to add missing #\' character.
470 * clsql.asd: Add support for CLSQLINIT environmental variable,
471 based on patch from Yaroslav Kavenchcuk. New version of UFFI
474 30 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
476 * sql/oodml.lisp: Apply patch from Drew Crampsie to fix
477 update-objects-joins when using the :target-slot attribute
479 26 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
481 * sql/expressions.lisp: Avoid parenthesis on multiple group-by fields
482 as noted by Harald Hanche-Olsen.
483 * tests/test-syntax.lisp: Add test for multiple field group-by
485 25 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
487 * sql/time.lisp: Commit patch from Alan Shields to
488 display escape string on wall-time display only when *print-escape*
491 11 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
492 * sql/metaclasses.lisp: Commit patch from Will to
493 properly set db-reader slot in effective-slot-definition
494 * sql/expressions.lisp: Commit patch from Alan Shields
495 adding make-load-form for sql-relational-exp
496 * sql/generic-postgresql.lisp: Commit patch from Aleksandar Bakic
497 adding support for new NUMBER type
499 17 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
501 * sql/time.lisp: Apply patch from Alan Shields adding DATE type.
502 * doc/ref-ooddl.xml: Documentation of new type
503 * notes/add-type-hints.txt: New file from Alan Shields
504 * sql/fddl.lisp: Add owner keyword to drop-table as suggested
506 * db-postgresql-socket/postgresql-socket-sql.lisp: Fix database-probe
507 as noted by Francis Leboutte. Similar fix applied to db-mysql and
509 * sql/expressions.lisp: Allow string table names for output as
510 contributed by Francis Leboutte.
511 * examples/clsql-tutorial.lisp: Support :postgresql-socket as noted
514 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
516 * doc/into.xml: Change download from ftp to http protocol
518 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
520 * db-oracle/oracle-sql.lisp: Correction for v3.2.2 changes by
523 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
525 * db-oracle/oracle-sql.lisp: Add check for zero increment as
526 suggested by Edi Weitz. Add missing database-sequence-last function
527 as noted and tested by Edi Weitz. Ensure that UFFI buffer is freed
528 in handle-oci-error. Add unwind-protect to sql-stmt-exec. Free UFFI
529 stmthp object when query cursor is freed with OCI.
531 22 Aug 2005 Kevin Rosenberg <kevin@rosenberg.net>
532 * uffi/clsql-uffi-loader.lisp: Commit patch from astor@pvv.ntnu.no to
533 display search path when error occurs loading foreign library.
535 05 Jul 2005 Kevin Rosenberg <kevin@rosenberg.net>
537 * doc/appendix.xml: Incorporate Edi Weitz's notes into documentation
538 with changes to support case-sensitive lisp implementations. Add
539 paragraph on using /etc/clsql-init.lisp site initialization file.
540 * clsql.asd: Load file /etc/clsql-init.lisp, if it
541 exists, after package is loaded to set site-specific configuration
543 2005-06-24 Edi Weitz <edi@agharta.de>
544 * sql/db-interface.lisp: Added new special variable
545 *FOREIGN-LIBRARY-SEARCH-PATHS* and function PUSH-LIBRARY-PATH to
547 * sql/package.lisp: Export these.
548 * uffi/clsql-uffi-loader.lisp: Used new variable; changed order of
550 * db-mysql/mysql-loader.lisp: Changed order of libs.
552 09 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
553 * Version 3.2.0: REQUIRES UFFI VERSION 1.4.38 OR HIGHER
554 * clsql-mysql.asd: Renamed clsql/mysql interface library from
556 * clsql-uffi.asd: Renamed clsql/uffi interface library from
558 * uffi/clsql_uffi.c: Renamed from uffi.c
559 * db-mysql/clsql_mysql.c: Renamed from mysql.c
560 * db-mysql/Makefile, db-mysql/Makefile.msvc, db-mysql/mysql-loader.lisp: Rename shared library
561 * uffi/Makefile, uffi/Makefile.msvc, uffi/uffi-loader.lisp: Rename shared library
562 * db-*/*-loader.lisp: Commit big patch from Edi Weitz to remove
563 absolute pathnames when searching for foreign libraries.
564 foreign library loading.
566 07 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
568 * db-mysql/mysql-api.lisp: Commit patch from Espen Wiborn
569 to support UTF-8 on sbcl unicode.
571 18 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
573 * sql/time.lisp: Fix bug in roll that caused failure in test suite
575 17 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
577 * sql/oodml.lisp: Properly handle when db-writer is NIL
579 11 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
580 * sql/expressions.lisp: Avoid using simple-string declaration when
581 a non-simple string may be encountered. [issue noted by
582 will@cesmail.net] Add a simple-string declaration for a local
585 06 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
586 * sql/oodml.lisp: Change db-writer and db-reader processing to accept
587 a symbol as well as function to serve as a function designator
588 [issue noted by will@cesmail.net]
590 05 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
592 * sql/time.lisp: Fix error in submitted patch which caused error
593 in timestrings with 19 or less characters.
595 27 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
597 * db-postgresql-socket/postgresql-api.lisp: Commit patch from Tim Howe
598 to fix read-socket-sequence on non-sb-unicode sbcl.
600 26 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
602 * sql/time.lisp: Commit patch from Daniel Lowe which adds support
603 for fractional seconds which is required by PostgreSQL
604 * db-postgresql/postgresql-loader.lisp: Add library path for Windows
606 25 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
607 * sql/csql.lisp: Update URL for "SQL for Web Dummies" [Sean Champ]
609 24 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
611 * sql/syntax: Commit patch from Alan Shields to supress reader
612 macros when *read-supress* is T.
614 13 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
616 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
617 from Janis Dzerins to support unicode on SBCL
618 * sql/syntax: Commit patch from Alan Shields to improve reporting
619 of invalid syntax statements.
621 06 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
623 * db-mysql/mysql-sql.lisp: Add port to connection specification
624 based on patch from Dave Watson
625 * doc/appendix.xml: Document MySQL port parameter to connection spec
627 03 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
629 * sql/time.lisp: Patch from Keith James for parsing ISO-8601 timestamps
631 18 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
632 * sql/oodml.lisp: Add missing database argument [Patch from
635 03 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
636 * sql/oodml.lisp: Improve database priority in
637 update-records-from-instance [Patch from Walter C. Pelissero]
639 17 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
641 * sql/package.lisp: Export database-reconnect from clsql-sys
643 08 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
644 * sql/oodml.lisp: Use explicit database in fault-join-target-slot
645 [Patch from Walter Pelissero]
647 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
648 * db-postgresql/postgresql-loader.lisp: Add additional
649 directories to Fink on darwin [patch from Cyrus Harmon].
651 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
653 * sql/oodml.lisp: Clear view instance cache when delete-instance-records
654 is invoked [suggested by Alan Shutko].
655 * uffi/clsql-uffi-loader.lisp: Improvements for loading with SBCL X86-64
656 * sql/metaclasses.lisp: Don't change case of a :base-table string supplied
657 to def-view-class [fix suggested by Fred Gilham].
659 25 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
660 * tests/*.lisp: Change Vladamir to Vladimir per Cyrus Harmon's
662 * sql/utils.lisp: Fix unnecessary consing noted by Fred Gilham.
663 * doc/*.xml: Fix spelling of Vladimir
665 24 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
666 * doc/bookinfo.xml, doc/csql.xml, doc/intro.xml: Update links
667 now that LispWorks is an independant company [noted by
670 22 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
671 * db-sqlite/sqlite-sql.lisp, db-sqlite3/sqlite3-sql.lisp:
672 Better support for 64 bit environments
674 05 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
676 * sql/metaclass.lisp: Make t the default value of :set
677 [noted by Cyrus Harmon]
679 28 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
681 * uffi/clsql-uffi.lisp: Add support for unsigned integers
682 * db-mysql/mysql-sql.lisp: Add support for detecting/marking
683 unsigned integers. Apply patch from Yannick Gingras to
684 implement database-sequence-last.
686 26 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
687 * doc/ref-fdml.lisp: Fix variable tag name to varname
688 [noted by Eduardo Munoz]
689 * db-mysql/mysql-loader.lisp: Handle library paths for 64-bit systems
691 06 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
693 * sql/ooddl.lisp: Accept patch from Klaus Harbo for
695 * sql/metaclass.lisp: Remove unnecssary (and runtime error
696 causing) change-class invocation when running on CLISP.
697 * db-mysql/mysql-api.lisp: Commit patch from Paul Werkowski
698 to fix structure name.
699 * sql/database.lisp: More specific error message with trying
700 to use a database value of NIL.
701 * sql/expressions.lisp: Accept a string for the table name
702 in (sql-output sql-delete database) [suggested by Ed Symanzik].
704 11 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
706 * sql/generic-postgresql.lisp: Commit patch from Chris Capel to
707 ignore columns which have been dropped.
708 * clsql-postgresql-socket.asd, db-postgresql-socket/postgresql-socket-package.lisp:
709 Use sb-md5 package on SBCL, recommended by Chris Capel
711 09 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
712 * Version 3.1.0 released: New SQLite3 backend by Aurelio Bignoli
713 * doc/appendix.xml: Document SQLITE3 backend, patch by Aurelio Bignoli
714 * sql/operations.lisp: Add lower and upper SQL functions [Daniel Lowe].
716 08 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
717 * sql/expressions.lisp: Fix slot name [thanks to Daniel Lowe]
719 31 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
720 * clsql-sqlite3, db-sqlite3/*: NEW BACKEND
721 contributed by Aurelio Bignoli
723 23 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
724 * sql/oodml.lisp: Commit patch from Walter Pelis
725 to use an object's database for a select on its slot.
727 20 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
728 * uffi/uffi.c, uffi/clsql-uffi.lisp: Commit patch from
729 Aurelio Bignoli to fix negative 64-bit integers
731 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
732 * db-mysql/mysql.c: Fix parameters in bind_param call
734 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
735 * uffi/clsql-uffi.lisp: Add support for :blob result-type
736 * db-mysql/mysql-sql.lisp: Add support for :blob
739 04 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
740 * db-mysql/mysql-sql.lisp, db-db2/db2-sql.lisp: Add
741 missing quotes for types in code that is still in development
742 (thanks to Joerg Hoehle)
744 03 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
745 * Version 3.0.8 released
746 * db-sqlite/sqlite-*.lisp: Apply patch from
747 Aurelio Bignoli with improvements
749 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
750 * multiple: Apply patch from Joerg Hoehle with multiple
753 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
754 * Version 3.0.7 released
755 * sql/oodml.lisp, sql/package.lisp, db-mysql/mysql-objects.lisp:
756 Add support for mediumint.
757 * sql/metaclass.lisp: Rework CLISP MOP handling
758 * sql/ooddl.lisp: Work-around to have CLISP finalize standard-db-class
760 28 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
761 * sql/metaclass.lisp: Support CLISP's attribute name
762 for the type field in direct class slots
764 27 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
765 * Version 3.0.6 released
766 * BUGS: New file. Document suspected SIGPIPE
767 interaction between SBCL and libpq used in
769 * doc/ref-fdml.lisp: Document the :caching and :refresh
770 keywords of the SELECT function.
771 * doc/ref-ooddml.lisp: Document the new *default-caching*
773 * sql/package.lisp: Export *default-caching*
774 * sql/oodml.lisp: Use *default-caching* to
775 control default caching behavior.
777 21 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
778 * Version 3.0.5 release
779 * doc/appendix.xml: Add note about loading Oracle8 version
780 * db-oracle/oracle-loader.lisp: Support Oracle8 based on
781 data from David Young.
783 10 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
784 * doc/Makefile, doc/catalog-darwin.xml: Apply
785 patch from Cyrus Harmon for building docs on Mac OS X
786 * sql/package.lisp: Add new (pre-release) clisp MOP package
788 09 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
789 * Version 3.0.4 Release
790 * multiple: Remove superfluous quotes in UFFI def-type
791 and def-foreign-type forms.
793 07 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
794 * Version 3.0.3 Release
795 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
796 from Tagore Smith to call force-output after sending authentication
797 * db-odbc/odbc-api.lisp: Move ODBC v3 conversons
798 * db-odbc/odbc-sql.lisp: Load mysql or postgresql package when connecting
799 to a database of that type so that functions that indicate capabilities of
800 database are available.
802 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
803 * db-odbc/odbc-api.lisp: More conversions to ODBC v3
805 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
806 * Version 3.0.2 Release
807 * TODO: Add note about ODBC on Windows
808 * db-odbc/odbc-loader.lisp: Add /winnt/system32/ to
810 * db-odbc/odbc-ff-interface.lisp: Change the return type
811 of SQLSetEnvAttr to :short
813 02 Sep 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
814 * examples/clsql-tutorial.lisp: added missing initarg for the COMPANYID
815 slot of the employee View Class definition [reported by Franz Deuzer].
817 01 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
818 * Version 3.0.1 Release
819 * tests/test-init.lisp: Add second join class to employee-address
820 to test a class with two join slots.
821 * sql/oodml.lisp: Fix find-all function for a class with multiple
823 * TODO: Remove need to test/fix multiple join classes
825 27 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
826 * db-mysql/Makefile, db-mysql/mysql-loader.lisp: accept patch
827 from Jon Buffington for file locations on Darwin.
829 17 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
830 * sql/db-interface.lisp: Improve messages when functions
831 are passed a database object, but the method is not specialized
832 for that database type.
833 * sql/metaclasses.lisp: Fix inline declaration (reported by
836 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
837 * TODO: Add bug report about SQL generation with a table
838 containing two join slots.
839 * sql/oodml.lisp: Add optional size to VARCHAR type
841 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
842 * Version 3.0.0 Release
843 * sql/expressions.lisp: Change declaration that
844 caused error on openmcl
845 * db-aodbc/aodbc-sql.lisp: Fix storage location
846 of odbc connection. Specialize database-query since
847 dbi's :types keyword is different than generic-odbc's
848 :result-types keyword
849 * sql/db-interface.lisp: Add warnings for methods
850 not specialized by a db backends
851 * tests/test-fddl.lisp: Fix case of symbols to support
852 case-sensitive Allegro
853 * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
854 * tests/test-init.lisp: Note that odbc driver for postgresql
855 doesn't properly handle table ownership
856 * LATEST-TEST-RESULTS: update with version 3.0.0
858 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
859 * sql/expressions.lisp: conditionalise escaping of backslash in
860 generated SQL strings on backend.
861 * tests/test-fdml.lisp: test for escaping of backslash.
862 * sql/oodml.lisp: minor tidying in FIND-ALL.
864 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
865 * NEWS: Initial 3.0 announcement draft
866 * README: Expand acknowledgements of incorporated projects
867 * CONTRIBUTORS: Further document Marcus Pearce contributions
869 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
870 * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
871 to print floats with the exponent markers removed.
872 * tests/test-oodml.lisp: add tests for updating records with floats.
874 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
875 * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for
876 CommonSQL compatibility.
877 * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since
878 this column constraint syntax is not supported.
879 * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
880 from EMPLID to LAST_NAME since Oracle complains that EMPLID is already
883 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
884 * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES.
885 * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES.
886 * doc/ref-ooddl.xml: minor changes to syntax and examples entries
888 * doc/ref-oodml.xml: add examples for OODML.
889 * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument
891 * sql/metaclasses.lisp: update docstrings.
892 * tests/test-init.lisp: change :db-constraints for emplid to
893 (:not-null :unique) as a temporary test for multiple column constraints
895 * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and
896 return type of (SETF SLOT-VALUE-USING-CLASS).
897 * TODO, doc/TODO: remove items done.
900 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
901 * sql/oodml.lisp: on Lispworks, use weak valued hash tables for
903 * sql/expressions.lisp: Fix SQL generation for the symbol NIL.
905 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
906 * sql/expressions.lisp: reactivate caching of generated SQL strings.
907 Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY
908 here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT,
909 OUTPUT-SQL and DATABASE-OUTPUT-SQL.
910 * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move
911 methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to
912 sql/expressions.lisp.
913 * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in
914 DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT.
915 * sql/generics.lisp: add docstrings.
917 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
919 * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
920 code in favor of fixing UFFI with James Bielman's patch
922 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
924 * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
927 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
928 * README, INSTALL: update URLs. Minor updates to descriptions.
929 * tests/README: remove stuff about editing contexts.
931 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
932 * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to
933 *default-string-length*
935 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
936 * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping
938 * tests/test-fddl.lisp: add tests for column and table constraints
939 in CREATE-TABLE. Add test for OWNER keyword parameter to
940 LIST-TABLES (assuming same underlying machinery in other FDDL
942 * tests/test-init.lisp: restrict above test to postgresql and oracle.
944 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
945 * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio
948 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
949 * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
951 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
953 * doc/*.xml: documentation additionals and fixes so
954 that docbook passes xmllint.
956 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
958 * sql/fdml.lisp: Apply patch from Kim Minh Kaplan
959 to change escaping of single quotes. Mild optimizations
960 for escaped string output.
961 * doc/ref-ooddl.lisp: documentation additions
962 * doc/ref-oodml.lisp: Add purpose to functions
963 * TODO: Add need to test single quote escaping
965 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
966 * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
967 * sql/ooddl.lisp: Added SMALLINT type
968 * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
969 * db-mysql/mysql-objects.lisp: Added SMALLINT type
970 * sql/package.lisp: Export SMALLINT
971 * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
974 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
975 * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the
976 recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS
977 View Class slot option.
978 * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class
979 slot option accepting a list of constraints [reported by Travis Cross].
980 * doc/ref-fddl.xml: add some examples of specifying column and
981 table constraints to the documentation for CREATE-TABLE.
982 * TODO: add note about adding tests for table/column constraints. Add
983 optimisation note about using cached attribute types in insert/update
986 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
987 * doc/appendix.xml: add notes about idiosyncrasies/unsupported
988 features and so on the documentation for each backend.
989 * doc/TODO: remove items done.
990 * doc/ref-transaction.xml: add note in introduction about
991 autocommit mode as a difference from CommonSQL.
992 * doc/ref-syntax.xml: add notes about SQL syntax state functions
993 being macros in CLSQL. Add note about SQL operators which are
996 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
997 * Version 2.11.12 released
998 * doc/ref-recording.xml: document SQL I/O recording.
999 * doc/ref-prepared.xml: new file for documenting prepared statements.
1000 * doc/clsql.xml: comment out include for large object and CLSQL-SYS
1002 * doc/ref-conditions.xml: complete documentation of condition system.
1003 * doc/global-index.xml: add symbols from condition system and remove
1004 those from LOB and prepared statement APIs.
1005 * doc/ref-fdml.xml: complete documentation of FDML.
1006 * doc/glossary.xml: add View Class.
1007 * doc/TODO: remove items done.
1008 * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR.
1009 * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export
1010 additional slot accessors for condition classes.
1012 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1013 * doc/ref-ooddl.lisp: Add documentation
1014 * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
1015 and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
1016 * doc/oodml.lisp: Rename references to new name of
1017 *DEFAULT-STRING-LENGTH*
1019 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1020 * doc/ref-transaction.xml: document transaction handling.
1021 * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and
1022 START-TRANSACTION return NIL as per the CommonSQL spec. Modify
1023 ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is
1024 passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
1027 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1028 * doc/ref-fdml.xml: document the FDML.
1029 * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here.
1030 * sql/ooddl.lisp: moved *default-varchar-length* to here from
1031 oodml.lisp and renamed to *default-string-length*
1033 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1034 * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
1035 to allow specifying transactionless table creation
1036 * doc/ref-oodml.lisp: Add new keyword to signature of
1039 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1041 * sql/expressions.lisp: when removing duplicate table identifiers
1042 in the FROM clause of a query, check both table name and alias
1044 * sql/fdml.lisp: remove DESCRIBE-TABLE.
1045 * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and
1046 DATABASE-DESCRIBE-TABLE.
1047 * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE
1048 and LIST-TABLE-INDEXES.
1049 * sql/generic-postgresql.lisp: add reader conditional #+nil for
1050 DATABASE-DESCRIBE-TABLE and comment about its uses for
1051 re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query
1052 returning type info for all attributes.
1053 Fix DATABASE-SEQUENCE-LAST.
1054 * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine
1055 LIST-INDEXES with additional keyword parameter :ON.
1056 * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3
1057 with LIST-INDEXES (with :ON parameter).
1058 * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES.
1059 * doc/ref-connect.xml: minor tidying.
1060 * doc/ref-fddl.xml: document the FDDL.
1061 * doc/TODO: removed items done. Moved note about transaction handling
1063 * TODO: move note about transaction handling to doc/TODO. Added
1064 optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES.
1066 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1068 * sql/syntax.lisp: updated docstrings.
1069 * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL
1071 * sql/database.lisp: add docstrings for CREATE-DATABASE,
1072 DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace
1073 CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR.
1074 * doc/ref-syntax.xml, doc/global-index.xml: minor tidying.
1075 * doc/ref-connect.xml: document connection/initialisation.
1076 * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here.
1077 * doc/TODO: remove items done.
1078 * Makefile: add db-oracle to to SUBDIRS.
1080 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1081 * sql/oodml.lisp: Add new serialization functions:
1082 WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
1083 * sql/expressions.lisp: Avoid duplicate FROM names when selecting
1084 from a table that has more than one primary index.
1085 * sql/conditions.lisp: Fix printing of closed-database error
1087 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1089 * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
1090 * sql/transactions.lisp: Correctly set slots of SQL-WARNING
1092 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1093 * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses
1094 of SQL-EXPRESSION from CLSQL-SYS.
1095 * sql/syntax.lisp: make error signalled in SQL-OPERATION an
1096 SQL-USER-ERROR. Make SQL-OPERATOR return just one value.
1097 * doc/Makefile: added Mandrake linux.
1098 * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files.
1099 * doc/appendix.xml: fixed little typo (adsf).
1100 * doc/glossary.xml: removed closed-database and note about
1101 sql-expression, added some entries.
1102 * doc/ref-syntax.xml: documented the symbolic SQL syntax.
1104 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1106 * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
1107 * multiple: Add generalized-boolean type as requested by
1109 * TODO: Added need for test of generalized-boolean
1111 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1112 * Version 2.11.7 released
1113 * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
1114 for loading with clc-register-user-package. Remove personal
1115 directory from path lisp.
1116 * db-mysql/mysql-loader.lisp: Similar changes
1118 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1119 * Version 2.11.6 released
1120 * sql/oodml.lisp: Commit patch from Edi Weitz
1121 to fix symbol writing/reading
1122 * TODO: Add need for symbol slot test
1124 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1125 * sql/package.lisp: remove duplicate export of
1126 *CACHE-TABLE-QUERIES-DEFAULT*.
1127 * doc/ref-*.xml, doc/global-index.xml: new files documenting
1128 the CommonSQL compatible api.
1129 * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to
1130 reflect changes in return values of WITH-TRANSACTION.
1132 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1133 * tests/README: Fix filename [reported by Bill Clementson]
1134 * sql/transactions.lisp: Apply return value patch from
1135 Edi Weitz for WITH-TRANSACTION
1136 * tests/README: Remove ptester package requirement (as noted
1139 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1140 * Version 2.11.5 released
1141 * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
1142 Select connection-spec based on connection type. Bugs reported by
1144 * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
1145 * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
1146 name on Windows, add \bin\ directory to search path
1148 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1149 * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in
1151 * sql/operations.lisp: substr now generates SUBSTR for use on
1152 Oracle; added a new operator SUBSTRING for use elsewhere. minus
1153 now generates MINUS for use on Oracle. Nvl signals an error if
1154 not called with exactly 2 arguments. Add concat function for use
1155 instead of the || operator on MySQL and Oracle.
1156 * sql/syntax.lisp: changed internal symbol for the || operator to
1158 * sql/expressions.lisp: removed redundant and unused functions
1159 GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
1160 (cf. MAKE-CONSTRAINTS-DESCRIPTION).
1161 * sql/generics.lisp: removed generic function for
1162 DATABASE-CONSTRAINT-DESCRIPTION (see above).
1163 * tests/test-syntax.lisp: modified/added tests according to changes
1164 in sql/operations.lisp.
1165 * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test
1167 * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP
1168 and SQL-USERENV to the shared exports list. Removed
1169 ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION,
1170 DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION,
1171 TRANSACTION-LEVEL, TRANSACTION, RECORD-SQL-COMMAND and
1172 RECORD-SQL-RESULT from shared exports list.
1174 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1175 * db-postgresql/postgresl-sql.lisp: Avoid computing
1176 result-types lisp when nil result-types. Return only
1177 one value when field-types nil.
1178 * db-mysql/mysql-sql.lisp: Simple queries now
1179 working with prepared statements.
1181 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1182 * Version 2.11.4: MySQL 4.1 now passes all tests
1183 * sql/package.lisp: Add API for prepared statments.
1184 * sql/fdml.lisp: Change implicit flatp processing
1185 for string map-query for greater CommonSQL conformance.
1186 Add high-high API for prepared statements.
1187 * tests/test-basic.lisp: Add test for map-query and
1189 * sql/transactions.lisp: Change name/semantics of
1190 autocommit to set-autocommit.
1191 * sql/generic-postgresql.lisp: Add support for
1192 prepared statements.
1193 * tests/test-internal.lisp: New file
1194 * sql/odbc-api.lisp: Update to using ODBC V3 protocol
1195 * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
1196 Controller invocation.
1197 * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
1198 * sql/expressions.lisp: Avoid emitting double parenthesis when a
1199 function contains a subselect.
1201 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1203 * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
1204 type (setf slot-value-using-class)
1205 * TODO: add not that need a test case for the above fix
1206 * db-sqlite: Remove clisp support since clisp can not run CLSQL
1208 * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as
1209 introduced in Oracle8. Leave older code selectable by a reader macro
1210 for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
1211 uses OCILogon and does not the more complex session management.
1213 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1214 * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
1215 * test/test-init.lisp: Add universal-time slot to person.
1216 * test/test-fddl.lisp: Add tests of universal-time slot
1217 * test/test-ooddl.lisp: Test universal-time slot in an object
1218 * TODO: Remove need for universal-time test
1219 * debian/rules, debian/control: Add cl-sql-oracle binary package
1220 * doc/appendix.xml: Add Oracle backend information
1221 * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
1222 universal-time. Convert BIGINT CLSQL type to CHAR SQL type
1223 * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
1224 * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
1225 for map-query to reflect changed in arguments to be CommonSQL compatible.
1226 Updated old clsql conditions to new CommonSQL compatible conditions.
1228 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1229 * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
1230 type. Added *default-varchar-length* rather than previous hard-coded
1231 varchar length. Remove 'simple-string and 'simple-base-string since they
1232 are subtypes of 'string.
1233 * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
1234 local hard-coded value.
1235 * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
1236 type string. Convert specified-type (CHAR n) to string. Convert specified-type
1237 CHAR to lisp type character.
1238 * sql/generic-postgresql.lisp: (string n) => (CHAR n)
1239 * sql/operations.lisp: Add userenv
1240 * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
1242 * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
1243 * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
1244 * test/test-init.lisp: Add large table with bigint slot
1246 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1247 * Version 2.11.1 released: Much simpler Oracle client library loading.
1248 Now uses ORACLE_HOME environmental variable as well as tests default
1249 path for Oracle Instant Client.
1251 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1252 * Version 2.11.0 released: Full Oracle support. All tests pass
1253 * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
1254 * tests/test-init.lisp: capitalize odbc backend name in banner
1255 * CONTRIBUTORS: Add note about Marcus' excellent work
1256 * sql/oodml.lisp: Removed old stub function
1257 * clsql.asd: Use module names in current package rather than keyword package
1258 * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
1259 in setting sequence position. Make autocommits more efficient.
1260 * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax
1261 * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
1262 strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
1263 and read-sql-value for NUMBER and CHAR.
1264 * sql/base-classes.lisp: Add autocommit slot
1265 * sql/transaction.lisp: Added autocommit processing, mild cleaning.
1266 * doc/intro.xml: Add Oracle
1268 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk)
1269 * db-postgresql-socket/postgresql-socket-sql.lisp: replace
1270 CLSQL-SIMPLE-WARNING with SQL-WARNING.
1271 * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with
1273 * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR.
1274 * clsql.asd: reworked module structure in package definition and
1275 file names to better reflect component functionality.
1276 * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to
1277 exports list. Removed duplicate and obsolete exports. Exported
1278 remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT,
1279 SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and
1280 according to whether they are specified by CommonSQL or CLSQL
1282 * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with
1284 * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND
1285 here from basic-sql.lisp.
1286 * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted).
1287 * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted).
1288 * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
1290 * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted).
1291 * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted).
1293 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1294 * Version 2.10.22 released
1295 * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
1296 has reversed class slots, change the default for ordered-class-slots so that slots
1297 are now in the same order an in the def-view-class.
1298 * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
1299 * test/test-fddl.lisp: Add two tests for mixed case names
1300 * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
1301 for computed fields, this will require some adjustment to the test suite which
1302 in many cases expects integers.
1303 * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
1305 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1306 * Version 2.10.21 released
1307 * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
1308 db-odbc, and db-aodbc.
1309 * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
1310 DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
1311 * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
1312 * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to
1313 sql/generic-odbc.lisp
1314 * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp:
1315 Move common code to sql/generic-postgresql.lisp
1316 * sql/classes.lisp: honor case of string tables when outputting queries
1317 * sql/objects.lisp: Add database type to default database-get-type-specifier method
1318 * sql/sql.lisp: Add database type to default database-abort-transaction method
1319 * db-mysql/mysql-objects.lisp: New file
1320 * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
1321 * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
1323 * test/test-fdml.lisp: String table names are now case sensitive, so convert to
1324 default db case for FDML/SELECT/25
1326 22 May 2004 Kevin Rosenberg
1327 * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
1328 * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
1329 and string identifiers with non-default case
1330 * sql/table.lisp: Don't convert string table name to a symbol.
1331 * sql/classes.lisp: Honor case of string identifiers
1332 * sql/sql.lisp: Ensure recyclebin is purged for Oracle in
1334 * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
1335 of owner phrases. Obtain server and client versions.
1336 * db-oracle/oracle-objects.lisp: Fix type specifiers
1337 * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
1338 * tests/test-init.lisp: Properly get username from Oracle connection-spec
1340 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1341 * sql/generics.lisp: reworked docstrings. Remove generics for
1342 ADD-TO-RELATION and REMOVE-FROM-RELATION.
1343 * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS
1344 to UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
1345 * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS
1346 for CommonSQL compatibility. Remove ADD-TO-RELATION and
1347 REMOVE-FROM-RELATION.
1348 * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to
1349 UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
1350 * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS.
1351 * sql/conditions.lisp: add documentation for conditions. Add
1352 SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility.
1354 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1355 * sql/basic-sql.lisp: reworked docstrings.
1356 * sql/transactions.lisp: reworked docstrings.
1357 * sql/sql.lisp: reworked docstrings.
1358 * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE
1359 sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility.
1360 * sql/database.lisp: reworked docstrings.
1361 * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P
1362 and FDML extensions and database extensions.
1364 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1365 * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
1366 * db-oracle/make9.sh: add makefile for building with Oracle 9 client
1368 * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
1369 Oracle versions with the PURGE option required for drop table. This needs
1370 to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
1372 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1373 * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE.
1374 * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION.
1375 * sql/table.lisp: reworked docstrings.
1376 * sql/objects.lisp: moved *default-update-objects-max-len* here from
1378 * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE,
1379 DROP-VIEW and DROP-INDEX and the use of the :transactions and
1380 :constraints keyword args to CREATE-TABLE.
1381 * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now
1382 CommonSQL compatible with respect to column constraints.
1384 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1385 * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
1386 Requires UFFI 1.5.0 or higher
1388 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1390 * sql/conditions.lisp: Fix cerror
1392 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1393 * Version 2.10.18 released: New condition hierarchy to be compatible
1394 with CommonSQL -- not backward compatible with previous CLSQL.
1395 * sql/db-interface.lisp: Add more default methods
1396 * sql/objects.lisp: Add explicit table name to order-by parameters
1397 in find-all when only one table to avoid selecting a duplicate row.
1398 Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
1399 as previous logic was adding two fields (foo asc) to SELECT query.
1400 Make :result-types :auto be the default for object selections.
1401 Properly handle caching key when using multiple order-by with asc/desc
1403 * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
1405 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1406 * sql/recording.lisp: reworked docstrings.
1407 * sql/syntax.lisp: reworked docstrings.
1408 * doc/TODO: added notes about extensions to SQL-RECORDING-P and the
1409 SQL syntax state functions being macros.
1411 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1412 * sql/package.lisp: Export initialize-database-type and
1413 *initialize-database-types* from CLSQL package.
1414 * sql/conditions.lisp: Add new CommonSQL compatible conditions,
1415 remove old CLSQL conditions.
1416 * sql/loop-extensions.lisp: Make errors of type sql-user-error
1417 * */*.lisp: Convert to from old to new conditions
1419 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1420 * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
1421 To handle this difference, will need to add a new database-drop-table
1423 * db-oracle/oracle-sql.lisp: Move server-version and
1424 major-version-number to database object to allow multiple connections
1425 to Oracle servers of different versions.
1427 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1428 * TODO: moved notes about backends to doc/TODO.
1429 * doc/TODO: added notes about backends and select extensions.
1430 * sql/base-classes.lisp: remove obsolete schema slot in database
1433 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1434 * db-oracle/oracle-api: Add OCIServerVersion
1435 * db-oracle/oracle-sql: Query and store server version on connect
1436 * sql/db-interface.lisp: Add new db-type-has-bigint? generic
1437 function to handle OCI's lack of bigint support
1438 * test/test-basic.lisp: Separate bigint testing
1439 * test/test-utils.lisp: Add oracle to specs and list of backends
1440 * doc/TODO: New file
1441 * test/test-fdml.lisp: Added FDML/SELECT/34 to test
1442 run-time instantiation of variables in reader macros.
1443 * TODO: Remove item already complete. Add note about
1446 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1447 * sql/syntax.lisp: added condition to the reader macro to treat [*]
1448 as a column identifier (rather than an operation) for CommonSQL
1450 * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION
1451 keword args to SELECT, [*] as column identifier, new MAP-QUERY
1452 behaviour and the ANY and ALL operators in subqueries.
1453 * tests/test-init.lisp: add set-operation and subquery tests to
1454 appropriate skip lists.
1455 * sql/objects.lisp: remove redundant and non CommonSQL compatible
1456 ORDER-BY-DESCENDING keyword argument for SELECT.
1457 * sql/classes.lisp: remove redundant and non CommonSQL compatible
1458 ORDER-BY-DESCENDING keyword argument for SELECT.
1459 * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT
1460 with object queries.
1462 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1463 * sql/db-interface.lisp: Add new db-type-has-union?
1464 since Mysql 3.23 does not support unions.
1465 * sql/test-init.lisp: Don't try union tests on database
1466 backends which do not support it.
1467 * db-oracle/*.lisp: initial port to UFFI
1468 * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
1469 implement REFRESH for SELECT.
1470 * tests/test-oodml.lisp: Add tests for deferred retrieval,
1471 caching, refresh, and update-object-joins
1472 * tests/test-init.lisp: Add deferred-employee-address class
1474 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1475 * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add
1476 COALESCE operator and make NVL a synonym for this. Make ANY, SOME,
1477 ALL and EXISTS generate function expressions so they output the
1479 * sql/classes.lisp: SELECT now generates appropriate SQL when
1480 passed the SET-OPERATION and ALL keyword arguments.
1481 * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now
1482 accepts ordering constraints as pairs of the form (column direction)
1483 where direction may be :ASC or :DESC.
1484 * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL.
1485 Correct tests for ANY, SOME, ALL and EXISTS.
1486 * tests/test-fdml.lisp: added test for COALESCE.
1487 * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION
1488 using funcall unless QUERY-EXPRESSION returns one column and its
1489 FLATP slot is not nil in which case apply is used.
1490 * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the
1492 * TODO: remove items done.
1493 * db-postgresql/postgresql-sql.lisp: no need to reverse results in
1494 DATABASE-LIST-ATTRIBUTES.
1495 * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
1496 results in DATABASE-LIST-ATTRIBUTES.
1498 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1499 * sql/classes.lisp: SELECT now accepts table identifiers as strings
1500 for CommonSQL compliance. Add support for qualified sql identifiers
1501 with aliased table names.
1502 * tests/test-fdml.lisp: added tests for table identifiers as strings
1503 in SELECT and for aliased definitions.
1504 * tests/test-syntax.lisp: added tests for alias definitions.
1506 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1507 * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and
1508 field-names set to nil.
1509 * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly
1510 with null attribute values.
1511 * sql/operations.lisp: modify SQL concatenation operator to accept
1512 unescaped || symbol.
1513 * sql/syntax.lisp: modify sql reader macro function to accept
1514 unescaped sql concatenation operator.
1515 * tests/test-fdml.lisp: unescape sql concatenation operator.
1516 * tests/test-syntax.lisp: unescape sql concatenation operator.
1517 * TODO: remove items done. Add notes about SQLITE/MYSQL backends.
1518 Note to add test for universal-time. Note about difference from
1519 CommonSQL in transaction handling.
1521 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1522 * tests/test-init.lisp: Add deferred-employee-address
1524 * tests/test-oodml.lisp: Add deferred retrieval testgs
1526 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1528 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
1529 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
1530 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
1531 * *: Fix minor style warnings
1532 * clsql-classic: Remove system and subdirectory
1533 * clsql-base: Remove system and subdirectory and
1534 fold into clsql system
1535 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
1536 as supported platform.
1538 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1539 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
1540 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
1541 Allegro 7.0beta AMD64
1542 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
1543 of ODBC longs since this type can vary on 64-bit platforms depending
1544 upon the compilation options of unixODBC.
1545 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
1546 structures found by testing with AllegroCL 7.0b AMD64.
1547 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
1548 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
1549 Initial caching support for SELECT
1550 * tests/test-oodml.lisp: Avoid using cache when testing select.
1551 * sql/kmr-mop.lisp: Explicitly check slot order and
1552 store as a cl:*feature*
1553 * sql/recording.lisp: Remove additional types to
1554 increase CommonSQL conformance.
1555 * tests/test-init.lisp: Change a :column attribute
1556 to test symbols as value
1557 * sql/relations.lisp: Remove functions since they don't support
1558 many to many relationships.
1559 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
1560 of add-to-relations function and replace with explicit field settings.
1561 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
1563 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1565 * LATEST-TEST-RESULTS: results with current version
1566 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
1567 since cmu19 has opposite order of class slots.
1568 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
1569 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
1571 * tests/test-init.lisp: Check test-database-underlying-type for
1574 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1575 * sql/operations.lisp: complete remaining operations for the sql
1576 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
1577 UNION, INTERSECT, BETWEEN.
1578 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
1579 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
1580 * tests/test-syntax.lisp: add tests for new operations.
1581 * tests/test-fdml.lisp: add tests for queries based on new operations.
1582 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
1583 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
1584 * TODO: removed entries done.
1586 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1587 * tests/benchmarks.lisp: Add immediate vs. deferred
1590 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1591 * Version 2.10.13: Now works on openmcl 0.14.2
1592 * sql/objects.lisp: Add :retrieval :immediate for
1594 * tests/test-init.lisp: Add non-index fields for testing
1595 join class employee-addresss
1596 * test/test-oodml.lisp: Add tests for retrieval immediate
1597 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
1598 values which are now listifed by openmcl 14.2.
1599 * sql/objects.lisp: more framework for supporing immediate retrieval
1601 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1602 * docs/intro.xml: Upload location of a README file
1603 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
1604 changing the type-specifier. Use a lisp type of (OR NULL FOO)
1605 for a specified-type of FOO unless :db-constraints :not-null.
1606 No need to specialize finalize-inheritance for openmcl.
1607 * tests/test-*.lisp: Rename fields so that joins occur on
1608 fields with different names. This ensures that join code is
1609 selecting the proper name.
1610 * test/test-init.lisp: Add :base-table for employee-address
1611 view class for testing.
1612 * sql/objects.lisp: Use view-table rather than name of table
1613 in a number of places to fix errors noted with using :base-table.
1615 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1616 * sql/objects.lisp: replace *update-records-on-make-instance* with
1617 *db-auto-sync* which also controls both automatic creation of
1618 new records on creation of new instance and updating of record
1619 fields on setting of instance slots (as suggested by Edi Weitz).
1620 * tests/test-init.lisp: replace *update-records-on-make-instance*
1621 with *db-auto-sync*.
1622 * sql/package.lisp: replace *update-records-on-make-instance*
1623 with *db-auto-sync*.
1624 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
1625 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
1626 and *default-database* in FIND-ALL.
1627 * sql/package.lisp: import time functions from CLSQL-BASE.
1628 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1629 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1630 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1631 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
1634 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1635 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
1636 now return a sql-object-query type rather than directly performing a query.
1637 This improves CommonSQL conformance.
1638 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
1639 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
1640 depend on sql-object-query-type.
1641 * sql/loop-extensions.lisp: Move from base package
1642 * classic/package.lisp: remove references to map-query and do-query
1644 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1645 * TODO: New section on optimizations, especially optimizing JOINs.
1646 * sql/objects.lisp: Have :target-slot return of list of lists rather
1647 than a list of cons pairs to be conformant with CommonSQL.
1648 Make :target-slot much more efficient by using a SQL inner join
1649 statement and just requiring one SQL query. Add :retrieval :deferrred
1650 to target-slot joins. Add placeholder for update-objects-join.
1651 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
1652 and process them for query output-sql.
1654 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1656 * base/basic-sql.lisp: Avoid multiple evaluation
1657 of query-expression in DO-QUERY
1658 * sql/objects.lisp: Make SELECT a normal function.
1659 SELECT now accepts type-modified database identifiers, such as
1660 [foo :string] which means that the values in column foo are returned
1661 as Lisp strings. Add new *update-records-on-make-instance* special
1662 variable controlling automatic creation of new instances. Add missing
1663 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
1664 * sql/packages.lisp: Export *update-records-on-make-instance*
1665 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
1667 * test/test-fdml.lisp: Add tests for type-modified
1668 database identifiers.
1669 * test/test-init.lisp: Stop using add-relation since implementing
1670 many-to-many joins. Use *update-records-on-make-instance*
1671 to automatically store records on instance creation. Add many-to-many
1672 employee-address view-class.
1674 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1676 * base/loop.lisp: Add object iteration. Use :result-type
1677 :auto for result-set. Remove
1678 duplicate (and non-correct) code for non-list variables by
1679 simply making an atom variable into a list.
1680 * sql/package.lisp: Remove unnecessary clsql-sys package
1681 and replace it with clsql.
1682 * sql/metaclasses.lisp: Properly store specified-type from
1683 direct-slot-definition and then store translated type in
1684 effective-slot-definition
1685 * sql/classes.lisp: Don't output type in sql-output
1686 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
1687 [foo :integer] as fields in SELECT.
1688 * sql/query.lisp: Set default for :result-types to :auto in
1690 * sql/objects.lisp: Use specified-type when invocating
1691 database-get-type-specifier. def-view-class macro now returns
1693 * base/basic-sql.lisp: Make :AUTO the default value for
1694 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
1695 * sql/objects.lisp: Add bigint type
1696 * test/tests-basic.lisp: Add tests for :result-types for
1697 MAP-QUERY and DO-QUERY
1698 * test/test-fdml.lisp: Add test for result-types in LOOP
1699 and also using single symbol rather than a list for variables.
1700 Add test that default :result-types is auto for FDML QUERY.
1701 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
1702 of SQL-IDENT-ATTRIBUTE.
1703 * test/test-oodml.lisp: Enable OO loop iteration test,
1704 modify it so it doesn't depend on boolean where.
1706 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1708 * sql/objects.lisp: added derived type specifier for universal time.
1709 * sql/package.lisp: added #:universal-time to clsql-sys exports.
1710 * tests/test-oodml.lisp: added test for translation of boolean slots
1711 in SELECT with object queries.
1713 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1714 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
1715 for odbc/postgresql backend.
1716 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
1717 it can handle NIL values from the ODBC driver
1718 * tests/benchmarks.lisp: New file with initial
1720 * sql/relations.lisp: fix to add subclassing support,
1721 minor optimizations [Edi Weitz]
1723 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1725 * base/conditions.lisp: Add *backend-warning-behavior*
1727 * db-postgresql-socket/postgresql-socket-sql.lisp:
1728 Honor value of *backend-warning-behavior*
1729 * tests/test-fdml.lisp: Remove test of raw boolean value
1730 since different backends handle this differently. Add
1731 test for :column attribute.
1732 * tests/test-oodml.lisp: Add tests for boolean slot value
1733 and for :void-value attribute
1734 * tests/test-init.lisp: Use *backend-warning-behavior*
1735 to suppress warnings from postgresql about implicitly
1736 creating primary key in tables. Add new address table.
1738 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1740 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
1741 result-types is :auto
1742 * sql/objects.lisp: Properly handled writing/reading Boolean
1743 values from SQL database when retrieving objects.
1744 * test/test-fdml.lisp: Add another test for boolean results
1745 * test/utils.lisp: Fix incorrect declaration
1747 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1749 * sql/generics.lisp: add generic function for SELECT.
1750 * sql/objects.lisp: make SELECT a method specialisation.
1751 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
1752 referred to are View Classes.
1753 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
1754 query-expression arg evaluates to a list, then we have an object
1756 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
1758 * TODO: remove items done and add a todo for SELECT.
1759 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
1761 * sql/sql.lisp: add :field-names arg to QUERY.
1762 * tests/test-fdml.lisp: minor rework to use :field-names arg to
1765 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1766 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
1767 or more View Classes.
1768 * sql/objects.lisp: make the :flatp argument to SELECT work with
1770 * sql/objects.lisp: make SELECT accept a :result-types argument
1771 (defaults to :auto) which is passed on to QUERY.
1772 * sql/objects.lisp: SELECT returns field-names as a second value.
1773 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
1774 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
1775 to SELECT and take only first value as appropriate.
1776 * tests/test-fdml.lisp: add two new tests for query result coercion
1777 and the field-names returned as a second value from SELECT.
1778 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
1780 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1781 * Version 2.10.6-pre1
1782 * sql/metaclasses.lisp: Add void-value slot
1783 * doc/csql.xml: Update def-view-class documentation
1784 * test/test-init.lisp: Change old :db-type to :db-kind.
1785 Remove old :nulls-ok attributes.
1786 * sql/objects.lisp: Add new universal-time and bigint
1787 types. Optimize reading of integers using parse-integer
1788 rather than read-from-string.
1789 * */*.lisp: Merge clsql-base-sys and clsql-base packages
1790 into clsql-base package
1791 * classic/sql.lisp: Move large object support into base, leaving
1792 classic without any functionality that is provided in the clsql
1794 * classic/package.lisp: Rename clsql-classic-sys package to
1795 its former nickname of clsql-classic
1797 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1798 * Version 2.10.5: SQLite backend now passes all result-types tests
1799 * clsql-sqlite.asd: Depend on clsql-uffi system
1800 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
1801 for efficiency and code reuse.
1802 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
1803 for better cross-implementation compatibility.
1805 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1807 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
1809 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
1810 bug on SBCL in result-field-names function as reported by Marcus Pearce
1811 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
1812 manifest in SBCL testing
1814 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1816 * sql/database.lisp: Conform more to CommonSQL output
1817 for STATUS command [Marcus Pearce]
1818 * sql/sqlite-sql.lisp: Rework to use result-types
1819 * sql/sqlite-api-clisp.lisp: Add compatibility layer
1820 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
1821 be cleaned up of most clisp reader conditionals
1822 * sql/test-init.lisp: Now run field type tests on sqlite
1825 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1827 * base/basic-sql.lisp: Set default value of :result-types
1828 to :auto for more CommonSQL conformance.
1829 * test/test-fdml.lisp: Add tests for numeric value of fields
1832 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1833 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
1834 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
1835 Return field names as second value for QUERY. This can be overridden
1836 for efficiency with the new keyword :FIELD-NAMES set to NIL
1837 in the QUERY invocation.
1838 * test/test-fdml.lisp: Add tests for new field-name feature
1839 * sql/metaclass.lisp: Remove old Lispworks cruft
1840 and replace it with invocation of new code in kmr-mop.lisp
1841 which actually works with Lispworks 4.2
1842 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
1844 * base/db-interface.lisp: Document the multiple values
1845 returned by DATABASE-ATTRIBUTE-TYPE so matches the
1846 undocumented CommonSQL behavior.
1847 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
1848 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
1849 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
1850 Implement CACHE-TABLE-QUERIES.
1851 * db-odbc/odbc-sql.lisp: Fix attribute-type function
1852 * test/test-fddl.lisp: Add tests for attribute type
1853 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
1855 * base/classes.lisp: Add attribute-cache slot to database clas
1856 * base/initialize.lisp: initialize-database-type now automatically
1857 loads database-type backend as needed.
1858 * base/test-init.lisp: Utilize new initialize-database-type functionality.
1859 * TODO: remove items done
1861 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1863 * sql/objects.lisp: remove create/drop-sequence-from-class.
1864 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
1865 * sql/objects.lisp: improved CommonSQL compatibility for
1866 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
1867 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
1868 * sql/generics.lisp: move generics from objects.lisp to here.
1870 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1871 * Version 2.9.6-pre1
1872 * db-mysql/mysql-client-info.lisp: Add client version 4.1
1874 * sql/sql.lisp: Make *default-database* the default for
1877 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1879 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
1881 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
1882 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
1883 on a metaclass specialized from standard-db-class.
1886 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1887 * Version 2.9.4: Multiple changes to support Allegro's "modern"
1888 lisp which uses a lowercase reader and has case-sensitive symbols
1889 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
1890 exposed by case-sensitive mlisp.
1892 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1893 * Version 2.9.3: All tests now pass on all platforms!
1894 * LATEST-TEST-RESULTS: New file with summary of test results
1895 * sql/generics.lisp: New file for generic function definitions.
1896 * test/test-init.lisp: Display names of skipped tests.
1897 Use unwind-protect to ensure disconnect
1898 * sql/objects.lisp: Change database-type to database-underlying-type
1899 so that actual database engine is properly identified
1900 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
1901 return an ISO timestring for compatibility with other drivers.
1902 Workaround bug in MyODBC for LIST-TABLE-INDEXES
1903 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1904 returns floating-point values for floor and truncate operations
1905 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1906 * tests/test-basic.lisp: Port to regression tester
1907 * test/test-init.lisp: Output to *report-stream*
1908 * docs/appendix.xml: Document ODBC and SQLite backends.
1909 * sql/classes.lisp: Make output-sql require a database parameter.
1910 This allows SQL generation to have the proper case to support
1911 the differences in case handling between CommonSQL API,
1912 Postgresql, MySQL, Oracle.
1914 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1915 * Version 2.9.2: Improvments in database capability introspection
1916 and querying. Support transactions in MySQL where available.
1917 All tests now pass on MySQL and SQLite in addition to postgresql
1918 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1919 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1920 DATABASE-LIST-SEQUENCES.
1921 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1922 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1923 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1924 * tests/*.lisp: Check database capabilities and remove tests which
1925 the database backend does not support
1926 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1927 controls whether InnoDB tables will be created when supported on
1928 the underlying MySQL server.
1930 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1931 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1932 supported by all database backends (except AODBC since
1933 AODBC doesn't support index querying)
1934 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1935 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1936 to support index queries
1937 * db-aodbc/aodbc-sql.lisp: Filter driver manager
1938 "information_schema" tables from LIST-TABLES
1939 * tests/test-basic.lisp: Remove table after testing
1940 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1941 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1942 which gets the underlying type of database -- required
1943 when dealing with ODBC databases and want to query
1944 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1945 as first database-backend specific feature. Is T on
1946 :mysql, NIL on other backends. Change DROP-TABLE to
1949 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1950 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1952 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1954 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
1955 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
1957 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1958 * Version 2.8.0: New API function: LIST-DATABASES
1959 * base/utils.lisp: Fix command-output on CMUCL/SBCL
1960 * db-*/*-sql.lisp: Add new database-list function
1961 * base/database.lisp: Add new LIST-DATABASES command
1963 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1965 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1966 * db-sqlite/sqlite-api-uffi.lisp: Print error string
1969 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1971 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1974 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1976 * base/objects.lisp, base/classes.lisp: Patch
1977 for db-kind from Eduardo Munoz
1979 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1981 * base/basic-sql.lisp: Fix FLATP in QUERY
1983 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1984 * Version 2.7.3: Implement RECONNECT
1986 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1987 * Version 2.7.2: Fix ODBC on Lispworks Windows
1989 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1990 * Version 2.7.1: Fix for new ODBC backend.
1991 clsql-odbc now works on SBCL, CMUCL, OpenMCL
1992 in addition to AllegroCL and Lispworks.
1994 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1995 * Version 2.7.0: New backend: ODBC. Tests as
1996 well as AODBC backend on Allegro,Lispworks.
1997 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
1998 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1999 to explicitly set ODBC2 support. Add BIGINT support.
2000 Add result-types support. Added SQLTables.
2001 Fix array type in fetch-all-rows. Make width
2002 changable by database or query.
2003 * base/utils.lisp: Add process functions
2004 * base/package.lisp: Export utils to CLSQL-BASE-SYS
2005 * db-aodbc: Implement sequence functions,
2006 database-list-tables, database-list-attributes
2007 * tests/utils.lisp: Add support for ODBC backend,
2008 rework READ-SPECS to use +all-db-types+
2009 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
2012 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2013 * Version 2.6.13. Requires UFFI version 1.4.9
2014 * db-odbc/*.lisp: Further porting.
2015 Pre-alpha code! But, basic query is now working.
2017 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2019 * base/transactions.lisp: Add quote for macro
2020 expansion of WITH-TRANSACTIONS [Time Howe]
2021 * db-sqlite/sqlite-sql.lisp: Support memory database
2022 in database-probe [Ng Pheng Siong]
2023 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
2024 The DBI layer is not finished.
2026 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2028 * sql/objects.lisp: add :root-class functionality for
2029 list-classes and add duration type support [Marcus Pearce]
2030 * db-odbc: Add mid-level [DBI] layer
2032 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2034 * db-aodbc: Add methods for generic functions, some are
2035 not yet implemented.
2036 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
2039 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2041 * base/package.lisp: Add missing symbols [Marcus Pearce]
2043 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2045 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
2046 * utils/time.lisp: Multiple fixes [Marcus Pearce]
2047 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
2049 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2051 * sql/*.lisp: Remove schema versioning cruft
2053 * Makefile: Add classic subdirectory
2055 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2057 * sql/sql.lisp: Fix TRUNCATE command, bug reported
2059 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
2060 specific and easy for an application to directly support.
2061 Idea from Marcus Pearce.
2062 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
2063 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
2064 Keep low-level interface for future optimization
2065 supporting LIST-ATTRIBUTE-TYPES command.
2066 * Makefile: Add to db-sqlite and test directories.
2067 Include them in top-level Makefile
2069 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2071 * sql/relations.lisp: Add missing file
2072 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
2073 * test/test-time.lips: New file [Marcus Pearce]
2075 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2077 * test/test-init.lisp: Properly handle object
2078 creation. Close database after use.
2079 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
2080 function so can have methods specialized on
2081 table being a string or an sql-table object.
2082 * base/pool.lisp: Really fix CMUCL locking
2084 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2086 * test/test-init.lisp: Signal correctly
2087 if any errors occurred in any test suite
2088 * base/loop-extensions.lisp: Fix error
2089 introduced for Lispworks
2090 * base/pool.lisp: Fix locking for CMUCL
2091 * base/objects.lisp: Remove schema-version cruft
2093 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2094 * Version 2.6.2: New CLSQL API functions:
2095 DESCRIBE-TABLE AND TRUNCATE-DATABASE
2096 Currently, this are only supported on :postgresql
2097 and :postgresql-socket
2098 * base/database.lisp: automatically load ASDF system
2099 in CONNECT if not already loaded
2100 * base/tests.lisp: disconnect database after testing
2101 * base/*.lisp: Remove CLOSED-DATABASE type in favor
2102 of storing open/closed status in slot of database
2103 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
2104 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
2105 DATABASE-DESCRIBE-TABLE
2106 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
2107 * base/conditions: Remove duplicate condition
2108 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
2109 * base/recording.lisp: Add new :QUERY type for recording
2111 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2112 * Version 2.6.1: documentation fixes, merged
2113 classic-tests into tests
2115 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2116 * Version 2.6.0 released: New API functions
2117 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
2118 * doc/ref_clsql.xml: Document new functions
2119 * base/database.lisp: New API functions
2120 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
2121 * base/utils.lisp: Fix use of position-char.
2122 Add COMMAND-OUTPUT used by backends for running
2123 external programs. Fix parsing of SQL*NET-compatible
2125 * base/loop-extension.lisp: Simplify package use
2126 for Lispworks and Allegro
2127 * db-*/*-sql.lisp: Added DATABASE-CREATE,
2128 DATABASE-DESTORY, PROBE-DATABASE methods
2129 * tests/test-init.lisp, clasic-tests/tests.lisp:
2130 Use destroy-database and create-database to ensure
2131 testing with empty database
2132 * tests/test-connection.lisp: Add tests for
2133 parsing of string connection-specs
2134 * examples/run-tests.sh: New file for running
2135 test suite on all installed CL implementations
2136 * examples/clsql-tutorial.lisp: moved from
2138 * examples/dot.clsql-tests.config: New file
2139 giving an example test configuration
2140 * test/README: Add notes about rtest/ptester
2141 downloads and link to sample test configuration file.
2143 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2144 * Version 2.5.1 released:
2145 * tests/*.lisp: Rework so tests are run
2146 on multiple backends automatically based
2147 on the contents of ~/.clsql-tests.config.
2148 Reuse helper functions from classic-tests.
2149 * base/database.lisp: Support connection-spec
2150 as string for CONNECT
2151 * classic-tests/tests.lisp: Automatically
2152 load database backends as needed.
2154 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2155 * Version 2.5.0 released:
2156 All tests for CLSQL and CLSQL-CLASSIC pass
2158 * base/loop-extension.lisp: Add Lispworks
2159 loop-extension. Improve type specifying on
2162 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2163 * Version 2.4.2 released:
2164 loop extension now supported on Allegro, all
2165 CLSQL-TESTS pass on Allegro.
2166 * sql/metaclasses.lisp: Some optimization
2167 of compute-slots, be selective when
2168 ordered-class-slots needs to be called
2169 instead of class-slots
2170 * TODO: add URL with documentation on
2171 extending Lispworks LOOP form
2173 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2174 * Version 2.4.1 released: CLSQL-TESt suite passes
2175 all tests for postgresql and CMUCL, SBCL, OpenMCL.
2176 Allegro and Lispworks pass all tests except for
2177 FDML/LOOP/1 since the loop extension have not yet
2178 been ported to those implementions.
2179 * sql/metaclasses.lisp: Added new slot to standard-db-class
2180 to hold user-specified type. OpenMCL adjustments to compensate
2181 for its type-predicate function. Since AllegroCL, Lispworks,
2182 and OpenMCL have different slot orders, added compute-slots
2183 and ordered-class-slots functions so their slot order matches
2186 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2187 * Version 2.4.0 released: All tests for clsql-classic now finish
2188 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
2189 mysql, postgresql, postgresql-sockets, and sqlite backends.
2190 * db-mysql/mysql-sql.lisp: Fix array dereferencing
2191 * classic-tests/tests.lisp: Fix package name of
2192 number-to-sql-string.
2193 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
2194 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
2195 now passes tests on all support UFFI platforms.
2196 * db-postgresql-socket/postgresql-socket-api.list: Ported to
2198 * multiple: Finish renaming of :types keyword to :result-types for
2199 greater CommonSQL compatibility, including documentation
2200 * sql/basic-cmds.lisp: Remove obsolete file
2202 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2203 * Version 2.3.3 released
2204 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
2205 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
2206 * Fix for schema table [Marcus Pearce]
2207 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
2208 * Fixes to test suite [Marcus Pearce]
2210 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2211 * db-*/*-sql.lisp: Ensure that expr in
2212 database-query-result-set is a string
2213 * Documentation integration
2215 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2216 * With for Marcus Pearce's excellent work, I've merged
2217 his clsql-usql port into clsql. The original clsql
2218 interface is available in the clsql-classic package.
2220 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2221 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
2222 adding further support for providing backend for UncommonSQL
2224 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
2225 * Integrate patch from Aurelio Bignoli for SQLite backend
2227 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
2228 * Converted documentation to XML format
2229 * Made package installable with asdf-install
2231 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
2232 * Add for-each-row macro
2234 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
2235 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
2237 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
2238 * Add support for SBCL, OpenMCL, and SCL
2239 * Add *load-truename* to search path for clsql's
2242 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
2243 * Rework use of file types in .asd files
2245 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
2246 * Add .asd definition files for ASDF users
2248 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2249 * Restructure directories for Common Lisp Controller v3 compatibility
2251 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2252 * Also change case of logical host in loader files
2253 * Rework handling of logical pathnames
2255 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2256 * Change case of logical host
2258 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
2259 * clsql-base.system: Added base package that can be used without
2260 high-level SQL commands. Used for adding support for UncommonSQL.
2261 * *.system: Reworked logical pathnames to be more consistent with
2262 Common Lisp Controller.
2263 * debian/*: Completed initial Debian support
2265 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2267 * sql/transactions.cl:
2268 Added transaction support. Functions/macros added:
2269 with-transaction, commit-transaction, rollback-transaction,
2270 add-transaction-commit-hook, add-transaction-rollback-hook
2272 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2275 * sql/functional.cl:
2276 Added pool support in connect/disconnect and with-database.
2277 Removed with-db-from-pool as with-database can now works with the connections pool
2279 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2284 Completed connection pool.
2285 Added with-db-from-pool macro.
2287 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2289 Added initial support for connection pool
2290 * sql/transactions.cl
2291 Took transaction code from UncommonSQL and integrated
2292 into CLSQL code. See file for disclaimer about why this
2295 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2296 * interfaces/postgresql/postgresql-sql.cl:
2297 Fix keyword typo in database-read-large-object
2298 * interfaces/mysql/mysql-loader.cl
2299 Fix loading on Win32
2300 * test-suite/tester-clsql.cl
2301 Fix type coercion of double-float
2303 Added debian docbook catalog, made it the default
2305 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2306 * interface/postgresql/postgresql-api.cl:
2307 * interface/postgresql/postgresql-sql.cl:
2309 * sql/db-interface.cl:
2310 Added large objects support for postgresql.
2312 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2313 * src/postgresql-socket/postgresql-socket-api.cl:
2314 Fixed find-foreign-function call, eliminated crypt warning
2316 Multiple improvements
2318 Moved functionality from low-level interfaces to this file
2319 via generic functions
2320 * test-suite/tester.cl:
2321 Added test with acl-compat-tester, moved others to old-tests
2324 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2326 Reinstated commented out sections
2327 * interfaces/postgresql/postgresql-loader.cl:
2328 * interfaces/mysql/mysql-loader.cl:
2329 Updated find-forieign-library support.
2330 * interfaces/postgresql-socket/postgresql-socket-package.cl:
2331 Fixed require form for Lispworks (Thanks Marc Battyani!)
2332 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2333 Fixed eval of def-function for crypt library.
2335 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2336 * Added interface to support USQL high-level rouines
2338 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2339 * Separated db-interface and conditions from sql/sql.cl
2340 * Improved foreign library loading testing
2341 * interfaces/postgresql/postgresql-api.cl
2342 Added PQisBusy function
2343 * interfaces/clsql-uffi/clsql-uffi.cl
2344 Fixed sign error for 64-bit processing
2346 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2347 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2348 Fixes to read-double-from-socket. Added 64-bit integer support.
2349 * test-suite/xptest-clsql.cl
2350 Added testint for 64-bit integers
2351 * Additons to installation docs
2353 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2354 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2355 Implemented direct socket reading for field type :double
2356 * Added usage information for :types to documentation
2357 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
2359 * interfaces/clsql-uffi: Created new directory. Split common
2360 interface routines that use UFFI into this package. Required
2361 especially to support direct reading of 64-bit integers into
2362 bignums and bypassing temporary strings.
2363 * test-clsql.cl: Updated to test postgresql-socket's
2364 read-double-from-socket function.
2365 * test-suite/xptest-clsql.cl
2366 Started work on test suite
2368 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2369 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
2370 mysql-fetch-field-direct Got :auto types working
2371 * interfaces/postgresql/postgresql-api.cl
2372 * interfaces/postgresql-socket/postgresql-socket-api.cl
2373 Added pgsql-field-types enum. Got :auto types working.
2375 Renamed :field-types to :types.
2377 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2378 * Added field-types parameter to query, database-query,
2379 database-query-result-set, map-query. Haven't added code
2380 to utilize field types, yet.
2381 * Changed postgresql-socket result set from cons to a structure
2382 * Updated test-clsql.cl to use automated testing with a config
2384 * Changed return types of field accessors from cstring to
2385 (* :unsigned-char). This prepares for being able to use specified
2386 type conversions when taking field data into lisp.
2387 * Added field-type processing for most interfaces. Not done yet.
2389 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2390 * doc/ref.sgml: Updated MAP-QUERY example to use
2391 *read-default-float-format* (John Foderaro)
2392 * Extensive work to foreign library loaders and .system files to
2393 check for successful loading of foreign libraries.
2394 * Modified test-clsql.cl to allow more modularity and
2395 automated testing in future release.
2396 * mysql/mysql-sql.lisp: Added field types
2398 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
2399 * mysql/mysql-sql.lisp:
2400 - Added support for Allegro CL and Lispworks using UFFI layer
2401 - Changed database-connect to use mysql-real-connect. This way,
2402 can avoid using double (unwind-protect)
2403 - Changed database-connect to have MySQL library allocate space
2404 for MYSQL structure. This will make the code more robust in
2405 the event that MySQL library changes the size of the mysql-mysql