1 24 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
3 * sql/time.lisp: Commit patch from Aleksandar Bakic for
4 correct handling of decode-time usec value
5 * clsql-mysql.asd: Commit patch from Harald Hanche-Olsen to
6 correct the name of the shared library file.
8 16 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
10 * sql/metaclasses.lisp: Avoid calling change-class on
11 effective-slot-definitions on sbcl to conform to sbcl 0.9.6.38
14 15 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
16 * sql/expressions.lisp: Patch from James Biel to add subselects
18 14 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
19 * Version 3.4.4 [ Requires UFFI 1.5.7+]
20 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
21 to fix lifetime of foreign strings for Oracle calls
23 13 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
25 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
26 to improve performance
28 12 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
30 * clsql-uffi.asd: Patch from James Biel improving loading
31 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
32 to support 64-bit lisps
34 12 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
36 * sql/expressions.lisp: Escape numbers to SQL strings
39 11 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
40 * Version 3.4: Add MySQL 5 support
41 * db-mysql/mysql-client-info.lisp: Recognize MySQL 5
42 * db-mysql/mysql-sql.lisp: Add support for views in MySQL 5
43 * doc/mysql-macosx-notes.txt: New document from Martin Brooks
45 7 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
46 * src/time.lisp: Apply patch from Aleksandar Bakic for ROLL
48 * BUGS: Added report for update-object-joins by Aleksandar Bakic
50 4 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
51 * Version 3.3.4 [UFFI >= 1.5.5 needed]
52 * db-odbc/odbc-api.lisp: Apply patch from Yaroslav Kavenchuk
53 to add missing #\' character.
54 * clsql.asd: Add support for CLSQLINIT environmental variable,
55 based on patch from Yaroslav Kavenchcuk. New version of UFFI
58 30 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
60 * sql/oodml.lisp: Apply patch from Drew Crampsie to fix
61 update-objects-joins when using the :target-slot attribute
63 26 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
65 * sql/expressions.lisp: Avoid parenthesis on multiple group-by fields
66 as noted by Harald Hanche-Olsen.
67 * tests/test-syntax.lisp: Add test for multiple field group-by
69 25 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
71 * sql/time.lisp: Commit patch from Alan Shields to
72 display escape string on wall-time display only when *print-escape*
75 11 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
76 * sql/metaclasses.lisp: Commit patch from Will to
77 properly set db-reader slot in effective-slot-definition
78 * sql/expressions.lisp: Commit patch from Alan Shields
79 adding make-load-form for sql-relational-exp
80 * sql/generic-postgresql.lisp: Commit patch from Aleksandar Bakic
81 adding support for new NUMBER type
83 17 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
85 * sql/time.lisp: Apply patch from Alan Shields adding DATE type.
86 * doc/ref-ooddl.xml: Documentation of new type
87 * notes/add-type-hints.txt: New file from Alan Shields
88 * sql/fddl.lisp: Add owner keyword to drop-table as suggested
90 * db-postgresql-socket/postgresql-socket-sql.lisp: Fix database-probe
91 as noted by Francis Leboutte. Similar fix applied to db-mysql and
93 * sql/expressions.lisp: Allow string table names for output as
94 contributed by Francis Leboutte.
95 * examples/clsql-tutorial.lisp: Support :postgresql-socket as noted
98 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
100 * doc/into.xml: Change download from ftp to http protocol
102 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
104 * db-oracle/oracle-sql.lisp: Correction for v3.2.2 changes by
107 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
109 * db-oracle/oracle-sql.lisp: Add check for zero increment as
110 suggested by Edi Weitz. Add missing database-sequence-last function
111 as noted and tested by Edi Weitz. Ensure that UFFI buffer is freed
112 in handle-oci-error. Add unwind-protect to sql-stmt-exec. Free UFFI
113 stmthp object when query cursor is freed with OCI.
115 22 Aug 2005 Kevin Rosenberg <kevin@rosenberg.net>
116 * uffi/clsql-uffi-loader.lisp: Commit patch from astor@pvv.ntnu.no to
117 display search path when error occurs loading foreign library.
119 05 Jul 2005 Kevin Rosenberg <kevin@rosenberg.net>
121 * doc/appendix.xml: Incorporate Edi Weitz's notes into documentation
122 with changes to support case-sensitive lisp implementations. Add
123 paragraph on using /etc/clsql-init.lisp site initialization file.
124 * clsql.asd: Load file /etc/clsql-init.lisp, if it
125 exists, after package is loaded to set site-specific configuration
127 2005-06-24 Edi Weitz <edi@agharta.de>
128 * sql/db-interface.lisp: Added new special variable
129 *FOREIGN-LIBRARY-SEARCH-PATHS* and function PUSH-LIBRARY-PATH to
131 * sql/package.lisp: Export these.
132 * uffi/clsql-uffi-loader.lisp: Used new variable; changed order of
134 * db-mysql/mysql-loader.lisp: Changed order of libs.
136 09 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
137 * Version 3.2.0: REQUIRES UFFI VERSION 1.4.38 OR HIGHER
138 * clsql-mysql.asd: Renamed clsql/mysql interface library from
140 * clsql-uffi.asd: Renamed clsql/uffi interface library from
142 * uffi/clsql_uffi.c: Renamed from uffi.c
143 * db-mysql/clsql_mysql.c: Renamed from mysql.c
144 * db-mysql/Makefile, db-mysql/Makefile.msvc, db-mysql/mysql-loader.lisp: Rename shared library
145 * uffi/Makefile, uffi/Makefile.msvc, uffi/uffi-loader.lisp: Rename shared library
146 * db-*/*-loader.lisp: Commit big patch from Edi Weitz to remove
147 absolute pathnames when searching for foreign libraries.
148 foreign library loading.
150 07 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
152 * db-mysql/mysql-api.lisp: Commit patch from Espen Wiborn
153 to support UTF-8 on sbcl unicode.
155 18 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
157 * sql/time.lisp: Fix bug in roll that caused failure in test suite
159 17 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
161 * sql/oodml.lisp: Properly handle when db-writer is NIL
163 11 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
164 * sql/expressions.lisp: Avoid using simple-string declaration when
165 a non-simple string may be encountered. [issue noted by
166 will@cesmail.net] Add a simple-string declaration for a local
169 06 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
170 * sql/oodml.lisp: Change db-writer and db-reader processing to accept
171 a symbol as well as function to serve as a function designator
172 [issue noted by will@cesmail.net]
174 05 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
176 * sql/time.lisp: Fix error in submitted patch which caused error
177 in timestrings with 19 or less characters.
179 27 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
181 * db-postgresql-socket/postgresql-api.lisp: Commit patch from Tim Howe
182 to fix read-socket-sequence on non-sb-unicode sbcl.
184 26 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
186 * sql/time.lisp: Commit patch from Daniel Lowe which adds support
187 for fractional seconds which is required by PostgreSQL
188 * db-postgresql/postgresql-loader.lisp: Add library path for Windows
190 25 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
191 * sql/csql.lisp: Update URL for "SQL for Web Dummies" [Sean Champ]
193 24 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
195 * sql/syntax: Commit patch from Alan Shields to supress reader
196 macros when *read-supress* is T.
198 13 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
200 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
201 from Janis Dzerins to support unicode on SBCL
202 * sql/syntax: Commit patch from Alan Shields to improve reporting
203 of invalid syntax statements.
205 06 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
207 * db-mysql/mysql-sql.lisp: Add port to connection specification
208 based on patch from Dave Watson
209 * doc/appendix.xml: Document MySQL port parameter to connection spec
211 03 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
213 * sql/time.lisp: Patch from Keith James for parsing ISO-8601 timestamps
215 18 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
216 * sql/oodml.lisp: Add missing database argument [Patch from
219 03 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
220 * sql/oodml.lisp: Improve database priority in
221 update-records-from-instance [Patch from Walter C. Pelissero]
223 17 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
225 * sql/package.lisp: Export database-reconnect from clsql-sys
227 08 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
228 * sql/oodml.lisp: Use explicit database in fault-join-target-slot
229 [Patch from Walter Pelissero]
231 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
232 * db-postgresql/postgresql-loader.lisp: Add additional
233 directories to Fink on darwin [patch from Cyrus Harmon].
235 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
237 * sql/oodml.lisp: Clear view instance cache when delete-instance-records
238 is invoked [suggested by Alan Shutko].
239 * uffi/clsql-uffi-loader.lisp: Improvements for loading with SBCL X86-64
240 * sql/metaclasses.lisp: Don't change case of a :base-table string supplied
241 to def-view-class [fix suggested by Fred Gilham].
243 25 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
244 * tests/*.lisp: Change Vladamir to Vladimir per Cyrus Harmon's
246 * sql/utils.lisp: Fix unnecessary consing noted by Fred Gilham.
247 * doc/*.xml: Fix spelling of Vladimir
249 24 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
250 * doc/bookinfo.xml, doc/csql.xml, doc/intro.xml: Update links
251 now that LispWorks is an independant company [noted by
254 22 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
255 * db-sqlite/sqlite-sql.lisp, db-sqlite3/sqlite3-sql.lisp:
256 Better support for 64 bit environments
258 05 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
260 * sql/metaclass.lisp: Make t the default value of :set
261 [noted by Cyrus Harmon]
263 28 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
265 * uffi/clsql-uffi.lisp: Add support for unsigned integers
266 * db-mysql/mysql-sql.lisp: Add support for detecting/marking
267 unsigned integers. Apply patch from Yannick Gingras to
268 implement database-sequence-last.
270 26 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
271 * doc/ref-fdml.lisp: Fix variable tag name to varname
272 [noted by Eduardo Munoz]
273 * db-mysql/mysql-loader.lisp: Handle library paths for 64-bit systems
275 06 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
277 * sql/ooddl.lisp: Accept patch from Klaus Harbo for
279 * sql/metaclass.lisp: Remove unnecssary (and runtime error
280 causing) change-class invocation when running on CLISP.
281 * db-mysql/mysql-api.lisp: Commit patch from Paul Werkowski
282 to fix structure name.
283 * sql/database.lisp: More specific error message with trying
284 to use a database value of NIL.
285 * sql/expressions.lisp: Accept a string for the table name
286 in (sql-output sql-delete database) [suggested by Ed Symanzik].
288 11 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
290 * sql/generic-postgresql.lisp: Commit patch from Chris Capel to
291 ignore columns which have been dropped.
292 * clsql-postgresql-socket.asd, db-postgresql-socket/postgresql-socket-package.lisp:
293 Use sb-md5 package on SBCL, recommended by Chris Capel
295 09 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
296 * Version 3.1.0 released: New SQLite3 backend by Aurelio Bignoli
297 * doc/appendix.xml: Document SQLITE3 backend, patch by Aurelio Bignoli
298 * sql/operations.lisp: Add lower and upper SQL functions [Daniel Lowe].
300 08 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
301 * sql/expressions.lisp: Fix slot name [thanks to Daniel Lowe]
303 31 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
304 * clsql-sqlite3, db-sqlite3/*: NEW BACKEND
305 contributed by Aurelio Bignoli
307 23 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
308 * sql/oodml.lisp: Commit patch from Walter Pelis
309 to use an object's database for a select on its slot.
311 20 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
312 * uffi/uffi.c, uffi/clsql-uffi.lisp: Commit patch from
313 Aurelio Bignoli to fix negative 64-bit integers
315 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
316 * db-mysql/mysql.c: Fix parameters in bind_param call
318 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
319 * uffi/clsql-uffi.lisp: Add support for :blob result-type
320 * db-mysql/mysql-sql.lisp: Add support for :blob
323 04 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
324 * db-mysql/mysql-sql.lisp, db-db2/db2-sql.lisp: Add
325 missing quotes for types in code that is still in development
326 (thanks to Joerg Hoehle)
328 03 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
329 * Version 3.0.8 released
330 * db-sqlite/sqlite-*.lisp: Apply patch from
331 Aurelio Bignoli with improvements
333 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
334 * multiple: Apply patch from Joerg Hoehle with multiple
337 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
338 * Version 3.0.7 released
339 * sql/oodml.lisp, sql/package.lisp, db-mysql/mysql-objects.lisp:
340 Add support for mediumint.
341 * sql/metaclass.lisp: Rework CLISP MOP handling
342 * sql/ooddl.lisp: Work-around to have CLISP finalize standard-db-class
344 28 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
345 * sql/metaclass.lisp: Support CLISP's attribute name
346 for the type field in direct class slots
348 27 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
349 * Version 3.0.6 released
350 * BUGS: New file. Document suspected SIGPIPE
351 interaction between SBCL and libpq used in
353 * doc/ref-fdml.lisp: Document the :caching and :refresh
354 keywords of the SELECT function.
355 * doc/ref-ooddml.lisp: Document the new *default-caching*
357 * sql/package.lisp: Export *default-caching*
358 * sql/oodml.lisp: Use *default-caching* to
359 control default caching behavior.
361 21 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
362 * Version 3.0.5 release
363 * doc/appendix.xml: Add note about loading Oracle8 version
364 * db-oracle/oracle-loader.lisp: Support Oracle8 based on
365 data from David Young.
367 10 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
368 * doc/Makefile, doc/catalog-darwin.xml: Apply
369 patch from Cyrus Harmon for building docs on Mac OS X
370 * sql/package.lisp: Add new (pre-release) clisp MOP package
372 09 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
373 * Version 3.0.4 Release
374 * multiple: Remove superfluous quotes in UFFI def-type
375 and def-foreign-type forms.
377 07 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
378 * Version 3.0.3 Release
379 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
380 from Tagore Smith to call force-output after sending authentication
381 * db-odbc/odbc-api.lisp: Move ODBC v3 conversons
382 * db-odbc/odbc-sql.lisp: Load mysql or postgresql package when connecting
383 to a database of that type so that functions that indicate capabilities of
384 database are available.
386 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
387 * db-odbc/odbc-api.lisp: More conversions to ODBC v3
389 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
390 * Version 3.0.2 Release
391 * TODO: Add note about ODBC on Windows
392 * db-odbc/odbc-loader.lisp: Add /winnt/system32/ to
394 * db-odbc/odbc-ff-interface.lisp: Change the return type
395 of SQLSetEnvAttr to :short
397 02 Sep 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
398 * examples/clsql-tutorial.lisp: added missing initarg for the COMPANYID
399 slot of the employee View Class definition [reported by Franz Deuzer].
401 01 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
402 * Version 3.0.1 Release
403 * tests/test-init.lisp: Add second join class to employee-address
404 to test a class with two join slots.
405 * sql/oodml.lisp: Fix find-all function for a class with multiple
407 * TODO: Remove need to test/fix multiple join classes
409 27 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
410 * db-mysql/Makefile, db-mysql/mysql-loader.lisp: accept patch
411 from Jon Buffington for file locations on Darwin.
413 17 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
414 * sql/db-interface.lisp: Improve messages when functions
415 are passed a database object, but the method is not specialized
416 for that database type.
417 * sql/metaclasses.lisp: Fix inline declaration (reported by
420 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
421 * TODO: Add bug report about SQL generation with a table
422 containing two join slots.
423 * sql/oodml.lisp: Add optional size to VARCHAR type
425 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
426 * Version 3.0.0 Release
427 * sql/expressions.lisp: Change declaration that
428 caused error on openmcl
429 * db-aodbc/aodbc-sql.lisp: Fix storage location
430 of odbc connection. Specialize database-query since
431 dbi's :types keyword is different than generic-odbc's
432 :result-types keyword
433 * sql/db-interface.lisp: Add warnings for methods
434 not specialized by a db backends
435 * tests/test-fddl.lisp: Fix case of symbols to support
436 case-sensitive Allegro
437 * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
438 * tests/test-init.lisp: Note that odbc driver for postgresql
439 doesn't properly handle table ownership
440 * LATEST-TEST-RESULTS: update with version 3.0.0
442 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
443 * sql/expressions.lisp: conditionalise escaping of backslash in
444 generated SQL strings on backend.
445 * tests/test-fdml.lisp: test for escaping of backslash.
446 * sql/oodml.lisp: minor tidying in FIND-ALL.
448 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
449 * NEWS: Initial 3.0 announcement draft
450 * README: Expand acknowledgements of incorporated projects
451 * CONTRIBUTORS: Further document Marcus Pearce contributions
453 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
454 * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
455 to print floats with the exponent markers removed.
456 * tests/test-oodml.lisp: add tests for updating records with floats.
458 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
459 * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for
460 CommonSQL compatibility.
461 * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since
462 this column constraint syntax is not supported.
463 * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
464 from EMPLID to LAST_NAME since Oracle complains that EMPLID is already
467 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
468 * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES.
469 * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES.
470 * doc/ref-ooddl.xml: minor changes to syntax and examples entries
472 * doc/ref-oodml.xml: add examples for OODML.
473 * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument
475 * sql/metaclasses.lisp: update docstrings.
476 * tests/test-init.lisp: change :db-constraints for emplid to
477 (:not-null :unique) as a temporary test for multiple column constraints
479 * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and
480 return type of (SETF SLOT-VALUE-USING-CLASS).
481 * TODO, doc/TODO: remove items done.
484 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
485 * sql/oodml.lisp: on Lispworks, use weak valued hash tables for
487 * sql/expressions.lisp: Fix SQL generation for the symbol NIL.
489 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
490 * sql/expressions.lisp: reactivate caching of generated SQL strings.
491 Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY
492 here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT,
493 OUTPUT-SQL and DATABASE-OUTPUT-SQL.
494 * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move
495 methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to
496 sql/expressions.lisp.
497 * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in
498 DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT.
499 * sql/generics.lisp: add docstrings.
501 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
503 * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
504 code in favor of fixing UFFI with James Bielman's patch
506 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
508 * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
511 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
512 * README, INSTALL: update URLs. Minor updates to descriptions.
513 * tests/README: remove stuff about editing contexts.
515 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
516 * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to
517 *default-string-length*
519 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
520 * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping
522 * tests/test-fddl.lisp: add tests for column and table constraints
523 in CREATE-TABLE. Add test for OWNER keyword parameter to
524 LIST-TABLES (assuming same underlying machinery in other FDDL
526 * tests/test-init.lisp: restrict above test to postgresql and oracle.
528 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
529 * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio
532 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
533 * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
535 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
537 * doc/*.xml: documentation additionals and fixes so
538 that docbook passes xmllint.
540 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
542 * sql/fdml.lisp: Apply patch from Kim Minh Kaplan
543 to change escaping of single quotes. Mild optimizations
544 for escaped string output.
545 * doc/ref-ooddl.lisp: documentation additions
546 * doc/ref-oodml.lisp: Add purpose to functions
547 * TODO: Add need to test single quote escaping
549 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
550 * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
551 * sql/ooddl.lisp: Added SMALLINT type
552 * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
553 * db-mysql/mysql-objects.lisp: Added SMALLINT type
554 * sql/package.lisp: Export SMALLINT
555 * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
558 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
559 * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the
560 recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS
561 View Class slot option.
562 * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class
563 slot option accepting a list of constraints [reported by Travis Cross].
564 * doc/ref-fddl.xml: add some examples of specifying column and
565 table constraints to the documentation for CREATE-TABLE.
566 * TODO: add note about adding tests for table/column constraints. Add
567 optimisation note about using cached attribute types in insert/update
570 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
571 * doc/appendix.xml: add notes about idiosyncrasies/unsupported
572 features and so on the documentation for each backend.
573 * doc/TODO: remove items done.
574 * doc/ref-transaction.xml: add note in introduction about
575 autocommit mode as a difference from CommonSQL.
576 * doc/ref-syntax.xml: add notes about SQL syntax state functions
577 being macros in CLSQL. Add note about SQL operators which are
580 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
581 * Version 2.11.12 released
582 * doc/ref-recording.xml: document SQL I/O recording.
583 * doc/ref-prepared.xml: new file for documenting prepared statements.
584 * doc/clsql.xml: comment out include for large object and CLSQL-SYS
586 * doc/ref-conditions.xml: complete documentation of condition system.
587 * doc/global-index.xml: add symbols from condition system and remove
588 those from LOB and prepared statement APIs.
589 * doc/ref-fdml.xml: complete documentation of FDML.
590 * doc/glossary.xml: add View Class.
591 * doc/TODO: remove items done.
592 * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR.
593 * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export
594 additional slot accessors for condition classes.
596 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
597 * doc/ref-ooddl.lisp: Add documentation
598 * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
599 and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
600 * doc/oodml.lisp: Rename references to new name of
601 *DEFAULT-STRING-LENGTH*
603 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
604 * doc/ref-transaction.xml: document transaction handling.
605 * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and
606 START-TRANSACTION return NIL as per the CommonSQL spec. Modify
607 ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is
608 passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
611 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
612 * doc/ref-fdml.xml: document the FDML.
613 * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here.
614 * sql/ooddl.lisp: moved *default-varchar-length* to here from
615 oodml.lisp and renamed to *default-string-length*
617 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
618 * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
619 to allow specifying transactionless table creation
620 * doc/ref-oodml.lisp: Add new keyword to signature of
623 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
625 * sql/expressions.lisp: when removing duplicate table identifiers
626 in the FROM clause of a query, check both table name and alias
628 * sql/fdml.lisp: remove DESCRIBE-TABLE.
629 * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and
630 DATABASE-DESCRIBE-TABLE.
631 * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE
632 and LIST-TABLE-INDEXES.
633 * sql/generic-postgresql.lisp: add reader conditional #+nil for
634 DATABASE-DESCRIBE-TABLE and comment about its uses for
635 re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query
636 returning type info for all attributes.
637 Fix DATABASE-SEQUENCE-LAST.
638 * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine
639 LIST-INDEXES with additional keyword parameter :ON.
640 * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3
641 with LIST-INDEXES (with :ON parameter).
642 * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES.
643 * doc/ref-connect.xml: minor tidying.
644 * doc/ref-fddl.xml: document the FDDL.
645 * doc/TODO: removed items done. Moved note about transaction handling
647 * TODO: move note about transaction handling to doc/TODO. Added
648 optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES.
650 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
652 * sql/syntax.lisp: updated docstrings.
653 * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL
655 * sql/database.lisp: add docstrings for CREATE-DATABASE,
656 DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace
657 CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR.
658 * doc/ref-syntax.xml, doc/global-index.xml: minor tidying.
659 * doc/ref-connect.xml: document connection/initialisation.
660 * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here.
661 * doc/TODO: remove items done.
662 * Makefile: add db-oracle to to SUBDIRS.
664 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
665 * sql/oodml.lisp: Add new serialization functions:
666 WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
667 * sql/expressions.lisp: Avoid duplicate FROM names when selecting
668 from a table that has more than one primary index.
669 * sql/conditions.lisp: Fix printing of closed-database error
671 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
673 * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
674 * sql/transactions.lisp: Correctly set slots of SQL-WARNING
676 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
677 * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses
678 of SQL-EXPRESSION from CLSQL-SYS.
679 * sql/syntax.lisp: make error signalled in SQL-OPERATION an
680 SQL-USER-ERROR. Make SQL-OPERATOR return just one value.
681 * doc/Makefile: added Mandrake linux.
682 * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files.
683 * doc/appendix.xml: fixed little typo (adsf).
684 * doc/glossary.xml: removed closed-database and note about
685 sql-expression, added some entries.
686 * doc/ref-syntax.xml: documented the symbolic SQL syntax.
688 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
690 * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
691 * multiple: Add generalized-boolean type as requested by
693 * TODO: Added need for test of generalized-boolean
695 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
696 * Version 2.11.7 released
697 * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
698 for loading with clc-register-user-package. Remove personal
699 directory from path lisp.
700 * db-mysql/mysql-loader.lisp: Similar changes
702 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
703 * Version 2.11.6 released
704 * sql/oodml.lisp: Commit patch from Edi Weitz
705 to fix symbol writing/reading
706 * TODO: Add need for symbol slot test
708 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
709 * sql/package.lisp: remove duplicate export of
710 *CACHE-TABLE-QUERIES-DEFAULT*.
711 * doc/ref-*.xml, doc/global-index.xml: new files documenting
712 the CommonSQL compatible api.
713 * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to
714 reflect changes in return values of WITH-TRANSACTION.
716 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
717 * tests/README: Fix filename [reported by Bill Clementson]
718 * sql/transactions.lisp: Apply return value patch from
719 Edi Weitz for WITH-TRANSACTION
720 * tests/README: Remove ptester package requirement (as noted
723 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
724 * Version 2.11.5 released
725 * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
726 Select connection-spec based on connection type. Bugs reported by
728 * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
729 * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
730 name on Windows, add \bin\ directory to search path
732 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
733 * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in
735 * sql/operations.lisp: substr now generates SUBSTR for use on
736 Oracle; added a new operator SUBSTRING for use elsewhere. minus
737 now generates MINUS for use on Oracle. Nvl signals an error if
738 not called with exactly 2 arguments. Add concat function for use
739 instead of the || operator on MySQL and Oracle.
740 * sql/syntax.lisp: changed internal symbol for the || operator to
742 * sql/expressions.lisp: removed redundant and unused functions
743 GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
744 (cf. MAKE-CONSTRAINTS-DESCRIPTION).
745 * sql/generics.lisp: removed generic function for
746 DATABASE-CONSTRAINT-DESCRIPTION (see above).
747 * tests/test-syntax.lisp: modified/added tests according to changes
748 in sql/operations.lisp.
749 * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test
751 * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP
752 and SQL-USERENV to the shared exports list. Removed
753 ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION,
754 DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION,
755 TRANSACTION-LEVEL, TRANSACTION, RECORD-SQL-COMMAND and
756 RECORD-SQL-RESULT from shared exports list.
758 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
759 * db-postgresql/postgresl-sql.lisp: Avoid computing
760 result-types lisp when nil result-types. Return only
761 one value when field-types nil.
762 * db-mysql/mysql-sql.lisp: Simple queries now
763 working with prepared statements.
765 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
766 * Version 2.11.4: MySQL 4.1 now passes all tests
767 * sql/package.lisp: Add API for prepared statments.
768 * sql/fdml.lisp: Change implicit flatp processing
769 for string map-query for greater CommonSQL conformance.
770 Add high-high API for prepared statements.
771 * tests/test-basic.lisp: Add test for map-query and
773 * sql/transactions.lisp: Change name/semantics of
774 autocommit to set-autocommit.
775 * sql/generic-postgresql.lisp: Add support for
777 * tests/test-internal.lisp: New file
778 * sql/odbc-api.lisp: Update to using ODBC V3 protocol
779 * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
780 Controller invocation.
781 * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
782 * sql/expressions.lisp: Avoid emitting double parenthesis when a
783 function contains a subselect.
785 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
787 * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
788 type (setf slot-value-using-class)
789 * TODO: add not that need a test case for the above fix
790 * db-sqlite: Remove clisp support since clisp can not run CLSQL
792 * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as
793 introduced in Oracle8. Leave older code selectable by a reader macro
794 for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
795 uses OCILogon and does not the more complex session management.
797 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
798 * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
799 * test/test-init.lisp: Add universal-time slot to person.
800 * test/test-fddl.lisp: Add tests of universal-time slot
801 * test/test-ooddl.lisp: Test universal-time slot in an object
802 * TODO: Remove need for universal-time test
803 * debian/rules, debian/control: Add cl-sql-oracle binary package
804 * doc/appendix.xml: Add Oracle backend information
805 * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
806 universal-time. Convert BIGINT CLSQL type to CHAR SQL type
807 * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
808 * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
809 for map-query to reflect changed in arguments to be CommonSQL compatible.
810 Updated old clsql conditions to new CommonSQL compatible conditions.
812 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
813 * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
814 type. Added *default-varchar-length* rather than previous hard-coded
815 varchar length. Remove 'simple-string and 'simple-base-string since they
816 are subtypes of 'string.
817 * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
818 local hard-coded value.
819 * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
820 type string. Convert specified-type (CHAR n) to string. Convert specified-type
821 CHAR to lisp type character.
822 * sql/generic-postgresql.lisp: (string n) => (CHAR n)
823 * sql/operations.lisp: Add userenv
824 * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
826 * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
827 * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
828 * test/test-init.lisp: Add large table with bigint slot
830 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
831 * Version 2.11.1 released: Much simpler Oracle client library loading.
832 Now uses ORACLE_HOME environmental variable as well as tests default
833 path for Oracle Instant Client.
835 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
836 * Version 2.11.0 released: Full Oracle support. All tests pass
837 * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
838 * tests/test-init.lisp: capitalize odbc backend name in banner
839 * CONTRIBUTORS: Add note about Marcus' excellent work
840 * sql/oodml.lisp: Removed old stub function
841 * clsql.asd: Use module names in current package rather than keyword package
842 * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
843 in setting sequence position. Make autocommits more efficient.
844 * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax
845 * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
846 strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
847 and read-sql-value for NUMBER and CHAR.
848 * sql/base-classes.lisp: Add autocommit slot
849 * sql/transaction.lisp: Added autocommit processing, mild cleaning.
850 * doc/intro.xml: Add Oracle
852 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk)
853 * db-postgresql-socket/postgresql-socket-sql.lisp: replace
854 CLSQL-SIMPLE-WARNING with SQL-WARNING.
855 * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with
857 * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR.
858 * clsql.asd: reworked module structure in package definition and
859 file names to better reflect component functionality.
860 * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to
861 exports list. Removed duplicate and obsolete exports. Exported
862 remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT,
863 SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and
864 according to whether they are specified by CommonSQL or CLSQL
866 * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with
868 * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND
869 here from basic-sql.lisp.
870 * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted).
871 * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted).
872 * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
874 * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted).
875 * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted).
877 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
878 * Version 2.10.22 released
879 * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
880 has reversed class slots, change the default for ordered-class-slots so that slots
881 are now in the same order an in the def-view-class.
882 * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
883 * test/test-fddl.lisp: Add two tests for mixed case names
884 * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
885 for computed fields, this will require some adjustment to the test suite which
886 in many cases expects integers.
887 * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
889 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
890 * Version 2.10.21 released
891 * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
892 db-odbc, and db-aodbc.
893 * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
894 DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
895 * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
896 * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to
897 sql/generic-odbc.lisp
898 * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp:
899 Move common code to sql/generic-postgresql.lisp
900 * sql/classes.lisp: honor case of string tables when outputting queries
901 * sql/objects.lisp: Add database type to default database-get-type-specifier method
902 * sql/sql.lisp: Add database type to default database-abort-transaction method
903 * db-mysql/mysql-objects.lisp: New file
904 * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
905 * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
907 * test/test-fdml.lisp: String table names are now case sensitive, so convert to
908 default db case for FDML/SELECT/25
910 22 May 2004 Kevin Rosenberg
911 * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
912 * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
913 and string identifiers with non-default case
914 * sql/table.lisp: Don't convert string table name to a symbol.
915 * sql/classes.lisp: Honor case of string identifiers
916 * sql/sql.lisp: Ensure recyclebin is purged for Oracle in
918 * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
919 of owner phrases. Obtain server and client versions.
920 * db-oracle/oracle-objects.lisp: Fix type specifiers
921 * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
922 * tests/test-init.lisp: Properly get username from Oracle connection-spec
924 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
925 * sql/generics.lisp: reworked docstrings. Remove generics for
926 ADD-TO-RELATION and REMOVE-FROM-RELATION.
927 * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS
928 to UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
929 * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS
930 for CommonSQL compatibility. Remove ADD-TO-RELATION and
931 REMOVE-FROM-RELATION.
932 * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to
933 UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
934 * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS.
935 * sql/conditions.lisp: add documentation for conditions. Add
936 SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility.
938 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
939 * sql/basic-sql.lisp: reworked docstrings.
940 * sql/transactions.lisp: reworked docstrings.
941 * sql/sql.lisp: reworked docstrings.
942 * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE
943 sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility.
944 * sql/database.lisp: reworked docstrings.
945 * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P
946 and FDML extensions and database extensions.
948 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
949 * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
950 * db-oracle/make9.sh: add makefile for building with Oracle 9 client
952 * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
953 Oracle versions with the PURGE option required for drop table. This needs
954 to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
956 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
957 * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE.
958 * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION.
959 * sql/table.lisp: reworked docstrings.
960 * sql/objects.lisp: moved *default-update-objects-max-len* here from
962 * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE,
963 DROP-VIEW and DROP-INDEX and the use of the :transactions and
964 :constraints keyword args to CREATE-TABLE.
965 * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now
966 CommonSQL compatible with respect to column constraints.
968 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
969 * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
970 Requires UFFI 1.5.0 or higher
972 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
974 * sql/conditions.lisp: Fix cerror
976 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
977 * Version 2.10.18 released: New condition hierarchy to be compatible
978 with CommonSQL -- not backward compatible with previous CLSQL.
979 * sql/db-interface.lisp: Add more default methods
980 * sql/objects.lisp: Add explicit table name to order-by parameters
981 in find-all when only one table to avoid selecting a duplicate row.
982 Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
983 as previous logic was adding two fields (foo asc) to SELECT query.
984 Make :result-types :auto be the default for object selections.
985 Properly handle caching key when using multiple order-by with asc/desc
987 * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
989 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
990 * sql/recording.lisp: reworked docstrings.
991 * sql/syntax.lisp: reworked docstrings.
992 * doc/TODO: added notes about extensions to SQL-RECORDING-P and the
993 SQL syntax state functions being macros.
995 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
996 * sql/package.lisp: Export initialize-database-type and
997 *initialize-database-types* from CLSQL package.
998 * sql/conditions.lisp: Add new CommonSQL compatible conditions,
999 remove old CLSQL conditions.
1000 * sql/loop-extensions.lisp: Make errors of type sql-user-error
1001 * */*.lisp: Convert to from old to new conditions
1003 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1004 * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
1005 To handle this difference, will need to add a new database-drop-table
1007 * db-oracle/oracle-sql.lisp: Move server-version and
1008 major-version-number to database object to allow multiple connections
1009 to Oracle servers of different versions.
1011 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1012 * TODO: moved notes about backends to doc/TODO.
1013 * doc/TODO: added notes about backends and select extensions.
1014 * sql/base-classes.lisp: remove obsolete schema slot in database
1017 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1018 * db-oracle/oracle-api: Add OCIServerVersion
1019 * db-oracle/oracle-sql: Query and store server version on connect
1020 * sql/db-interface.lisp: Add new db-type-has-bigint? generic
1021 function to handle OCI's lack of bigint support
1022 * test/test-basic.lisp: Separate bigint testing
1023 * test/test-utils.lisp: Add oracle to specs and list of backends
1024 * doc/TODO: New file
1025 * test/test-fdml.lisp: Added FDML/SELECT/34 to test
1026 run-time instantiation of variables in reader macros.
1027 * TODO: Remove item already complete. Add note about
1030 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1031 * sql/syntax.lisp: added condition to the reader macro to treat [*]
1032 as a column identifier (rather than an operation) for CommonSQL
1034 * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION
1035 keword args to SELECT, [*] as column identifier, new MAP-QUERY
1036 behaviour and the ANY and ALL operators in subqueries.
1037 * tests/test-init.lisp: add set-operation and subquery tests to
1038 appropriate skip lists.
1039 * sql/objects.lisp: remove redundant and non CommonSQL compatible
1040 ORDER-BY-DESCENDING keyword argument for SELECT.
1041 * sql/classes.lisp: remove redundant and non CommonSQL compatible
1042 ORDER-BY-DESCENDING keyword argument for SELECT.
1043 * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT
1044 with object queries.
1046 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1047 * sql/db-interface.lisp: Add new db-type-has-union?
1048 since Mysql 3.23 does not support unions.
1049 * sql/test-init.lisp: Don't try union tests on database
1050 backends which do not support it.
1051 * db-oracle/*.lisp: initial port to UFFI
1052 * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
1053 implement REFRESH for SELECT.
1054 * tests/test-oodml.lisp: Add tests for deferred retrieval,
1055 caching, refresh, and update-object-joins
1056 * tests/test-init.lisp: Add deferred-employee-address class
1058 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1059 * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add
1060 COALESCE operator and make NVL a synonym for this. Make ANY, SOME,
1061 ALL and EXISTS generate function expressions so they output the
1063 * sql/classes.lisp: SELECT now generates appropriate SQL when
1064 passed the SET-OPERATION and ALL keyword arguments.
1065 * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now
1066 accepts ordering constraints as pairs of the form (column direction)
1067 where direction may be :ASC or :DESC.
1068 * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL.
1069 Correct tests for ANY, SOME, ALL and EXISTS.
1070 * tests/test-fdml.lisp: added test for COALESCE.
1071 * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION
1072 using funcall unless QUERY-EXPRESSION returns one column and its
1073 FLATP slot is not nil in which case apply is used.
1074 * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the
1076 * TODO: remove items done.
1077 * db-postgresql/postgresql-sql.lisp: no need to reverse results in
1078 DATABASE-LIST-ATTRIBUTES.
1079 * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
1080 results in DATABASE-LIST-ATTRIBUTES.
1082 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1083 * sql/classes.lisp: SELECT now accepts table identifiers as strings
1084 for CommonSQL compliance. Add support for qualified sql identifiers
1085 with aliased table names.
1086 * tests/test-fdml.lisp: added tests for table identifiers as strings
1087 in SELECT and for aliased definitions.
1088 * tests/test-syntax.lisp: added tests for alias definitions.
1090 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1091 * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and
1092 field-names set to nil.
1093 * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly
1094 with null attribute values.
1095 * sql/operations.lisp: modify SQL concatenation operator to accept
1096 unescaped || symbol.
1097 * sql/syntax.lisp: modify sql reader macro function to accept
1098 unescaped sql concatenation operator.
1099 * tests/test-fdml.lisp: unescape sql concatenation operator.
1100 * tests/test-syntax.lisp: unescape sql concatenation operator.
1101 * TODO: remove items done. Add notes about SQLITE/MYSQL backends.
1102 Note to add test for universal-time. Note about difference from
1103 CommonSQL in transaction handling.
1105 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1106 * tests/test-init.lisp: Add deferred-employee-address
1108 * tests/test-oodml.lisp: Add deferred retrieval testgs
1110 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1112 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
1113 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
1114 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
1115 * *: Fix minor style warnings
1116 * clsql-classic: Remove system and subdirectory
1117 * clsql-base: Remove system and subdirectory and
1118 fold into clsql system
1119 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
1120 as supported platform.
1122 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1123 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
1124 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
1125 Allegro 7.0beta AMD64
1126 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
1127 of ODBC longs since this type can vary on 64-bit platforms depending
1128 upon the compilation options of unixODBC.
1129 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
1130 structures found by testing with AllegroCL 7.0b AMD64.
1131 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
1132 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
1133 Initial caching support for SELECT
1134 * tests/test-oodml.lisp: Avoid using cache when testing select.
1135 * sql/kmr-mop.lisp: Explicitly check slot order and
1136 store as a cl:*feature*
1137 * sql/recording.lisp: Remove additional types to
1138 increase CommonSQL conformance.
1139 * tests/test-init.lisp: Change a :column attribute
1140 to test symbols as value
1141 * sql/relations.lisp: Remove functions since they don't support
1142 many to many relationships.
1143 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
1144 of add-to-relations function and replace with explicit field settings.
1145 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
1147 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1149 * LATEST-TEST-RESULTS: results with current version
1150 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
1151 since cmu19 has opposite order of class slots.
1152 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
1153 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
1155 * tests/test-init.lisp: Check test-database-underlying-type for
1158 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1159 * sql/operations.lisp: complete remaining operations for the sql
1160 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
1161 UNION, INTERSECT, BETWEEN.
1162 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
1163 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
1164 * tests/test-syntax.lisp: add tests for new operations.
1165 * tests/test-fdml.lisp: add tests for queries based on new operations.
1166 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
1167 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
1168 * TODO: removed entries done.
1170 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1171 * tests/benchmarks.lisp: Add immediate vs. deferred
1174 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1175 * Version 2.10.13: Now works on openmcl 0.14.2
1176 * sql/objects.lisp: Add :retrieval :immediate for
1178 * tests/test-init.lisp: Add non-index fields for testing
1179 join class employee-addresss
1180 * test/test-oodml.lisp: Add tests for retrieval immediate
1181 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
1182 values which are now listifed by openmcl 14.2.
1183 * sql/objects.lisp: more framework for supporing immediate retrieval
1185 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1186 * docs/intro.xml: Upload location of a README file
1187 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
1188 changing the type-specifier. Use a lisp type of (OR NULL FOO)
1189 for a specified-type of FOO unless :db-constraints :not-null.
1190 No need to specialize finalize-inheritance for openmcl.
1191 * tests/test-*.lisp: Rename fields so that joins occur on
1192 fields with different names. This ensures that join code is
1193 selecting the proper name.
1194 * test/test-init.lisp: Add :base-table for employee-address
1195 view class for testing.
1196 * sql/objects.lisp: Use view-table rather than name of table
1197 in a number of places to fix errors noted with using :base-table.
1199 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1200 * sql/objects.lisp: replace *update-records-on-make-instance* with
1201 *db-auto-sync* which also controls both automatic creation of
1202 new records on creation of new instance and updating of record
1203 fields on setting of instance slots (as suggested by Edi Weitz).
1204 * tests/test-init.lisp: replace *update-records-on-make-instance*
1205 with *db-auto-sync*.
1206 * sql/package.lisp: replace *update-records-on-make-instance*
1207 with *db-auto-sync*.
1208 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
1209 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
1210 and *default-database* in FIND-ALL.
1211 * sql/package.lisp: import time functions from CLSQL-BASE.
1212 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1213 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1214 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
1215 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
1218 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1219 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
1220 now return a sql-object-query type rather than directly performing a query.
1221 This improves CommonSQL conformance.
1222 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
1223 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
1224 depend on sql-object-query-type.
1225 * sql/loop-extensions.lisp: Move from base package
1226 * classic/package.lisp: remove references to map-query and do-query
1228 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1229 * TODO: New section on optimizations, especially optimizing JOINs.
1230 * sql/objects.lisp: Have :target-slot return of list of lists rather
1231 than a list of cons pairs to be conformant with CommonSQL.
1232 Make :target-slot much more efficient by using a SQL inner join
1233 statement and just requiring one SQL query. Add :retrieval :deferrred
1234 to target-slot joins. Add placeholder for update-objects-join.
1235 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
1236 and process them for query output-sql.
1238 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1240 * base/basic-sql.lisp: Avoid multiple evaluation
1241 of query-expression in DO-QUERY
1242 * sql/objects.lisp: Make SELECT a normal function.
1243 SELECT now accepts type-modified database identifiers, such as
1244 [foo :string] which means that the values in column foo are returned
1245 as Lisp strings. Add new *update-records-on-make-instance* special
1246 variable controlling automatic creation of new instances. Add missing
1247 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
1248 * sql/packages.lisp: Export *update-records-on-make-instance*
1249 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
1251 * test/test-fdml.lisp: Add tests for type-modified
1252 database identifiers.
1253 * test/test-init.lisp: Stop using add-relation since implementing
1254 many-to-many joins. Use *update-records-on-make-instance*
1255 to automatically store records on instance creation. Add many-to-many
1256 employee-address view-class.
1258 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1260 * base/loop.lisp: Add object iteration. Use :result-type
1261 :auto for result-set. Remove
1262 duplicate (and non-correct) code for non-list variables by
1263 simply making an atom variable into a list.
1264 * sql/package.lisp: Remove unnecessary clsql-sys package
1265 and replace it with clsql.
1266 * sql/metaclasses.lisp: Properly store specified-type from
1267 direct-slot-definition and then store translated type in
1268 effective-slot-definition
1269 * sql/classes.lisp: Don't output type in sql-output
1270 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
1271 [foo :integer] as fields in SELECT.
1272 * sql/query.lisp: Set default for :result-types to :auto in
1274 * sql/objects.lisp: Use specified-type when invocating
1275 database-get-type-specifier. def-view-class macro now returns
1277 * base/basic-sql.lisp: Make :AUTO the default value for
1278 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
1279 * sql/objects.lisp: Add bigint type
1280 * test/tests-basic.lisp: Add tests for :result-types for
1281 MAP-QUERY and DO-QUERY
1282 * test/test-fdml.lisp: Add test for result-types in LOOP
1283 and also using single symbol rather than a list for variables.
1284 Add test that default :result-types is auto for FDML QUERY.
1285 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
1286 of SQL-IDENT-ATTRIBUTE.
1287 * test/test-oodml.lisp: Enable OO loop iteration test,
1288 modify it so it doesn't depend on boolean where.
1290 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1292 * sql/objects.lisp: added derived type specifier for universal time.
1293 * sql/package.lisp: added #:universal-time to clsql-sys exports.
1294 * tests/test-oodml.lisp: added test for translation of boolean slots
1295 in SELECT with object queries.
1297 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1298 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
1299 for odbc/postgresql backend.
1300 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
1301 it can handle NIL values from the ODBC driver
1302 * tests/benchmarks.lisp: New file with initial
1304 * sql/relations.lisp: fix to add subclassing support,
1305 minor optimizations [Edi Weitz]
1307 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1309 * base/conditions.lisp: Add *backend-warning-behavior*
1311 * db-postgresql-socket/postgresql-socket-sql.lisp:
1312 Honor value of *backend-warning-behavior*
1313 * tests/test-fdml.lisp: Remove test of raw boolean value
1314 since different backends handle this differently. Add
1315 test for :column attribute.
1316 * tests/test-oodml.lisp: Add tests for boolean slot value
1317 and for :void-value attribute
1318 * tests/test-init.lisp: Use *backend-warning-behavior*
1319 to suppress warnings from postgresql about implicitly
1320 creating primary key in tables. Add new address table.
1322 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1324 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
1325 result-types is :auto
1326 * sql/objects.lisp: Properly handled writing/reading Boolean
1327 values from SQL database when retrieving objects.
1328 * test/test-fdml.lisp: Add another test for boolean results
1329 * test/utils.lisp: Fix incorrect declaration
1331 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1333 * sql/generics.lisp: add generic function for SELECT.
1334 * sql/objects.lisp: make SELECT a method specialisation.
1335 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
1336 referred to are View Classes.
1337 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
1338 query-expression arg evaluates to a list, then we have an object
1340 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
1342 * TODO: remove items done and add a todo for SELECT.
1343 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
1345 * sql/sql.lisp: add :field-names arg to QUERY.
1346 * tests/test-fdml.lisp: minor rework to use :field-names arg to
1349 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1350 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
1351 or more View Classes.
1352 * sql/objects.lisp: make the :flatp argument to SELECT work with
1354 * sql/objects.lisp: make SELECT accept a :result-types argument
1355 (defaults to :auto) which is passed on to QUERY.
1356 * sql/objects.lisp: SELECT returns field-names as a second value.
1357 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
1358 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
1359 to SELECT and take only first value as appropriate.
1360 * tests/test-fdml.lisp: add two new tests for query result coercion
1361 and the field-names returned as a second value from SELECT.
1362 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
1364 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1365 * Version 2.10.6-pre1
1366 * sql/metaclasses.lisp: Add void-value slot
1367 * doc/csql.xml: Update def-view-class documentation
1368 * test/test-init.lisp: Change old :db-type to :db-kind.
1369 Remove old :nulls-ok attributes.
1370 * sql/objects.lisp: Add new universal-time and bigint
1371 types. Optimize reading of integers using parse-integer
1372 rather than read-from-string.
1373 * */*.lisp: Merge clsql-base-sys and clsql-base packages
1374 into clsql-base package
1375 * classic/sql.lisp: Move large object support into base, leaving
1376 classic without any functionality that is provided in the clsql
1378 * classic/package.lisp: Rename clsql-classic-sys package to
1379 its former nickname of clsql-classic
1381 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1382 * Version 2.10.5: SQLite backend now passes all result-types tests
1383 * clsql-sqlite.asd: Depend on clsql-uffi system
1384 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
1385 for efficiency and code reuse.
1386 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
1387 for better cross-implementation compatibility.
1389 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1391 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
1393 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
1394 bug on SBCL in result-field-names function as reported by Marcus Pearce
1395 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
1396 manifest in SBCL testing
1398 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1400 * sql/database.lisp: Conform more to CommonSQL output
1401 for STATUS command [Marcus Pearce]
1402 * sql/sqlite-sql.lisp: Rework to use result-types
1403 * sql/sqlite-api-clisp.lisp: Add compatibility layer
1404 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
1405 be cleaned up of most clisp reader conditionals
1406 * sql/test-init.lisp: Now run field type tests on sqlite
1409 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1411 * base/basic-sql.lisp: Set default value of :result-types
1412 to :auto for more CommonSQL conformance.
1413 * test/test-fdml.lisp: Add tests for numeric value of fields
1416 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1417 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
1418 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
1419 Return field names as second value for QUERY. This can be overridden
1420 for efficiency with the new keyword :FIELD-NAMES set to NIL
1421 in the QUERY invocation.
1422 * test/test-fdml.lisp: Add tests for new field-name feature
1423 * sql/metaclass.lisp: Remove old Lispworks cruft
1424 and replace it with invocation of new code in kmr-mop.lisp
1425 which actually works with Lispworks 4.2
1426 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
1428 * base/db-interface.lisp: Document the multiple values
1429 returned by DATABASE-ATTRIBUTE-TYPE so matches the
1430 undocumented CommonSQL behavior.
1431 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
1432 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
1433 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
1434 Implement CACHE-TABLE-QUERIES.
1435 * db-odbc/odbc-sql.lisp: Fix attribute-type function
1436 * test/test-fddl.lisp: Add tests for attribute type
1437 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
1439 * base/classes.lisp: Add attribute-cache slot to database clas
1440 * base/initialize.lisp: initialize-database-type now automatically
1441 loads database-type backend as needed.
1442 * base/test-init.lisp: Utilize new initialize-database-type functionality.
1443 * TODO: remove items done
1445 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1447 * sql/objects.lisp: remove create/drop-sequence-from-class.
1448 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
1449 * sql/objects.lisp: improved CommonSQL compatibility for
1450 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
1451 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
1452 * sql/generics.lisp: move generics from objects.lisp to here.
1454 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1455 * Version 2.9.6-pre1
1456 * db-mysql/mysql-client-info.lisp: Add client version 4.1
1458 * sql/sql.lisp: Make *default-database* the default for
1461 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1463 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
1465 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
1466 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
1467 on a metaclass specialized from standard-db-class.
1470 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1471 * Version 2.9.4: Multiple changes to support Allegro's "modern"
1472 lisp which uses a lowercase reader and has case-sensitive symbols
1473 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
1474 exposed by case-sensitive mlisp.
1476 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1477 * Version 2.9.3: All tests now pass on all platforms!
1478 * LATEST-TEST-RESULTS: New file with summary of test results
1479 * sql/generics.lisp: New file for generic function definitions.
1480 * test/test-init.lisp: Display names of skipped tests.
1481 Use unwind-protect to ensure disconnect
1482 * sql/objects.lisp: Change database-type to database-underlying-type
1483 so that actual database engine is properly identified
1484 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
1485 return an ISO timestring for compatibility with other drivers.
1486 Workaround bug in MyODBC for LIST-TABLE-INDEXES
1487 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1488 returns floating-point values for floor and truncate operations
1489 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1490 * tests/test-basic.lisp: Port to regression tester
1491 * test/test-init.lisp: Output to *report-stream*
1492 * docs/appendix.xml: Document ODBC and SQLite backends.
1493 * sql/classes.lisp: Make output-sql require a database parameter.
1494 This allows SQL generation to have the proper case to support
1495 the differences in case handling between CommonSQL API,
1496 Postgresql, MySQL, Oracle.
1498 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1499 * Version 2.9.2: Improvments in database capability introspection
1500 and querying. Support transactions in MySQL where available.
1501 All tests now pass on MySQL and SQLite in addition to postgresql
1502 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1503 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1504 DATABASE-LIST-SEQUENCES.
1505 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1506 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1507 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1508 * tests/*.lisp: Check database capabilities and remove tests which
1509 the database backend does not support
1510 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1511 controls whether InnoDB tables will be created when supported on
1512 the underlying MySQL server.
1514 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1515 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1516 supported by all database backends (except AODBC since
1517 AODBC doesn't support index querying)
1518 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1519 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1520 to support index queries
1521 * db-aodbc/aodbc-sql.lisp: Filter driver manager
1522 "information_schema" tables from LIST-TABLES
1523 * tests/test-basic.lisp: Remove table after testing
1524 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1525 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1526 which gets the underlying type of database -- required
1527 when dealing with ODBC databases and want to query
1528 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1529 as first database-backend specific feature. Is T on
1530 :mysql, NIL on other backends. Change DROP-TABLE to
1533 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1534 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1536 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1538 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
1539 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
1541 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1542 * Version 2.8.0: New API function: LIST-DATABASES
1543 * base/utils.lisp: Fix command-output on CMUCL/SBCL
1544 * db-*/*-sql.lisp: Add new database-list function
1545 * base/database.lisp: Add new LIST-DATABASES command
1547 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1549 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1550 * db-sqlite/sqlite-api-uffi.lisp: Print error string
1553 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1555 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1558 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1560 * base/objects.lisp, base/classes.lisp: Patch
1561 for db-kind from Eduardo Munoz
1563 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1565 * base/basic-sql.lisp: Fix FLATP in QUERY
1567 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1568 * Version 2.7.3: Implement RECONNECT
1570 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1571 * Version 2.7.2: Fix ODBC on Lispworks Windows
1573 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1574 * Version 2.7.1: Fix for new ODBC backend.
1575 clsql-odbc now works on SBCL, CMUCL, OpenMCL
1576 in addition to AllegroCL and Lispworks.
1578 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1579 * Version 2.7.0: New backend: ODBC. Tests as
1580 well as AODBC backend on Allegro,Lispworks.
1581 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
1582 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1583 to explicitly set ODBC2 support. Add BIGINT support.
1584 Add result-types support. Added SQLTables.
1585 Fix array type in fetch-all-rows. Make width
1586 changable by database or query.
1587 * base/utils.lisp: Add process functions
1588 * base/package.lisp: Export utils to CLSQL-BASE-SYS
1589 * db-aodbc: Implement sequence functions,
1590 database-list-tables, database-list-attributes
1591 * tests/utils.lisp: Add support for ODBC backend,
1592 rework READ-SPECS to use +all-db-types+
1593 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
1596 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1597 * Version 2.6.13. Requires UFFI version 1.4.9
1598 * db-odbc/*.lisp: Further porting.
1599 Pre-alpha code! But, basic query is now working.
1601 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1603 * base/transactions.lisp: Add quote for macro
1604 expansion of WITH-TRANSACTIONS [Time Howe]
1605 * db-sqlite/sqlite-sql.lisp: Support memory database
1606 in database-probe [Ng Pheng Siong]
1607 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
1608 The DBI layer is not finished.
1610 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1612 * sql/objects.lisp: add :root-class functionality for
1613 list-classes and add duration type support [Marcus Pearce]
1614 * db-odbc: Add mid-level [DBI] layer
1616 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1618 * db-aodbc: Add methods for generic functions, some are
1619 not yet implemented.
1620 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
1623 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1625 * base/package.lisp: Add missing symbols [Marcus Pearce]
1627 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1629 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
1630 * utils/time.lisp: Multiple fixes [Marcus Pearce]
1631 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
1633 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1635 * sql/*.lisp: Remove schema versioning cruft
1637 * Makefile: Add classic subdirectory
1639 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1641 * sql/sql.lisp: Fix TRUNCATE command, bug reported
1643 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
1644 specific and easy for an application to directly support.
1645 Idea from Marcus Pearce.
1646 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
1647 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
1648 Keep low-level interface for future optimization
1649 supporting LIST-ATTRIBUTE-TYPES command.
1650 * Makefile: Add to db-sqlite and test directories.
1651 Include them in top-level Makefile
1653 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1655 * sql/relations.lisp: Add missing file
1656 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
1657 * test/test-time.lips: New file [Marcus Pearce]
1659 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1661 * test/test-init.lisp: Properly handle object
1662 creation. Close database after use.
1663 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
1664 function so can have methods specialized on
1665 table being a string or an sql-table object.
1666 * base/pool.lisp: Really fix CMUCL locking
1668 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1670 * test/test-init.lisp: Signal correctly
1671 if any errors occurred in any test suite
1672 * base/loop-extensions.lisp: Fix error
1673 introduced for Lispworks
1674 * base/pool.lisp: Fix locking for CMUCL
1675 * base/objects.lisp: Remove schema-version cruft
1677 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1678 * Version 2.6.2: New CLSQL API functions:
1679 DESCRIBE-TABLE AND TRUNCATE-DATABASE
1680 Currently, this are only supported on :postgresql
1681 and :postgresql-socket
1682 * base/database.lisp: automatically load ASDF system
1683 in CONNECT if not already loaded
1684 * base/tests.lisp: disconnect database after testing
1685 * base/*.lisp: Remove CLOSED-DATABASE type in favor
1686 of storing open/closed status in slot of database
1687 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
1688 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
1689 DATABASE-DESCRIBE-TABLE
1690 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
1691 * base/conditions: Remove duplicate condition
1692 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
1693 * base/recording.lisp: Add new :QUERY type for recording
1695 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1696 * Version 2.6.1: documentation fixes, merged
1697 classic-tests into tests
1699 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1700 * Version 2.6.0 released: New API functions
1701 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
1702 * doc/ref_clsql.xml: Document new functions
1703 * base/database.lisp: New API functions
1704 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
1705 * base/utils.lisp: Fix use of position-char.
1706 Add COMMAND-OUTPUT used by backends for running
1707 external programs. Fix parsing of SQL*NET-compatible
1709 * base/loop-extension.lisp: Simplify package use
1710 for Lispworks and Allegro
1711 * db-*/*-sql.lisp: Added DATABASE-CREATE,
1712 DATABASE-DESTORY, PROBE-DATABASE methods
1713 * tests/test-init.lisp, clasic-tests/tests.lisp:
1714 Use destroy-database and create-database to ensure
1715 testing with empty database
1716 * tests/test-connection.lisp: Add tests for
1717 parsing of string connection-specs
1718 * examples/run-tests.sh: New file for running
1719 test suite on all installed CL implementations
1720 * examples/clsql-tutorial.lisp: moved from
1722 * examples/dot.clsql-tests.config: New file
1723 giving an example test configuration
1724 * test/README: Add notes about rtest/ptester
1725 downloads and link to sample test configuration file.
1727 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1728 * Version 2.5.1 released:
1729 * tests/*.lisp: Rework so tests are run
1730 on multiple backends automatically based
1731 on the contents of ~/.clsql-tests.config.
1732 Reuse helper functions from classic-tests.
1733 * base/database.lisp: Support connection-spec
1734 as string for CONNECT
1735 * classic-tests/tests.lisp: Automatically
1736 load database backends as needed.
1738 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1739 * Version 2.5.0 released:
1740 All tests for CLSQL and CLSQL-CLASSIC pass
1742 * base/loop-extension.lisp: Add Lispworks
1743 loop-extension. Improve type specifying on
1746 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1747 * Version 2.4.2 released:
1748 loop extension now supported on Allegro, all
1749 CLSQL-TESTS pass on Allegro.
1750 * sql/metaclasses.lisp: Some optimization
1751 of compute-slots, be selective when
1752 ordered-class-slots needs to be called
1753 instead of class-slots
1754 * TODO: add URL with documentation on
1755 extending Lispworks LOOP form
1757 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1758 * Version 2.4.1 released: CLSQL-TESt suite passes
1759 all tests for postgresql and CMUCL, SBCL, OpenMCL.
1760 Allegro and Lispworks pass all tests except for
1761 FDML/LOOP/1 since the loop extension have not yet
1762 been ported to those implementions.
1763 * sql/metaclasses.lisp: Added new slot to standard-db-class
1764 to hold user-specified type. OpenMCL adjustments to compensate
1765 for its type-predicate function. Since AllegroCL, Lispworks,
1766 and OpenMCL have different slot orders, added compute-slots
1767 and ordered-class-slots functions so their slot order matches
1770 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1771 * Version 2.4.0 released: All tests for clsql-classic now finish
1772 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
1773 mysql, postgresql, postgresql-sockets, and sqlite backends.
1774 * db-mysql/mysql-sql.lisp: Fix array dereferencing
1775 * classic-tests/tests.lisp: Fix package name of
1776 number-to-sql-string.
1777 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
1778 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
1779 now passes tests on all support UFFI platforms.
1780 * db-postgresql-socket/postgresql-socket-api.list: Ported to
1782 * multiple: Finish renaming of :types keyword to :result-types for
1783 greater CommonSQL compatibility, including documentation
1784 * sql/basic-cmds.lisp: Remove obsolete file
1786 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1787 * Version 2.3.3 released
1788 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
1789 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
1790 * Fix for schema table [Marcus Pearce]
1791 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
1792 * Fixes to test suite [Marcus Pearce]
1794 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1795 * db-*/*-sql.lisp: Ensure that expr in
1796 database-query-result-set is a string
1797 * Documentation integration
1799 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1800 * With for Marcus Pearce's excellent work, I've merged
1801 his clsql-usql port into clsql. The original clsql
1802 interface is available in the clsql-classic package.
1804 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1805 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
1806 adding further support for providing backend for UncommonSQL
1808 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
1809 * Integrate patch from Aurelio Bignoli for SQLite backend
1811 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
1812 * Converted documentation to XML format
1813 * Made package installable with asdf-install
1815 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
1816 * Add for-each-row macro
1818 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
1819 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
1821 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
1822 * Add support for SBCL, OpenMCL, and SCL
1823 * Add *load-truename* to search path for clsql's
1826 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
1827 * Rework use of file types in .asd files
1829 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
1830 * Add .asd definition files for ASDF users
1832 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1833 * Restructure directories for Common Lisp Controller v3 compatibility
1835 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1836 * Also change case of logical host in loader files
1837 * Rework handling of logical pathnames
1839 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1840 * Change case of logical host
1842 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
1843 * clsql-base.system: Added base package that can be used without
1844 high-level SQL commands. Used for adding support for UncommonSQL.
1845 * *.system: Reworked logical pathnames to be more consistent with
1846 Common Lisp Controller.
1847 * debian/*: Completed initial Debian support
1849 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1851 * sql/transactions.cl:
1852 Added transaction support. Functions/macros added:
1853 with-transaction, commit-transaction, rollback-transaction,
1854 add-transaction-commit-hook, add-transaction-rollback-hook
1856 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1859 * sql/functional.cl:
1860 Added pool support in connect/disconnect and with-database.
1861 Removed with-db-from-pool as with-database can now works with the connections pool
1863 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1868 Completed connection pool.
1869 Added with-db-from-pool macro.
1871 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1873 Added initial support for connection pool
1874 * sql/transactions.cl
1875 Took transaction code from UncommonSQL and integrated
1876 into CLSQL code. See file for disclaimer about why this
1879 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1880 * interfaces/postgresql/postgresql-sql.cl:
1881 Fix keyword typo in database-read-large-object
1882 * interfaces/mysql/mysql-loader.cl
1883 Fix loading on Win32
1884 * test-suite/tester-clsql.cl
1885 Fix type coercion of double-float
1887 Added debian docbook catalog, made it the default
1889 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1890 * interface/postgresql/postgresql-api.cl:
1891 * interface/postgresql/postgresql-sql.cl:
1893 * sql/db-interface.cl:
1894 Added large objects support for postgresql.
1896 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1897 * src/postgresql-socket/postgresql-socket-api.cl:
1898 Fixed find-foreign-function call, eliminated crypt warning
1900 Multiple improvements
1902 Moved functionality from low-level interfaces to this file
1903 via generic functions
1904 * test-suite/tester.cl:
1905 Added test with acl-compat-tester, moved others to old-tests
1908 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1910 Reinstated commented out sections
1911 * interfaces/postgresql/postgresql-loader.cl:
1912 * interfaces/mysql/mysql-loader.cl:
1913 Updated find-forieign-library support.
1914 * interfaces/postgresql-socket/postgresql-socket-package.cl:
1915 Fixed require form for Lispworks (Thanks Marc Battyani!)
1916 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1917 Fixed eval of def-function for crypt library.
1919 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1920 * Added interface to support USQL high-level rouines
1922 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1923 * Separated db-interface and conditions from sql/sql.cl
1924 * Improved foreign library loading testing
1925 * interfaces/postgresql/postgresql-api.cl
1926 Added PQisBusy function
1927 * interfaces/clsql-uffi/clsql-uffi.cl
1928 Fixed sign error for 64-bit processing
1930 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1931 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1932 Fixes to read-double-from-socket. Added 64-bit integer support.
1933 * test-suite/xptest-clsql.cl
1934 Added testint for 64-bit integers
1935 * Additons to installation docs
1937 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1938 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1939 Implemented direct socket reading for field type :double
1940 * Added usage information for :types to documentation
1941 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
1943 * interfaces/clsql-uffi: Created new directory. Split common
1944 interface routines that use UFFI into this package. Required
1945 especially to support direct reading of 64-bit integers into
1946 bignums and bypassing temporary strings.
1947 * test-clsql.cl: Updated to test postgresql-socket's
1948 read-double-from-socket function.
1949 * test-suite/xptest-clsql.cl
1950 Started work on test suite
1952 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1953 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
1954 mysql-fetch-field-direct Got :auto types working
1955 * interfaces/postgresql/postgresql-api.cl
1956 * interfaces/postgresql-socket/postgresql-socket-api.cl
1957 Added pgsql-field-types enum. Got :auto types working.
1959 Renamed :field-types to :types.
1961 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1962 * Added field-types parameter to query, database-query,
1963 database-query-result-set, map-query. Haven't added code
1964 to utilize field types, yet.
1965 * Changed postgresql-socket result set from cons to a structure
1966 * Updated test-clsql.cl to use automated testing with a config
1968 * Changed return types of field accessors from cstring to
1969 (* :unsigned-char). This prepares for being able to use specified
1970 type conversions when taking field data into lisp.
1971 * Added field-type processing for most interfaces. Not done yet.
1973 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1974 * doc/ref.sgml: Updated MAP-QUERY example to use
1975 *read-default-float-format* (John Foderaro)
1976 * Extensive work to foreign library loaders and .system files to
1977 check for successful loading of foreign libraries.
1978 * Modified test-clsql.cl to allow more modularity and
1979 automated testing in future release.
1980 * mysql/mysql-sql.lisp: Added field types
1982 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
1983 * mysql/mysql-sql.lisp:
1984 - Added support for Allegro CL and Lispworks using UFFI layer
1985 - Changed database-connect to use mysql-real-connect. This way,
1986 can avoid using double (unwind-protect)
1987 - Changed database-connect to have MySQL library allocate space
1988 for MYSQL structure. This will make the code more robust in
1989 the event that MySQL library changes the size of the mysql-mysql