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