1 2013-04-17 Kevin Rosenberg <kevin@rosenberg.net>
3 * sql/utils.lisp: Patch from Ben Hyde to add weak hash table
6 2013-03-07 Ryan Davis <ryan@acceleration.net>
7 * db-postgresql-socket/postgresql-socket-api.lisp - bugfix to
8 adapt to changes in md5:md5sum-sequence. CLSQL now requires a
9 version of MD5 released on or after 2012-11-25 (the latest version
10 currenty in quicklisp). Thanks to Nicolas Neuss for the bug
12 * db-odbc/odbc-sql.lisp - keep a reference to the original
13 connection spec used to create `odbc-database` connections
15 2013-01-09 Russ Tyndall <russ@acceleration.net>
16 sql/oodml.lisp - changed view-classes-and-storable-slots to a
17 method (as it was intended to be all along)
19 2012-12-19 Kevin Rosenberg <kevin@rosenberg.net>
22 2012-11-20 Russ Tyndall <russ@acceleration.net>
23 ## Large refactoring of sql/oodml.lisp and surrounding code
24 * cleaned up update-records-from-* to utilize a single codepath
25 previously there was much duplicate code
26 * tried to further unify direct/effective slot-defs
27 * cleaned up much of the normalized classes code to be more
28 consistent in how it operated, and the code it used (less
29 copy/paste more functions)
30 * tried to standardize iteration a bit, previously almost all
31 of the iteration constructs in CL were used. Tried to
32 standardize on loop for readability / cohesiveness
33 * made functions to more easily look up particular slots, since
34 this was being done differently in each function
35 * added more doc-strings and updated documentation about
37 * inner-joins that are referenced in where clauses are no longer
38 added to the select table list (since they are also referenced
39 in the join position and this led to sql errors)
40 * collect-table-references methods added for sql-ident-table and
44 * disallow where-less updates from objects (ie cannot call
45 update-records-from* with a keyless object)
46 * ordered-class-direct-slots now returns direct-slot-definitions
47 instead of effective-slot-definitions (as per name)
48 * direct-slot-definitions now contain the db-info hash table (same
50 * removed this-class arg from update-instance-from-records - used to
51 be used for normalized code, no longer needed for that.
52 * find-all - bug fixes in table references, previously where clauses
53 surrounded by a list would have none of their references added to
54 the select. This was being exploited by certain code paths. Now
55 all where clauses are searched
56 - No longer includes order-by and distinct as columns in the select
57 list. The values seemed to be ignored in every code path and distinct
58 seemed to be intended to be used as a boolean anyway
61 2012-11-20 Nathan Bird <nathan@acceleration.net>
63 * update-objects-joins - changed the default of slot from t (which
64 used to mean :deferred) to :immediate (to match the default
65 behavior of other parts of the system). It also seemed like a bad
66 default to pull all the slots that were explicitly specified to be
67 not pulled by default. This function now accepts more special
68 values (:immediate, :deferred, :all, or a list of slots). To get
69 the old behavior call with :slots :deferred.
72 2012-10-30 Russ Tyndall <russ@acceleration.net>
73 * sql/command-object.lisp - added dates/times to the parameter value
74 coersion and pulled this into a new generic prepare-sql-parameter
76 2012-09-04 Kevin Rosenberg <kevin@rosenberg.net>
77 * Version 6.3 released
79 2012-09-04 Russ Tyndall <russ@acceleration.net>
80 * sql/expressions.lisp - Try to respect the casing of symbols
81 where it seems intentional (ie: is not default). This should fix
82 a failing test case, and I think behaves more understandibly.
84 If you specify a casing '|Foo Bar| lets treat that a string "Foo Bar"
87 2012-08-28 Ryan Davis <ryan@acceleration.net>
88 * db-sqlite3/sqlite3-api.lisp - allow pathnames in the connection
89 settings, so '("/db/my.sqlite") and '(#P"/db/my.sqlite") are
90 equivalent. Updated the docs to match.
92 2012-08-17 Russ Tyndall <russ@acceleration.net>
93 * db-postgresql-socket3/package.lisp - shadow
94 postgresql-notification for compatibility with new
95 cl-postgres (Thanks Zach)
97 2012-07-09 Russ Tyndall <russ@acceleration.net>
98 * sql/oodml.lisp - fixed a bug where the order by was being
99 destructively modified, causing odd caching issues when the
100 selected object was not statically known (eg unreferenced tables
101 could show up in the query if they were cached by a previous call
102 through this function. I replaced this code with a
103 non-destructive variant which should solve this.
105 Thanks to Philipp Marek for the bug report
107 2012-06-25 Russ Tyndall <russ@acceleration.net>
108 * sql/util.lisp, sql/metaclasses.lisp
109 Dequote database-identifiers if needed (passed a quoted symbol)
110 Metaclass args come through unquoted, so this eases interactions
113 2012-06-22 Russ Tyndall <russ@acceleration.net>
114 * sql/metaclasses.lisp: Changed compute-effective-slot-definition
115 to correctly copy the autoincrement-sequence slot to the ESD
116 previously it was being skipped (seemingly by accident). Thanks
117 to flip214 on #lisp for the bug report
119 2012-04-26 Kevin Rosenberg <kevin@rosenberg.net>
120 * Version 6.2 released: thanks to all the contributors!
122 2012-04-25 Nathan Bird <nathan@acceleration.net>
124 * doc/threading-warnings.txt: Adding some notes from J.T.Klein
125 about the current state of thread-safety in clsql. This should be
126 incorporated into the main docs at some point.
128 2012-04-25 Russ Tyndall <russ@acceleration.net>
129 * sql/expressions.lisp (output-sql): on rendering update/insert
130 expression values, ensure that *in-subselect* is bound to T
131 so that the values will be correctly paren delimited
133 2012-04-24 Nathan Bird <nathan@acceleration.net>
135 * sql/expressions.lisp (output-sql): on mysql CREATE TABLE
136 statements use 'ENGINE=innodb' instead of 'Type=InnoDB'. This has
137 apparently been preferred since mysql 4.1 and mysql 5.5 removed
138 type as a valid keyword.
140 2012-03-28 Russ Tyndall <russ@acceleration.net>
142 * sql/sequences.lisp: [A Patch FROM 2011-07-28 changed sequences.
143 They were previously prefixed with _CLSQL_SEQ_ but are now
144 suffixed with _CLSQL_SEQ. This is likely to break existing
145 implementations using the default sequence names
147 setting *old-sequence-names* to T, should force using the older
150 2012-03-27 Ryan Davis <ryan@acceleration.net>
152 * sql/expressions.lisp: Fixed bug with subqueries in the where
153 clause of update-records and delete-records generating invalid
154 SQL. Previously subselects in where clauses would not have enough
155 parentheses, for example: "WHERE Id IN SELECT foo_id FROM bar"
156 vs. "WHERE Id IN (SELECT foo_id FROM bar)"
157 * tests/test-syntax.lisp: Added tests for using subqueries in the
158 where clause in update-records and delete-records. Moved asserts
159 in the test-output-sql/sql-ident-table function into the standard
161 * doc/appendix.xml: added :connection-string to the information on
162 ODBC connection specs, and added example code connecting to ODBC
165 2012-01-05 Nathan Bird <nathan@acceleration.net>
167 * db-odbc/odbc-dbi.lisp: handle sql decimal type in the same way
168 as numeric type-- read into a double float.
170 2011-01-04 Russ Tyndall <russ@acceleration.net>
171 * sql/operations.lisp
173 Fixed bug reported by JTK related to the not-null sql-expression
174 especially as used in conjunction with the is operator.
176 Made null called with more than one argument throw an exception
177 instead of silently discarding all arguments past the first
179 2012-01-04 Nathan Bird <nathan@acceleration.net>
181 * db-odbc/odbc-api.lisp (%sql-driver-connect): in the call to
182 odbc's SQLDriverConnect default the WindowHandle argument to a null ptr so
183 that connecting with :connection-string will work in the default
184 case of SQL_DRIVER_NOPROMPT.
186 I.e. you can now do things like:
187 (clsql:connect '("DsnName" "UserName" "" :connection-string
188 "DRIVER={FreeTDS};SERVER=...;DATABASE=...;UID=...;PWD=...;PORT=1433;TDS_Version=8.0;APP=clsql")
189 :database-type :odbc)
191 I believe the DsnName and Username at that point are only used when
192 printing the connection information.
194 2011-12-20 Kevin Rosenberg <kevin@rosenberg.net>
196 * db-oracle/oracle.lisp: Typo correction (Elias Martenson)
198 2011-12-19 Kevin Rosenberg <kevin@rosenberg.net>
200 * db-oracle/oracle.lisp: Change length function to
201 uffi:foreign-string-length to handle foreign encodings.
202 Thanks to Elias Martenson.
204 2011-11-28 Russ Tyndall <russ@acceleration.net>
205 * db-odbc/odbc-api.lisp, tests/test-time.lisp
207 In ODBC backend, avoid going through the common lisp
208 universal-time type (because it lacks support for historic dates)
210 *time-conversion-function* renamed to *time-format*
212 Patch from: Francisco Vides Fernandez
214 2011-10-18 Russ Tyndall <russ@acceleration.net>
215 * db-odbc/odbc-api.lisp
217 Added type specifier so MSSQL nvarchar fields can make it through
219 2011-09-12 Russ Tyndall <russ@acceleration.net>
220 * sql/fddl.lisp sql/generic-postgres.lisp db-mysql/mysql-sql.lisp
221 sql/generic-odbc.lisp sql/odbc-api.lisp sql/odbc-dbi.lisp
223 Fix bugs in list-attribute(s|-types) where passing an escaped,
224 instead of unescaped column name, caused these functions to return
225 less data than they should have.
227 2011-08-03 Kevin Rosenberg <kevin@rosenberg.net>
228 * CLSQL 6.0.0 released
230 2011-07-28 Russ Tyndall <russ@acceleration.net>
232 * db-postgresql-socket3/: Added a backend that utilized postgres
233 socket api version 3. Uses the cl-postgres project (from
234 postmodern) to handle this. Allows use of parameterized /
235 prepared queries using clsql:command-object
237 * sql/{expressions,fddl, generic-postgresql, ooddl}.lisp:
238 Change how database identifiers are emitted to hopefully make this
239 less brittle, and more easily intuitable.
241 Previously every code path that wanted to emit a
242 database identifier was responsible for coercing what was provided
243 into a correctly escaped string. Sometimes two or three functions
244 in a row were trying to correctly quote and output that string. I
245 have tried to centralize this type coercion and logic into a
248 everything should now call (escaped-database-identifier thing)
249 immediately before splicing a database identifier into string being
252 * sql/oodml.lisp: added method choose-database-for-instance, which
253 allows overriding which database connections are used based on
254 object type. Can be used to prevent connection conflicts in
255 multi-threaded environments
257 * sql/syntax.lisp: [foo bar] and [foo.bar] read into the same
258 clsql expression now (they used to be output the same, but after
259 the above database-identifier change, they were output separately
261 * test/: Better, more tests, better type coercion in tests and
262 throughout (%get-int)
264 [edit 2012-03-28 - RT]
265 * sql/sequences.lisp: Sequences were previously prefixed with
266 _CLSQL_SEQ_ but are now suffixed with _CLSQL_SEQ. This is likely
267 to break existing implementations using the default sequence names
269 setting *old-sequence-names* to T, should force using the older
273 2011-07-16 Kevin Rosenberg <kevin@rosenberg.net>
274 * Version 5.4.0 release
276 2011-06-27 Nathan Bird <nathan@acceleration.net>
277 * db-odbc/: memory management improvements: leak slower
278 * MSSQL: TOP + DISTINCT work together
280 2011-06-20 Nathan Bird <nathan@acceleration.net>
282 * sql/time.lisp: Handle parsing already parsed objects.
283 * sql/oodml.lisp: raise exception if we generate an update with no
284 where clause; incorporate Ryszard Szopa's patch for functional
285 expressions in :order-by
286 * sql/expressions.lisp: (listify nil) => nil instead of (nil).
287 * db-odbc/: bugfixes for working with older versions of FreeTDS;
288 support for bigints that works on mssql and postgres
289 * MSSQL improvements: use top instead of limit, IDENTITY can be a
290 column constraint, clsql:date becomes 'smalldatetime'
292 2011-06-20 Nathan Bird <nathan@acceleration.net>
295 * db-postgresql-socket/postgresql-socket-api.lisp: Addendum
296 to Otto Diesenbacher's patch that had a spurious write a 0
297 byte (to terminate string) that should have been just CCL.
299 2011-06-12 Kevin Rosenberg <kevin@rosenberg.net>
301 * db-postgresql-socket/postgresql-socket-api.lisp:
302 Patch from Otto Diesenbacher for UTF8 encoded strings
303 for CCL. FIXME: The best patch would be to use the
304 user-set encoding from the database object and use
305 UFFI's encoding strings to/from octet vectors rather
306 than SB-UNICODE and CCL specific code in this file.
308 2011-04-21 Kevin Rosenberg <kevin@rosenberg.net>
309 * sql/generics.lisp: Add defgeneric for new
310 database-last-auto-increment-id
312 2011-04-01 Kevin Rosenberg <kevin@rosenberg.net>
314 * db-mysql/mysql-client-info.lisp: Add recognition of
315 version 6 of MySQL client library.
316 * sql/metaclass.lisp: Fix the fix in the reader conditional
318 2011-03-30 Kevin Rosenberg <kevin@rosenberg.net>
320 * sql/metaclasses.lisp: Fix previous patch to work
323 2011-03-29 Kevin Rosenberg <kevin@rosenberg.net>
325 * sql/metaclasses.lisp: Apply one-line patch to fix
326 for newer SBCL (thanks to Nikodemus Siivola)
327 * many_files: Applied multiple patches from Holger Schauer
328 to improve autoincrement capability.
330 2010-10-24 Kevin Rosenberg <kevin@rosenberg.net>
332 * db-odbc/odbc-api.lisp: Change from SBCL-specific
333 to UFFI version of octets-to-strings. Reported by
334 Daniel Brunner <daniel@dbrunner.de>
335 * sql/oodml.lisp: Apply patch from Rupert Swarbrick
336 <rswarbrick@gmail.com>: Fix behaviour with auto-inc
338 * sql/expressions.lisp, tests/test-syntax.lisp: Apply
339 patch from Russ Tyndall to quote identifiers with space
340 or special character.
342 2010-09-20 Kevin Rosenberg <kevin@rosenberg.net>
344 * sql/{pool,database}.lisp: Pass encoding argument to
345 connections made from pool and with reconnect.
347 2010-08-16 Kevin Rosenberg <kevin@rosenberg.net>
349 * db-odbc/odbc-{api,dbi}.lisp: Commit patch from
350 Memet Bilgin to fix issue with unicode and ODBC.
352 2010-08-16 Kevin Rosenberg <kevin@rosenberg.net>
354 * uffi/clsql-uffi.lisp: Commit patch from JT Klein fixing
355 invocation of uffi:convert-from-foreign-string macro. When
356 time allows, I'll investigate changing UFFI's macro to
357 a function call and then revert this patch.
359 2010-06-15 Kevin Rosenberg <kevin@rosenberg.net>
361 * clsql-{uffi,mysql}.asd: Modify operation-done-p functions
362 to guard against change introduced in new ASDF traversing.
364 2010-04-20 Kevin Rosenberg <kevin@rosenberg.net>
365 * Version 5.1.0 [DEPENDENCY UPGRADE: UFFI 2.x needed]
366 * clsql-uffi.asd: Depend on UFFI version >= 2.0
367 to support foreign encoding of strings.
369 2010-04-16 Kevin Rosenberg <kevin@rosenberg.net>
371 * db-postgresql.lisp, sql/fddl.lisp: Fix typos [Thanks to
373 * sql/metaclasses.lisp: Work around type-check-function being set
374 during defclass expansion in SBCL [Thanks to Walter C. Pelissero]
375 * uffi/clsql-uffi.lisp: In call to uffi:convert-from-foreign-string,
376 Set null-terminated-p to T when length not specified.
377 [Thanks to Walter C. Pelissero]
379 2010-03-21 Kevin Rosenberg <kevin@rosenberg.net>
381 * sql/fdml.lisp: Fix DO-QUERY to actually return the last value of
384 2010-03-02 Nathan Bird <nathan@acceleration.net>
385 * doc/: Added a README on how to build doc; now builds on Ubuntu.
386 * sql/oodml.lisp: READ-SQL-VALUE now has explicit method for
387 handling double-floats and the default method will no longer
388 attempt to convert values that have already been converted.
389 * sql/syntax.lisp: Introduce file-enable-sql-reader-syntax which
390 enables the syntax for the scope of the file without trying to
391 keep track of the current syntax state.
392 * sql/pool.lisp: Introduce
393 clsql-sys:*db-pool-max-free-connections* which is a heuristic
394 threshold for when to disconnect a connection rather than
395 returning it to the pool.
396 * sql/pool.lisp: Check connections for validity before returning
399 2010-03-01 Kevin Rosenberg <kevin@rosenberg.net>
400 * db-mysql/mysql-api.lisp: Remove spurious enumeration
402 2010-02-16 Kevin Rosenberg <kevin@rosenberg.net>
404 * db-mysql/mysql-api.lisp: Fix mysql_options UFFI parameter list
405 * doc/ref-connect.xml: Document the MySQL options parameter as
406 part of the connection-spec.
408 2010-02-15 Kevin Rosenberg <kevin@rosenberg.net>
409 * db-mysql/mysql-{api,sql}.lisp: Support sending options
410 to MySQL using mysql_options, which occurs between the API calls
411 of mysql_init and mysql_real_connect.
413 2010-02-11 Kevin Rosenberg <kevin@rosenberg.net>
415 * multiple-files: Further internationalization. Change
416 UFFI:CONVERT-RAW-FIELD and UFFI:CONVERT-FROM-FOREIGN-STRINGS
417 invocations to use the foreign character set encoding of the
418 database object. Requires UFFI v.1.8.6
419 * Makefile.common: Fix OS_DARWIN64 setting
421 2010-02-11 Nathan Bird <nathan@acceleration.net>
422 * MSSQL: better support for fddl 'date type.
424 2010-02-11 Kevin Rosenberg <kevin@rosenberg.net>
425 * Makefile.common, uffi/Makefile, db-mysql/Makefile:
426 Better support OS X Snow Leopard by building universal
427 (x86_64,i386) dylib bundles
429 2010-02-08 Kevin Rosenberg <kevin@rosenberg.net>
431 * sql/database.lisp: Fix missing slot-accessor
432 (Thanks to Stelian Ionescu)
433 * sql/generics.lisp: Add missing keyword to defgeneric
434 (Thanks to Stelian Ionescu)
436 2010-02-07 Kevin Rosenberg <kevin@rosenberg.net>
438 * sql/{base-classes,database}.lisp: Add encoding slot for
440 * db-mysql/mysql-sql.lisp: Use UFFI:FOREIGN-ENCODED-OCTET-COUNT.
441 Requires UFFI version 1.8.2 or above.
443 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
444 * Version 5.0.0: First release of CLSQL to formally and
445 consistently support non-ASCII strings with encoding of external
446 formats for SQL strings. UFFI version 1.8.1 is higher is required.
448 This change may introduce some differences in string handling for
449 people who are using non-ASCII encoded characters. Thus, because
450 of the risk of BACKWARD INCOMPATIBILITY, the major version number
451 was incremented with this release.
453 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
454 * tests/test-i18n.lisp: Bind UFFI:*DEFAULT-EXTERNAL-FORMAT*
455 for testing multibyte encodings.
456 * uffi/clsql-uffi.lisp: Changes for UFFI 1.7.4's new support
457 for encoding foreign strings with a specified external format.
459 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
460 * sql/metaclasses.lisp: If no declared slot type in
461 compute-lisp-type-from-specified-type, then use t as lisp type.
462 Issue noted when testing Clozure CL 1.4.
464 2010-02-06 Kevin Rosenberg <kevin@rosenberg.net>
465 * tests/test-init.lisp: Turn off the benign console notices for
468 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
469 * clsql-test.asd, tests/{test-i18n,test-init}.lisp:
470 Load test-i18n.lisp and use its tests as long as 'uffi:no-i18n is
471 not present in cl:*features*. This requires UFFI 1.7.2 or above.
473 2010-02-05 Kevin Rosenberg <kevin@rosenberg.net>
474 * sql/utils.lisp: Reading #\no-break_space causes an
475 error for non-unicode SBCL. Conditionalize read of
476 #\no-break_space for non-unicode SBCL and 8-bit string
479 2010-02-03 Kevin Rosenberg <kevin@rosenberg.net>
480 * tests/test-init.lisp: Add *test-report-width* variable
481 and word-wrap skipped test reason field.
483 2010-01-29 Kevin Rosenberg <kevin@rosenberg.net>
485 * clsql-cffi.asd: New file that causes CLSQL to use
486 CFFI-UFFI-COMPAT library rather than UFFI. Perform 'asdf:load-op
487 on CLSQL-CFFI rather than CLSQL system to use CFFI-UFFI-COMPAT.
489 2010-01-29 Nathan Bird <nathan@acceleration.net>
490 * tests/*.lisp: A lot more tests and test setup tweaks.
491 * sql/expressions.lisp: output-sql on sql-relational-exp does
492 better arity checking now. (apply #'sql-and some-list) gives
495 29 Jan 2009 Kevin Rosenberg <kevin@rosenberg.net>
496 * sql/oodml.lisp: Fix for UPDATE-RECORD-FROM-SLOTS for normalized
499 28 Jan 2009 Kevin Rosenberg <kevin@rosenberg.net>
501 * Change "normalise" from British spelling for consistency with
502 other American spellings in CLSQL.
504 28 Jan 2009 Kevin Rosenberg <kevin@rosenberg.net>
505 * db-mysql/Makefile: Add directory for Fedora 11/12 on 64-bit
506 platform (Thanks to Michael Pheasant) and remove a 32-bit directory
508 28 Jan 2009 Kevin Rosenberg <kevin@rosenberg.net>
510 * sql/utils.lisp: Ensure Lispworks 6 lock is created in sharing mode
512 20 Jan 2009 Nathan Bird <nathan@acceleration.net>
514 * Rewrite tests to use datasets
516 07 Jan 2009 Kevin Rosenberg <kevin@rosenberg.net>
517 * sql/utils.lisp: Changes to support Lispworks 6
519 10 Dec 2009 Kevin Rosenberg <kevin@rosenberg.net>
521 * doc/ref-ooddl.lisp: Add needed CDATA escapes
522 * doc/clsql.pdf, doc/html.tar.gz: Build new manuals with
523 normalized view classes.
525 10 Dec 2009 Kevin Rosenberg <kevin@rosenberg.net>
526 Large patch from Thijs Oppermann <thijso+clsql@gmail.com> to add
527 support for normalized view classes. When having view class that
528 inherit from others, CLSQL by default builds tab all the columns
529 from the parent in the child. This patch is meant to normali so
530 that a join is done on the primary keys of the concerned tables to
533 10 Dec 2009 Kevin Rosenberg <kevin@rosenberg.net>
534 * sql/time.lisp: Patch from Oleg Tihonov to SYNTAX-PARSE-ISO-8601
535 to properly parse fractions of seconds.
537 10 Dec 2009 Kevin Rosenberg <kevin@rosenberg.net>
538 * sql/time.lisp: Patch from Oleg Tihonov to roll function
539 to properly use USEC argument.
541 21 Nov 2009 Kevin Rosenberg <kevin@rosenberg.net>
543 * Makefiles: On 64-bit Linux systems, try to build both 32 and 64-bit
544 interface libraries. This requires the installation of multiarch build tools
545 as well as 32-bit support libraries (libc, libz and libmysqlclient).
547 04 Sep 2009 Kevin Rosenberg <kevin@rosenberg.net>
549 * sql/fdml.lisp: Rework do-query to use supplied database
550 parameter when passed a sql-object-query
551 (thanks to JTK <jetmonk@gmail.com>)
552 * sql/generic-postgresql.lisp: Allow optional connect
553 parameters for postgresql databases (thanks to Stephen Compall)
554 * doc/ref-{clsql,connect}.xml, sql/db-interfaces.lisp:
555 Fix transposed letters (thanks to Stephen Compall)
556 * db-mysql/Makefile: Add directory for MacPorts mysql5 port
557 (thanks to Stephen Compall)
558 * sql/database.lisp: Have database-type default be
559 *default-database-type* (thanks to Desmond O. Chang)
560 * sql/transactions.lisp: Improved handlining of nested
561 transactions (thanks to Eli Naeher)
562 * sql/time.lisp: Commit patch to fix parse-iso-8601-duration
563 (thanks to Stephen Compall)
564 * sql/database.lisp: Use :verbose nil for asdf:operate
565 invocation (Thanks to Mackram Raydan)
566 * sql/metaclasses.lisp: Rework initialize-instance for
567 view-class-direct-slot-definition (thanks to Stephen Compall)
569 31 Aug 2009 Kevin Rosenberg <kevin@rosenberg.net>
570 * sql/db-interface.lisp: Fix spelling error (thanks to
572 * clsql-mysql.asd/db-mysql/mysql-loader.lisp: Commit
573 patch from Andreas Franke to honor windows drive letter
574 when loading clsql_mysql C library.
576 31 Aug 2009 Kevin Rosenberg <kevin@rosenberg.net>
578 * db-mysql/mysql-{sql,api}.lisp,db-mysql/clsql_mysql.c:
579 Latest version of mysqlclient once again changed the C
580 structures from which the mysql backend reads data.
581 Rather than adding yet another structure definition which
582 is enabled by the client version as read by mysql-client-info.lisp,
583 the mysql backend has been re-written to ignore in the internal
584 C structures. Instead, C wrapper functions for slot access have
585 been added to clsql_mysql.c and are used by mysql-sql.lisp to
586 access the internals of C structures. This adds a bit of overhead,
587 but completely separates the lisp code from trying to keep up
588 with the continually changing internal C structure of mysql.
589 All tests in the test suite executed correctly with this change.
591 31 Aug 2009 Kevin Rosenberg <kevin@rosenberg.net>
593 * sql/database.lisp: Fix syntax on process-lock (thanks to
595 * db-mysql/mysql-sql.lisp: Allow use of database parameter
596 in database-list function (thanks to Michael Pheasant)
597 * sql/oodml.lisp: Allow NULL values for floating-point fields
598 (thanks to Jan Rychter)
600 02 Jun 2009 Kevin Rosenberg <kevin@rosenberg.net>
602 * sql/database.lisp: Add process-lock for deleting database from
603 a pool (thanks to Ralf Mattes).
605 25 Feb 2008 Kevin Rosenberg <kevin@rosenberg.net>
607 * sql/expressions.lisp: Remove stray form (thanks to Samuel Ward)
609 12 Dec 2007 Kevin Rosenberg <kevin@rosenberg.net>
610 * sql/expressions.lisp: Bind *in-subselect* when outputting
611 selections (patch from unknown source).
613 11 Dec 2007 Kevin Rosenberg <kevin@rosenberg.net>
615 * sql/metaclasses.lisp: Unify base-table processing by extracting
616 the correct code from initialize-instance :around into the helper
617 function set-view-table-slot. Call that function also in
618 reinitialize-instance :around replacing erroneous code discovered
621 17 Nov 2007 Kevin Rosenberg <kevin@rosenberg.net>
622 * BUGS: Add note about benefit of using configure file to create
623 Makefiles (suggestion from Joe Corneli)
625 22 Oct 2007 Kevin Rosenberg <kevin@rosenberg.net>
627 * db-postgresql/postgresql-sql.lisp: Patch from Gabriele Favalessa based on
628 Andrew Golding suggestion for more informative :error-id slot.
630 17 Sep 2007 Kevin Rosenberg <kevin@rosenberg.net>
632 * db-mysql/mysql-sql.lisp: Convert query to uffi cstring (thanks to
634 * doc/Makefile, doc/html.xsl: Change output encoding from ISO-8859-1 to UTF-8
636 14 Sep 2007 Kevin Rosenberg <kevin@rosenberg.net>
637 * Version 4.0.0: Major version increase to warn of potential
638 backwards incompatibility.
639 * NEWS: Document potentional backward incompatible changes
640 * db-mysql/mysql-sql.lisp: Changes session SQL mode to ANSI immediately
641 after connecting. This may break compatibility with some applications
642 who are using non-ANSI features with MySQL. This change is required to
643 properly support view-classes using a string as their :base-table
644 attribute. This allows users to specify the case of table names.
645 This is feature is even more essential for MySQL itself since MySQL
646 uses case-sensitive table names. Use connection-based database-create
647 and database-destroy rather than trying to invoke command-line mysql
648 utility. Remove automatic upcasing of strings from list-indices.
649 * db-postgresql/postgresql-sql.lisp: Use connection-based
650 database-create and database-destroy rather than trying to invoke
651 command-line utilities.
652 * db-postgresql-socket/postgresql-socket-sql.lisp: Use
653 database-execute-command rather than execute-command for
654 database-{create,destroy}. Connect to postgres database
655 rather than template1 for those database creation/deletion.
656 * sql/metaclasses.lisp: Store the string value of :base-table if a
657 string is provided. Perform sql-escape at time of view-table name
659 * tests/test-init.lisp: Use "ej_join" as a string, rather than a
660 symbol, since "ej_join" is specified as :base-table. Clear the
661 expression output-cache in case the code for generating sql output
663 * test/test-oodml.lisp: whitespace fix
664 * sql/ooddl.lisp: Use quoted string for primary key constraint if
665 table name is specified as a string.
666 * sql/oodml.lisp: Don't convert a string view-table name to database's
668 * sql/expressions.lisp: Properly handle table and attribute identifiers
669 when they are a string. Do not change case of symbols to match database
671 * sql/operations.lisp: Change multiword symbols to upper case.
672 * sql/fddl.lisp: Quote base-table if a string to preserve case
673 for drop-table and create-table.
674 * tests/test-syntax.lisp: Add tests of low-level string attribute
677 20 Jul 2007 Kevin Rosenberg <kevin@rosenberg.net>
679 * db-oracle/oracle-loader.lisp: Rework use of ORACLE_HOME directory
680 (problem noted on clsql-devel by icardo Boccato Alves)
681 * sql/pool.lisp: Remove incorrect keyword
682 * sql/database.lisp: Rework WITH-DATABASE to not make the database the
683 default database (reported by Saurabh Nanda and Chaitanya Gupta)
684 * doc/ref-connect.lisp: Update the documentation to WITH-DATABASE to
685 emphasis that make-default has a default value of nil.
686 * sql/transaction.lisp: Adjust commit/rollback messages for Microsoft
687 SQL Server. (patch from Nathan Bird)
688 * sql/metaclasses.lisp: Use finalize-inheritance hack on SBCL because
689 of trouble with def-view-class compilations (patch from Nathan Bird)
691 15 Jul 2007 Kevin Rosenberg <kevin@rosenberg.net>
693 * db-mysql/mysql-loader.lisp: Revert previous change since libmysql is
694 not dynamically loaded on Windows
696 22 Jun 2007 Kevin Rosenberg <kevin@rosenberg.net>
698 * db-mysql/mysql-loader.lisp: Do not bother loading libmysqlclient since
699 that library is dymically linked to clsql-mysql library. Thus, the mysql
700 library will be automatically loaded. This has only been tested on Linux,
703 29 May 2007 Kevin Rosenberg <kevin@rosenberg.net>
704 * tests/test-fddl.lisp: Add :order-by for :fddl/big/1 as
705 reported by Ricardo Boccato Alves
707 02 May 2007 Kevin Rosenberg <kevin@rosenberg.net>
708 * sql/database.lisp: Add ability of WITH-DATABASE to return
709 multiple values (patch from Liam Healy)
711 25 Apr 2007 Kevin Rosenberg <kevin@rosenberg.net>
713 * doc/connect.xml: variable description fix by Liam Healy
714 * db-sqlite3/sqlite3-api.lisp, uffi/clsql-uffi-loader.lisp:
715 Apply patches from Marcus Pierce to reduce load-time warnings
716 * sql/package.lisp: Export iso-timestring as requested by Kevin Blaisdell
718 23 Mar 2007 Kevin Rosenberg <kevin@rosenberg.net>
720 * sql/db-postgresql-socket-api.lisp: Change read-socket-sequence to
721 disable wide characters for crypt salt sequence on SBCL, based
722 on patch from Lars Nostdal.
724 26 Jan 2007 Kevin Rosenberg <kevin@rosenberg.net>
726 * sql/pool.lisp: Test pooled connection when popped from
727 the pool to ensure the connection still works. Currently, implemented
730 17 Jan 2007 Kevin Rosenberg <kevin@rosenberg.net>
731 * db-mysql/Makefile: Add potential mysql directories
733 31 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
734 * sql/metaclasses.lisp: Remove usused saved-initargs
735 * clsql.asd: Also check ~/.clsql-init.lisp at load-time (usually used to
736 push search libraries)
738 30 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
739 * Version 3.8.0: BACKWARD INCOMPATABLE CHANGE!
740 * db-postgresql/postgresql-{api,loader,sql,package}.lisp:
741 Apply patch from Edi Weitz to avoid conflict with new Lispworks 5
742 POSTGRESQL package name. CLSQL's new package will be PGSQL, however
743 on non-Lispworks platforms, the nickname POSTGRESQL will still be
744 available. Applications directly using low-level POSTGRESQL package
745 are recommended to use the new PGSQL name.
746 * db-oracle/oracle-{api,sql}.lisp, sql/{expressions,loop-extension}.lisp,
747 Apply patch from Edi Weitz to reduce compiler warnings.
749 28 Dec 2006 Kevin Rosenberg <kevin@rosenberg.net>
751 * sql/expressions.lisp: Commit patch from Edi Weitz to
752 use *default-database* for SQL-OUTPUT if no database is
753 explicitly passed to function.
754 * uffi/clsql-uffi-loader.lisp: Change load order to first try
755 plain name/type before attempting user-specified paths (patch
757 * uffi/ptrbits.c: New file to return number of bits in an pointer
758 * uffi/Makefile: use intbits to name .so file based on bit size.
759 Build both 32-bit and 64-bit libraries on 64-bit platform.
761 30 Nov 2006 Kevin Rosenberg <kevin@rosenberg.net>
763 * db-sqlite3/sqlite3-sql.lisp: Commit patch from Edi Weitz fixing
766 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
768 * db-postgresql/postgresql-sql.lisp: Remove
769 uffi:convert-foreign-to-native wrapper since using cstring for
772 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
774 * db-postgresql/postgresql-api.lisp: Fix UFFI return type for
775 PQresultErrorField foreign function.
777 16 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
779 * doc/intro.xml: Update supported platforms.
780 * db-postgresql/postgresql-{package,api,sql}.lisp: Apply
781 changes from Andew Golding to use a more-specific error code
782 from PostgreSQL than the generic fatal error code of the result set.
784 03 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
785 * sql/syntax.lisp: Commit patch from Marcus Pearce to improve
786 readtable modifications
788 02 Oct 2006 Kevin Rosenberg <kevin@rosenberg.net>
789 * sql/syntax.lisp: Check that original reader syntax functions
790 stored before trying to restore them.
792 20 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
793 * sql/syntax.lisp: Apply patch from Marcus Pearce to correctly
794 display sql reader syntax.
796 06 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
797 * uffi/clsql-uffi-loader.lisp, db-mysql/mysql-loader.lisp: Change from using *features*
798 to decide on 64-bit platform and check size of most-positive-fixnum instead.
799 Needed to support clisp amd64.
801 03 Sep 2006 Kevin Rosenberg <kevin@rosenberg.net>
803 * sql/metaclasses.lisp: Rework slot type's to be more AMOP
804 compatibile. Add warning for a metaclass condition that should
806 * sql/time.lisp: Fixed symbol case inconsistency causing problem
807 in AllegroCL's modern lisp. First sign of bug noted by
808 Joel Reymond on clsql-devel.
809 * clsql.asd: Make time.lisp depend on utils.lisp
811 31 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
812 * db-mysql/mysql-loader.lisp: Apply patch from Marcus Pearce to push
813 *library-file-dir* to CLSQL's library path.
815 30 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
816 * Version 3.7.0: New platforms supported: SBCL/Win32, CLISP/Win32, CLISP/Cygwin,
817 CLISP/Linux x86, CLISP/Linux amd64, OpenMCL amd64. CLISP support requires the
818 latest development versions of CLISP, cffi, and cffi-uffi-compat packages.
819 * Makefile.common: Add OS detection
820 * uffi/make.sh, db-mysql/make.sh: Remove files
821 * uffi/Makefile, db-mysql/Makefile: Add support for cygwin compilation.
822 Refactor to remove need to make.sh shell scripts.
823 * clsql.asd: Add support for loop extensions for clisp. Support clisp via cffi.
824 * sql/loop-extension.lisp: Define loop-record-iteration-path in CLSQL-SYS
825 package rather than CL-USER. Add support for ansi-loop on clisp.
826 * sql/ansi-loop.lisp: New file to support iteration on clisp.
827 * db-mysql/mysql-api.lisp: Remove old mysql C API functions that no
828 longer exist in the mysql client library.
829 * doc/ref-fdml.lisp: Correct default field-type.
830 * sql/expressions.lisp: Use database-output-as-type if value exists for boolean output.
831 Fixed bug with noted with MySQL 5.0.24 and boolean values.
833 28 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
835 * sql/oodml.lisp: Remove high debugging level declaration
837 14 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
839 * sql/generic-postgresql.lisp: Fix assumption that postgres user id
840 is always 1. Fixes problem noted with PostgreSQL 8.1.
842 12 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
844 * sql/generic-postgresql.lisp: Add slot for has-table-pg_roles to
845 lazily cache if pg_roles tables exist. Selectively use SQL from
846 Joel's previous patch if pg_roles table exists. Should now work
847 with both postgresql 7.4 and 8.x.
849 12 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
851 * clsql.asd: Add support for c:\etc\clsql-init.lisp as possible
852 local initialization file
853 * db-mysql/mysql-loader.lisp: Remove former method of using pathnames
855 * db-odbc/odbc-api.lisp: Work-around Allegro/Windows FFI bug
856 that generates incorrect integer return type
857 * sql/generic-postgresql.lisp: Revert patch from Joel Reymont since
858 it fails on versions of postgresql that lack the pg_role table
860 07 Jul 2006 Kevin Rosenberg <kevin@rosenberg.net>
862 * sql/transactions.lisp: Important typo fix from Alexey Antipov
863 for database-start-transaction
865 04 Jul 2006 Kevin Rosenberg <kevin@rosenberg.net>
867 * db-postgresql/postgresql-sql.lisp: Apply patch from Vladimir Sekissov
868 to close connection when failing to connect to database.
869 * sql/generic-postgresql.lisp: Apply patch from Joel Reymont
870 to avoid dropping system views.
871 * sql/oodml.lisp: Apply patch from Joel Reymont to avoid listify
872 a nil value [patch sponsored by Flektor]
873 * clsql-uffi.asd, uffi/make.sh: Patch from Richard Kreuter
874 for netbsd compilation
876 15 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
877 * doc/ref-ooddl.xml: Add documentation for :db-reader and :db-writer
878 slots for def-view-class macro [as reported missing by Thomas Fischbacher].
880 09 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
881 * db-postgresql-socket/postgresql-socket-api.lisp:
882 Apply patch from Marko Kocic adding the socket creation
883 function needed for CLISP.
885 08 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
886 * Version: 3.6.0 (requires UFFI v1.5.11 or greater)
887 * db-oracle/metaclasses.lisp: Patch from James Bielman for
888 checking slot constraints.
889 * db-oracle/oracle-{api,sql}.lisp: Avoid dead pointers on loading
890 saved openmcl images (based on patch from James Bielman)
892 06 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
893 * doc/ref-fdml.xml: Documentation patch from Marcus Pearce for limit keyword
895 03 May 2006 Kevin Rosenberg <kevin@rosenberg.net>
897 * sql/time.lisp: Apply patch from Aleksandar Bakic to extended
898 duration parsing and unparsing to include year and month.
899 * clsql-uffi.asd, uffi/clsql-uffi-loader.lisp: Apply patch from Nathan Bird
900 improving library search on Windows platform.
901 * doc/ref-fdml.xml, /doc/TODO, tests/test-fdml.lisp, tests/test-init.lisp:
902 Apply patch from Marcus Pearce documenting and testing :limit and :offset for SELECT
904 20 Mar 2006 Kevin Rosenberg <kevin@rosenberg.net>
906 * clsql-postgresql-socket.asd,
907 * db-postgresql-socket/postgresql-socket-package.lisp:
908 Use the cl-md5 package on all platforms. Based on report
911 09 Mar 2006 Kevin Rosenberg <kevin@rosenberg.net>
913 * uffi/make.sh, db-mysql/make.sh: Add GNU uname
915 28 Feb 2006 Kevin Rosenberg <kevin@rosenberg.net>
917 * sql/metaclasses.lisp: Apply patch from Friedrich Dominicus to
918 fix accessor for new versions of SBCL
919 * db-oracle/oracle-sql.lisp: Apply patch from James Bielman
920 to improving parsing of time.
921 * db-db2/db2-constants.lisp: Change NULL_HANDLE has suggested
923 * db-oracle/oracle-dbi.lisp: Add support for SQL BIT type
924 as noted by Russ Tyndall.
926 16 Jan 2006 Kevin Rosenberg <kevin@rosenberg.net>
928 * sql/time.lisp: Commit patch from Aleksandar Bakic
929 to properly handle destructive flag
930 * db-postgresql-socket/postgresql-socket-api.lisp: Apply patch
931 from Steven Harris for socket files with SBCL.
932 * sql/pool.lisp: Apply patch from Vladimir Sekissov so that
933 new connections added to the pool do not become the *default-database*
934 * sql/connect.lisp: Optionally set *default-database* for pooled
935 connection when make-default is generalized true.
937 23 Dec 2005 Kevin Rosenberg <kevin@rosenberg.net>
939 * sql/expressions.lisp: Ensure table names are properly escaped
940 before comparing -- fixes bug reported by Asbjørn Bjørnstad
943 02 Dec 2005 Kevin Rosenberg <kevin@rosenberg.net>
944 * sql/generic-postgresql.lisp: improved decoding of table attribute
945 parameters [from Vladimir Sekissov]
946 * sql/metaclasses.lisp: check that metaclass is standard-db-class or
947 it's subclass to prevent adding standard-db-object to supers if
948 somebody in the path has it already when metaclass inherited from
949 standard-db-class. [from Vladimir Sekissov]
951 26 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
953 * tests/test-init.lisp, tests/test-fddl.lisp, tests/test-fdml.lisp,
954 * db-odbc/odbc-api.lisp, db-odbc/odbc-ff-interface.lisp,
955 * db-odbc/odbc-package.lisp, db-odbc/odbc-constants.lisp
956 * db-odbc/odbc-dbi.lisp, db-odbc/odbc-sql.lisp
957 * sql/fddl.lisp, sql/generic-odbc.lisp, sql/db-interface.lisp
958 * sql/transaction.lisp, sql/package.lisp, sql/time.lisp
959 Commit patch from Dominic Robinson providing support for
961 * doc/csql.lisp: Fix typo in slot name
963 24 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
965 * sql/time.lisp: Commit patch from Aleksandar Bakic for
966 correct handling of decode-time usec value
967 * clsql-mysql.asd: Commit patch from Harald Hanche-Olsen to
968 correct the name of the shared library file.
970 16 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
972 * sql/metaclasses.lisp: Avoid calling change-class on
973 effective-slot-definitions on sbcl to conform to sbcl 0.9.6.38
976 15 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
978 * sql/expressions.lisp: Patch from James Biel to add subselects
980 14 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
981 * Version 3.4.4 [ Requires UFFI 1.5.7+]
982 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
983 to fix lifetime of foreign strings for Oracle calls
985 13 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
987 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
988 to improve performance
990 12 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
992 * clsql-uffi.asd: Patch from James Biel improving loading
993 * db-oracle/oracle-{api,sql}.lisp: Patch from James Biel
994 to support 64-bit lisps
996 12 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
998 * sql/expressions.lisp: Escape numbers to SQL strings
1001 11 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
1002 * Version 3.4: Add MySQL 5 support
1003 * db-mysql/mysql-client-info.lisp: Recognize MySQL 5
1004 * db-mysql/mysql-sql.lisp: Add support for views in MySQL 5
1005 * doc/mysql-macosx-notes.txt: New document from Martin Brooks
1007 7 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
1008 * src/time.lisp: Apply patch from Aleksandar Bakic for ROLL
1010 * BUGS: Added report for update-object-joins by Aleksandar Bakic
1012 4 Nov 2005 Kevin Rosenberg <kevin@rosenberg.net>
1013 * Version 3.3.4 [UFFI >= 1.5.5 needed]
1014 * db-odbc/odbc-api.lisp: Apply patch from Yaroslav Kavenchuk
1015 to add missing #\' character.
1016 * clsql.asd: Add support for CLSQLINIT environmental variable,
1017 based on patch from Yaroslav Kavenchcuk. New version of UFFI
1020 30 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
1022 * sql/oodml.lisp: Apply patch from Drew Crampsie to fix
1023 update-objects-joins when using the :target-slot attribute
1025 26 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
1027 * sql/expressions.lisp: Avoid parenthesis on multiple group-by fields
1028 as noted by Harald Hanche-Olsen.
1029 * tests/test-syntax.lisp: Add test for multiple field group-by
1031 25 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
1033 * sql/time.lisp: Commit patch from Alan Shields to
1034 display escape string on wall-time display only when *print-escape*
1037 11 Oct 2005 Kevin Rosenberg <kevin@rosenberg.net>
1038 * sql/metaclasses.lisp: Commit patch from Will to
1039 properly set db-reader slot in effective-slot-definition
1040 * sql/expressions.lisp: Commit patch from Alan Shields
1041 adding make-load-form for sql-relational-exp
1042 * sql/generic-postgresql.lisp: Commit patch from Aleksandar Bakic
1043 adding support for new NUMBER type
1045 17 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
1047 * sql/time.lisp: Apply patch from Alan Shields adding DATE type.
1048 * doc/ref-ooddl.xml: Documentation of new type
1049 * notes/add-type-hints.txt: New file from Alan Shields
1050 * sql/fddl.lisp: Add owner keyword to drop-table as suggested
1052 * db-postgresql-socket/postgresql-socket-sql.lisp: Fix database-probe
1053 as noted by Francis Leboutte. Similar fix applied to db-mysql and
1055 * sql/expressions.lisp: Allow string table names for output as
1056 contributed by Francis Leboutte.
1057 * examples/clsql-tutorial.lisp: Support :postgresql-socket as noted
1060 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
1062 * doc/into.xml: Change download from ftp to http protocol
1064 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
1066 * db-oracle/oracle-sql.lisp: Correction for v3.2.2 changes by
1069 08 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
1071 * db-oracle/oracle-sql.lisp: Add check for zero increment as
1072 suggested by Edi Weitz. Add missing database-sequence-last function
1073 as noted and tested by Edi Weitz. Ensure that UFFI buffer is freed
1074 in handle-oci-error. Add unwind-protect to sql-stmt-exec. Free UFFI
1075 stmthp object when query cursor is freed with OCI.
1077 22 Aug 2005 Kevin Rosenberg <kevin@rosenberg.net>
1078 * uffi/clsql-uffi-loader.lisp: Commit patch from astor@pvv.ntnu.no to
1079 display search path when error occurs loading foreign library.
1081 05 Jul 2005 Kevin Rosenberg <kevin@rosenberg.net>
1083 * doc/appendix.xml: Incorporate Edi Weitz's notes into documentation
1084 with changes to support case-sensitive lisp implementations. Add
1085 paragraph on using /etc/clsql-init.lisp site initialization file.
1086 * clsql.asd: Load file /etc/clsql-init.lisp, if it
1087 exists, after package is loaded to set site-specific configuration
1089 2005-06-24 Edi Weitz <edi@agharta.de>
1090 * sql/db-interface.lisp: Added new special variable
1091 *FOREIGN-LIBRARY-SEARCH-PATHS* and function PUSH-LIBRARY-PATH to
1093 * sql/package.lisp: Export these.
1094 * uffi/clsql-uffi-loader.lisp: Used new variable; changed order of
1096 * db-mysql/mysql-loader.lisp: Changed order of libs.
1098 09 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
1099 * Version 3.2.0: REQUIRES UFFI VERSION 1.4.38 OR HIGHER
1100 * clsql-mysql.asd: Renamed clsql/mysql interface library from
1101 mysql to clsql_mysql
1102 * clsql-uffi.asd: Renamed clsql/uffi interface library from
1104 * uffi/clsql_uffi.c: Renamed from uffi.c
1105 * db-mysql/clsql_mysql.c: Renamed from mysql.c
1106 * db-mysql/Makefile, db-mysql/Makefile.msvc, db-mysql/mysql-loader.lisp: Rename shared library
1107 * uffi/Makefile, uffi/Makefile.msvc, uffi/uffi-loader.lisp: Rename shared library
1108 * db-*/*-loader.lisp: Commit big patch from Edi Weitz to remove
1109 absolute pathnames when searching for foreign libraries.
1110 foreign library loading.
1112 07 Jun 2005 Kevin Rosenberg <kevin@rosenberg.net>
1114 * db-mysql/mysql-api.lisp: Commit patch from Espen Wiborn
1115 to support UTF-8 on sbcl unicode.
1117 18 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1119 * sql/time.lisp: Fix bug in roll that caused failure in test suite
1121 17 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1123 * sql/oodml.lisp: Properly handle when db-writer is NIL
1125 11 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1126 * sql/expressions.lisp: Avoid using simple-string declaration when
1127 a non-simple string may be encountered. [issue noted by
1128 will@cesmail.net] Add a simple-string declaration for a local
1131 06 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1132 * sql/oodml.lisp: Change db-writer and db-reader processing to accept
1133 a symbol as well as function to serve as a function designator
1134 [issue noted by will@cesmail.net]
1136 05 May 2005 Kevin Rosenberg <kevin@rosenberg.net>
1138 * sql/time.lisp: Fix error in submitted patch which caused error
1139 in timestrings with 19 or less characters.
1141 27 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1143 * db-postgresql-socket/postgresql-api.lisp: Commit patch from Tim Howe
1144 to fix read-socket-sequence on non-sb-unicode sbcl.
1146 26 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1148 * sql/time.lisp: Commit patch from Daniel Lowe which adds support
1149 for fractional seconds which is required by PostgreSQL
1150 * db-postgresql/postgresql-loader.lisp: Add library path for Windows
1152 25 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1153 * sql/csql.lisp: Update URL for "SQL for Web Dummies" [Sean Champ]
1155 24 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1157 * sql/syntax: Commit patch from Alan Shields to supress reader
1158 macros when *read-supress* is T.
1160 13 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1162 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
1163 from Janis Dzerins to support unicode on SBCL
1164 * sql/syntax: Commit patch from Alan Shields to improve reporting
1165 of invalid syntax statements.
1167 06 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1169 * db-mysql/mysql-sql.lisp: Add port to connection specification
1170 based on patch from Dave Watson
1171 * doc/appendix.xml: Document MySQL port parameter to connection spec
1173 03 Apr 2005 Kevin Rosenberg <kevin@rosenberg.net>
1175 * sql/time.lisp: Patch from Keith James for parsing ISO-8601 timestamps
1177 18 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
1178 * sql/oodml.lisp: Add missing database argument [Patch from
1181 03 Mar 2005 Kevin Rosenberg <kevin@rosenberg.net>
1182 * sql/oodml.lisp: Improve database priority in
1183 update-records-from-instance [Patch from Walter C. Pelissero]
1185 17 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
1187 * sql/package.lisp: Export database-reconnect from clsql-sys
1189 08 Feb 2005 Kevin Rosenberg <kevin@rosenberg.net>
1190 * sql/oodml.lisp: Use explicit database in fault-join-target-slot
1191 [Patch from Walter Pelissero]
1193 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1194 * db-postgresql/postgresql-loader.lisp: Add additional
1195 directories to Fink on darwin [patch from Cyrus Harmon].
1197 29 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1199 * sql/oodml.lisp: Clear view instance cache when delete-instance-records
1200 is invoked [suggested by Alan Shutko].
1201 * uffi/clsql-uffi-loader.lisp: Improvements for loading with SBCL X86-64
1202 * sql/metaclasses.lisp: Don't change case of a :base-table string supplied
1203 to def-view-class [fix suggested by Fred Gilham].
1205 25 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1206 * tests/*.lisp: Change Vladamir to Vladimir per Cyrus Harmon's
1208 * sql/utils.lisp: Fix unnecessary consing noted by Fred Gilham.
1209 * doc/*.xml: Fix spelling of Vladimir
1211 24 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1212 * doc/bookinfo.xml, doc/csql.xml, doc/intro.xml: Update links
1213 now that LispWorks is an independant company [noted by
1216 22 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1217 * db-sqlite/sqlite-sql.lisp, db-sqlite3/sqlite3-sql.lisp:
1218 Better support for 64 bit environments
1220 05 Jan 2005 Kevin Rosenberg <kevin@rosenberg.net>
1222 * sql/metaclass.lisp: Make t the default value of :set
1223 [noted by Cyrus Harmon]
1225 28 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
1227 * uffi/clsql-uffi.lisp: Add support for unsigned integers
1228 * db-mysql/mysql-sql.lisp: Add support for detecting/marking
1229 unsigned integers. Apply patch from Yannick Gingras to
1230 implement database-sequence-last.
1232 26 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
1233 * doc/ref-fdml.lisp: Fix variable tag name to varname
1234 [noted by Eduardo Munoz]
1235 * db-mysql/mysql-loader.lisp: Handle library paths for 64-bit systems
1237 06 Dec 2004 Kevin Rosenberg <kevin@rosenberg.net>
1239 * sql/ooddl.lisp: Accept patch from Klaus Harbo for
1240 update-object-joins.
1241 * sql/metaclass.lisp: Remove unnecssary (and runtime error
1242 causing) change-class invocation when running on CLISP.
1243 * db-mysql/mysql-api.lisp: Commit patch from Paul Werkowski
1244 to fix structure name.
1245 * sql/database.lisp: More specific error message with trying
1246 to use a database value of NIL.
1247 * sql/expressions.lisp: Accept a string for the table name
1248 in (sql-output sql-delete database) [suggested by Ed Symanzik].
1250 11 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
1252 * sql/generic-postgresql.lisp: Commit patch from Chris Capel to
1253 ignore columns which have been dropped.
1254 * clsql-postgresql-socket.asd, db-postgresql-socket/postgresql-socket-package.lisp:
1255 Use sb-md5 package on SBCL, recommended by Chris Capel
1257 09 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
1258 * Version 3.1.0 released: New SQLite3 backend by Aurelio Bignoli
1259 * doc/appendix.xml: Document SQLITE3 backend, patch by Aurelio Bignoli
1260 * sql/operations.lisp: Add lower and upper SQL functions [Daniel Lowe].
1262 08 Nov 2004 Kevin Rosenberg <kevin@rosenberg.net>
1263 * sql/expressions.lisp: Fix slot name [thanks to Daniel Lowe]
1265 31 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1266 * clsql-sqlite3, db-sqlite3/*: NEW BACKEND
1267 contributed by Aurelio Bignoli
1269 23 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1270 * sql/oodml.lisp: Commit patch from Walter Pelis
1271 to use an object's database for a select on its slot.
1273 20 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1274 * uffi/uffi.c, uffi/clsql-uffi.lisp: Commit patch from
1275 Aurelio Bignoli to fix negative 64-bit integers
1277 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1278 * db-mysql/mysql.c: Fix parameters in bind_param call
1280 07 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1281 * uffi/clsql-uffi.lisp: Add support for :blob result-type
1282 * db-mysql/mysql-sql.lisp: Add support for :blob
1285 04 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1286 * db-mysql/mysql-sql.lisp, db-db2/db2-sql.lisp: Add
1287 missing quotes for types in code that is still in development
1288 (thanks to Joerg Hoehle)
1290 03 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1291 * Version 3.0.8 released
1292 * db-sqlite/sqlite-*.lisp: Apply patch from
1293 Aurelio Bignoli with improvements
1295 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1296 * multiple: Apply patch from Joerg Hoehle with multiple
1299 01 Oct 2004 Kevin Rosenberg <kevin@rosenberg.net>
1300 * Version 3.0.7 released
1301 * sql/oodml.lisp, sql/package.lisp, db-mysql/mysql-objects.lisp:
1302 Add support for mediumint.
1303 * sql/metaclass.lisp: Rework CLISP MOP handling
1304 * sql/ooddl.lisp: Work-around to have CLISP finalize standard-db-class
1306 28 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1307 * sql/metaclass.lisp: Support CLISP's attribute name
1308 for the type field in direct class slots
1310 27 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1311 * Version 3.0.6 released
1312 * BUGS: New file. Document suspected SIGPIPE
1313 interaction between SBCL and libpq used in
1315 * doc/ref-fdml.lisp: Document the :caching and :refresh
1316 keywords of the SELECT function.
1317 * doc/ref-ooddml.lisp: Document the new *default-caching*
1319 * sql/package.lisp: Export *default-caching*
1320 * sql/oodml.lisp: Use *default-caching* to
1321 control default caching behavior.
1323 21 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1324 * Version 3.0.5 release
1325 * doc/appendix.xml: Add note about loading Oracle8 version
1326 * db-oracle/oracle-loader.lisp: Support Oracle8 based on
1327 data from David Young.
1329 10 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1330 * doc/Makefile, doc/catalog-darwin.xml: Apply
1331 patch from Cyrus Harmon for building docs on Mac OS X
1332 * sql/package.lisp: Add new (pre-release) clisp MOP package
1334 09 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1335 * Version 3.0.4 Release
1336 * multiple: Remove superfluous quotes in UFFI def-type
1337 and def-foreign-type forms.
1339 07 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1340 * Version 3.0.3 Release
1341 * db-postgresql-socket/postgresql-socket-api.lisp: Commit patch
1342 from Tagore Smith to call force-output after sending authentication
1343 * db-odbc/odbc-api.lisp: Move ODBC v3 conversons
1344 * db-odbc/odbc-sql.lisp: Load mysql or postgresql package when connecting
1345 to a database of that type so that functions that indicate capabilities of
1346 database are available.
1348 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1349 * db-odbc/odbc-api.lisp: More conversions to ODBC v3
1351 02 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1352 * Version 3.0.2 Release
1353 * TODO: Add note about ODBC on Windows
1354 * db-odbc/odbc-loader.lisp: Add /winnt/system32/ to
1356 * db-odbc/odbc-ff-interface.lisp: Change the return type
1357 of SQLSetEnvAttr to :short
1359 02 Sep 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1360 * examples/clsql-tutorial.lisp: added missing initarg for the COMPANYID
1361 slot of the employee View Class definition [reported by Franz Deuzer].
1363 01 Sep 2004 Kevin Rosenberg <kevin@rosenberg.net>
1364 * Version 3.0.1 Release
1365 * tests/test-init.lisp: Add second join class to employee-address
1366 to test a class with two join slots.
1367 * sql/oodml.lisp: Fix find-all function for a class with multiple
1369 * TODO: Remove need to test/fix multiple join classes
1371 27 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1372 * db-mysql/Makefile, db-mysql/mysql-loader.lisp: accept patch
1373 from Jon Buffington for file locations on Darwin.
1375 17 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1376 * sql/db-interface.lisp: Improve messages when functions
1377 are passed a database object, but the method is not specialized
1378 for that database type.
1379 * sql/metaclasses.lisp: Fix inline declaration (reported by
1382 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1383 * TODO: Add bug report about SQL generation with a table
1384 containing two join slots.
1385 * sql/oodml.lisp: Add optional size to VARCHAR type
1387 3 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
1388 * Version 3.0.0 Release
1389 * sql/expressions.lisp: Change declaration that
1390 caused error on openmcl
1391 * db-aodbc/aodbc-sql.lisp: Fix storage location
1392 of odbc connection. Specialize database-query since
1393 dbi's :types keyword is different than generic-odbc's
1394 :result-types keyword
1395 * sql/db-interface.lisp: Add warnings for methods
1396 not specialized by a db backends
1397 * tests/test-fddl.lisp: Fix case of symbols to support
1398 case-sensitive Allegro
1399 * db-oracle/oracle-sql.lisp: Rework errbuf in handle-oci-error
1400 * tests/test-init.lisp: Note that odbc driver for postgresql
1401 doesn't properly handle table ownership
1402 * LATEST-TEST-RESULTS: update with version 3.0.0
1404 1 Aug 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1405 * sql/expressions.lisp: conditionalise escaping of backslash in
1406 generated SQL strings on backend.
1407 * tests/test-fdml.lisp: test for escaping of backslash.
1408 * sql/oodml.lisp: minor tidying in FIND-ALL.
1410 26 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1411 * NEWS: Initial 3.0 announcement draft
1412 * README: Expand acknowledgements of incorporated projects
1413 * CONTRIBUTORS: Further document Marcus Pearce contributions
1415 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1416 * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
1417 to print floats with the exponent markers removed.
1418 * tests/test-oodml.lisp: add tests for updating records with floats.
1420 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1421 * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for
1422 CommonSQL compatibility.
1423 * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since
1424 this column constraint syntax is not supported.
1425 * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
1426 from EMPLID to LAST_NAME since Oracle complains that EMPLID is already
1429 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1430 * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES.
1431 * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES.
1432 * doc/ref-ooddl.xml: minor changes to syntax and examples entries
1434 * doc/ref-oodml.xml: add examples for OODML.
1435 * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument
1437 * sql/metaclasses.lisp: update docstrings.
1438 * tests/test-init.lisp: change :db-constraints for emplid to
1439 (:not-null :unique) as a temporary test for multiple column constraints
1441 * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and
1442 return type of (SETF SLOT-VALUE-USING-CLASS).
1443 * TODO, doc/TODO: remove items done.
1446 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1447 * sql/oodml.lisp: on Lispworks, use weak valued hash tables for
1449 * sql/expressions.lisp: Fix SQL generation for the symbol NIL.
1451 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1452 * sql/expressions.lisp: reactivate caching of generated SQL strings.
1453 Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY
1454 here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT,
1455 OUTPUT-SQL and DATABASE-OUTPUT-SQL.
1456 * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move
1457 methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to
1458 sql/expressions.lisp.
1459 * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in
1460 DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT.
1461 * sql/generics.lisp: add docstrings.
1463 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1465 * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
1466 code in favor of fixing UFFI with James Bielman's patch
1468 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1470 * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
1473 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1474 * README, INSTALL: update URLs. Minor updates to descriptions.
1475 * tests/README: remove stuff about editing contexts.
1477 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1478 * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to
1479 *default-string-length*
1481 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1482 * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping
1484 * tests/test-fddl.lisp: add tests for column and table constraints
1485 in CREATE-TABLE. Add test for OWNER keyword parameter to
1486 LIST-TABLES (assuming same underlying machinery in other FDDL
1488 * tests/test-init.lisp: restrict above test to postgresql and oracle.
1490 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1491 * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio
1494 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1495 * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
1497 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1499 * doc/*.xml: documentation additionals and fixes so
1500 that docbook passes xmllint.
1502 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1504 * sql/fdml.lisp: Apply patch from Kim Minh Kaplan
1505 to change escaping of single quotes. Mild optimizations
1506 for escaped string output.
1507 * doc/ref-ooddl.lisp: documentation additions
1508 * doc/ref-oodml.lisp: Add purpose to functions
1509 * TODO: Add need to test single quote escaping
1511 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1512 * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
1513 * sql/ooddl.lisp: Added SMALLINT type
1514 * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
1515 * db-mysql/mysql-objects.lisp: Added SMALLINT type
1516 * sql/package.lisp: Export SMALLINT
1517 * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
1520 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1521 * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the
1522 recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS
1523 View Class slot option.
1524 * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class
1525 slot option accepting a list of constraints [reported by Travis Cross].
1526 * doc/ref-fddl.xml: add some examples of specifying column and
1527 table constraints to the documentation for CREATE-TABLE.
1528 * TODO: add note about adding tests for table/column constraints. Add
1529 optimisation note about using cached attribute types in insert/update
1532 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1533 * doc/appendix.xml: add notes about idiosyncrasies/unsupported
1534 features and so on the documentation for each backend.
1535 * doc/TODO: remove items done.
1536 * doc/ref-transaction.xml: add note in introduction about
1537 autocommit mode as a difference from CommonSQL.
1538 * doc/ref-syntax.xml: add notes about SQL syntax state functions
1539 being macros in CLSQL. Add note about SQL operators which are
1542 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1543 * Version 2.11.12 released
1544 * doc/ref-recording.xml: document SQL I/O recording.
1545 * doc/ref-prepared.xml: new file for documenting prepared statements.
1546 * doc/clsql.xml: comment out include for large object and CLSQL-SYS
1548 * doc/ref-conditions.xml: complete documentation of condition system.
1549 * doc/global-index.xml: add symbols from condition system and remove
1550 those from LOB and prepared statement APIs.
1551 * doc/ref-fdml.xml: complete documentation of FDML.
1552 * doc/glossary.xml: add View Class.
1553 * doc/TODO: remove items done.
1554 * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR.
1555 * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export
1556 additional slot accessors for condition classes.
1558 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
1559 * doc/ref-ooddl.lisp: Add documentation
1560 * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
1561 and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
1562 * doc/oodml.lisp: Rename references to new name of
1563 *DEFAULT-STRING-LENGTH*
1565 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1566 * doc/ref-transaction.xml: document transaction handling.
1567 * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and
1568 START-TRANSACTION return NIL as per the CommonSQL spec. Modify
1569 ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is
1570 passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
1573 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1574 * doc/ref-fdml.xml: document the FDML.
1575 * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here.
1576 * sql/ooddl.lisp: moved *default-varchar-length* to here from
1577 oodml.lisp and renamed to *default-string-length*
1579 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1580 * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
1581 to allow specifying transactionless table creation
1582 * doc/ref-oodml.lisp: Add new keyword to signature of
1585 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1587 * sql/expressions.lisp: when removing duplicate table identifiers
1588 in the FROM clause of a query, check both table name and alias
1590 * sql/fdml.lisp: remove DESCRIBE-TABLE.
1591 * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and
1592 DATABASE-DESCRIBE-TABLE.
1593 * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE
1594 and LIST-TABLE-INDEXES.
1595 * sql/generic-postgresql.lisp: add reader conditional #+nil for
1596 DATABASE-DESCRIBE-TABLE and comment about its uses for
1597 re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query
1598 returning type info for all attributes.
1599 Fix DATABASE-SEQUENCE-LAST.
1600 * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine
1601 LIST-INDEXES with additional keyword parameter :ON.
1602 * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3
1603 with LIST-INDEXES (with :ON parameter).
1604 * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES.
1605 * doc/ref-connect.xml: minor tidying.
1606 * doc/ref-fddl.xml: document the FDDL.
1607 * doc/TODO: removed items done. Moved note about transaction handling
1609 * TODO: move note about transaction handling to doc/TODO. Added
1610 optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES.
1612 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1614 * sql/syntax.lisp: updated docstrings.
1615 * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL
1617 * sql/database.lisp: add docstrings for CREATE-DATABASE,
1618 DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace
1619 CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR.
1620 * doc/ref-syntax.xml, doc/global-index.xml: minor tidying.
1621 * doc/ref-connect.xml: document connection/initialisation.
1622 * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here.
1623 * doc/TODO: remove items done.
1624 * Makefile: add db-oracle to to SUBDIRS.
1626 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1627 * sql/oodml.lisp: Add new serialization functions:
1628 WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
1629 * sql/expressions.lisp: Avoid duplicate FROM names when selecting
1630 from a table that has more than one primary index.
1631 * sql/conditions.lisp: Fix printing of closed-database error
1633 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1635 * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
1636 * sql/transactions.lisp: Correctly set slots of SQL-WARNING
1638 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1639 * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses
1640 of SQL-EXPRESSION from CLSQL-SYS.
1641 * sql/syntax.lisp: make error signalled in SQL-OPERATION an
1642 SQL-USER-ERROR. Make SQL-OPERATOR return just one value.
1643 * doc/Makefile: added Mandrake linux.
1644 * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files.
1645 * doc/appendix.xml: fixed little typo (adsf).
1646 * doc/glossary.xml: removed closed-database and note about
1647 sql-expression, added some entries.
1648 * doc/ref-syntax.xml: documented the symbolic SQL syntax.
1650 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1652 * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
1653 * multiple: Add generalized-boolean type as requested by
1655 * TODO: Added need for test of generalized-boolean
1657 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1658 * Version 2.11.7 released
1659 * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
1660 for loading with clc-register-user-package. Remove personal
1661 directory from path lisp.
1662 * db-mysql/mysql-loader.lisp: Similar changes
1664 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1665 * Version 2.11.6 released
1666 * sql/oodml.lisp: Commit patch from Edi Weitz
1667 to fix symbol writing/reading
1668 * TODO: Add need for symbol slot test
1670 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1671 * sql/package.lisp: remove duplicate export of
1672 *CACHE-TABLE-QUERIES-DEFAULT*.
1673 * doc/ref-*.xml, doc/global-index.xml: new files documenting
1674 the CommonSQL compatible api.
1675 * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to
1676 reflect changes in return values of WITH-TRANSACTION.
1678 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1679 * tests/README: Fix filename [reported by Bill Clementson]
1680 * sql/transactions.lisp: Apply return value patch from
1681 Edi Weitz for WITH-TRANSACTION
1682 * tests/README: Remove ptester package requirement (as noted
1685 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
1686 * Version 2.11.5 released
1687 * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
1688 Select connection-spec based on connection type. Bugs reported by
1690 * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
1691 * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
1692 name on Windows, add \bin\ directory to search path
1694 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
1695 * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in
1697 * sql/operations.lisp: substr now generates SUBSTR for use on
1698 Oracle; added a new operator SUBSTRING for use elsewhere. minus
1699 now generates MINUS for use on Oracle. Nvl signals an error if
1700 not called with exactly 2 arguments. Add concat function for use
1701 instead of the || operator on MySQL and Oracle.
1702 * sql/syntax.lisp: changed internal symbol for the || operator to
1704 * sql/expressions.lisp: removed redundant and unused functions
1705 GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
1706 (cf. MAKE-CONSTRAINTS-DESCRIPTION).
1707 * sql/generics.lisp: removed generic function for
1708 DATABASE-CONSTRAINT-DESCRIPTION (see above).
1709 * tests/test-syntax.lisp: modified/added tests according to changes
1710 in sql/operations.lisp.
1711 * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test
1713 * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP
1714 and SQL-USERENV to the shared exports list. Removed
1715 ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION,
1716 DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION,
1717 TRANSACTION-LEVEL, TRANSACTION, RECORD-SQL-COMMAND and
1718 RECORD-SQL-RESULT from shared exports list.
1720 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1721 * db-postgresql/postgresl-sql.lisp: Avoid computing
1722 result-types lisp when nil result-types. Return only
1723 one value when field-types nil.
1724 * db-mysql/mysql-sql.lisp: Simple queries now
1725 working with prepared statements.
1727 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1728 * Version 2.11.4: MySQL 4.1 now passes all tests
1729 * sql/package.lisp: Add API for prepared statments.
1730 * sql/fdml.lisp: Change implicit flatp processing
1731 for string map-query for greater CommonSQL conformance.
1732 Add high-high API for prepared statements.
1733 * tests/test-basic.lisp: Add test for map-query and
1735 * sql/transactions.lisp: Change name/semantics of
1736 autocommit to set-autocommit.
1737 * sql/generic-postgresql.lisp: Add support for
1738 prepared statements.
1739 * tests/test-internal.lisp: New file
1740 * sql/odbc-api.lisp: Update to using ODBC V3 protocol
1741 * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
1742 Controller invocation.
1743 * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
1744 * sql/expressions.lisp: Avoid emitting double parenthesis when a
1745 function contains a subselect.
1747 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1749 * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
1750 type (setf slot-value-using-class)
1751 * TODO: add not that need a test case for the above fix
1752 * db-sqlite: Remove clisp support since clisp can not run CLSQL
1754 * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as
1755 introduced in Oracle8. Leave older code selectable by a reader macro
1756 for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
1757 uses OCILogon and does not the more complex session management.
1759 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1760 * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
1761 * test/test-init.lisp: Add universal-time slot to person.
1762 * test/test-fddl.lisp: Add tests of universal-time slot
1763 * test/test-ooddl.lisp: Test universal-time slot in an object
1764 * TODO: Remove need for universal-time test
1765 * debian/rules, debian/control: Add cl-sql-oracle binary package
1766 * doc/appendix.xml: Add Oracle backend information
1767 * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
1768 universal-time. Convert BIGINT CLSQL type to CHAR SQL type
1769 * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
1770 * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
1771 for map-query to reflect changed in arguments to be CommonSQL compatible.
1772 Updated old clsql conditions to new CommonSQL compatible conditions.
1774 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1775 * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
1776 type. Added *default-varchar-length* rather than previous hard-coded
1777 varchar length. Remove 'simple-string and 'simple-base-string since they
1778 are subtypes of 'string.
1779 * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
1780 local hard-coded value.
1781 * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
1782 type string. Convert specified-type (CHAR n) to string. Convert specified-type
1783 CHAR to lisp type character.
1784 * sql/generic-postgresql.lisp: (string n) => (CHAR n)
1785 * sql/operations.lisp: Add userenv
1786 * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
1788 * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
1789 * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
1790 * test/test-init.lisp: Add large table with bigint slot
1792 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1793 * Version 2.11.1 released: Much simpler Oracle client library loading.
1794 Now uses ORACLE_HOME environmental variable as well as tests default
1795 path for Oracle Instant Client.
1797 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1798 * Version 2.11.0 released: Full Oracle support. All tests pass
1799 * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
1800 * tests/test-init.lisp: capitalize odbc backend name in banner
1801 * CONTRIBUTORS: Add note about Marcus' excellent work
1802 * sql/oodml.lisp: Removed old stub function
1803 * clsql.asd: Use module names in current package rather than keyword package
1804 * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
1805 in setting sequence position. Make autocommits more efficient.
1806 * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax
1807 * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
1808 strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
1809 and read-sql-value for NUMBER and CHAR.
1810 * sql/base-classes.lisp: Add autocommit slot
1811 * sql/transaction.lisp: Added autocommit processing, mild cleaning.
1812 * doc/intro.xml: Add Oracle
1814 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk)
1815 * db-postgresql-socket/postgresql-socket-sql.lisp: replace
1816 CLSQL-SIMPLE-WARNING with SQL-WARNING.
1817 * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with
1819 * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR.
1820 * clsql.asd: reworked module structure in package definition and
1821 file names to better reflect component functionality.
1822 * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to
1823 exports list. Removed duplicate and obsolete exports. Exported
1824 remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT,
1825 SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and
1826 according to whether they are specified by CommonSQL or CLSQL
1828 * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with
1830 * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND
1831 here from basic-sql.lisp.
1832 * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted).
1833 * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted).
1834 * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
1836 * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted).
1837 * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted).
1839 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1840 * Version 2.10.22 released
1841 * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
1842 has reversed class slots, change the default for ordered-class-slots so that slots
1843 are now in the same order an in the def-view-class.
1844 * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
1845 * test/test-fddl.lisp: Add two tests for mixed case names
1846 * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
1847 for computed fields, this will require some adjustment to the test suite which
1848 in many cases expects integers.
1849 * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
1851 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
1852 * Version 2.10.21 released
1853 * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
1854 db-odbc, and db-aodbc.
1855 * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
1856 DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
1857 * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
1858 * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to
1859 sql/generic-odbc.lisp
1860 * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp:
1861 Move common code to sql/generic-postgresql.lisp
1862 * sql/classes.lisp: honor case of string tables when outputting queries
1863 * sql/objects.lisp: Add database type to default database-get-type-specifier method
1864 * sql/sql.lisp: Add database type to default database-abort-transaction method
1865 * db-mysql/mysql-objects.lisp: New file
1866 * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
1867 * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
1869 * test/test-fdml.lisp: String table names are now case sensitive, so convert to
1870 default db case for FDML/SELECT/25
1872 22 May 2004 Kevin Rosenberg
1873 * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
1874 * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
1875 and string identifiers with non-default case
1876 * sql/table.lisp: Don't convert string table name to a symbol.
1877 * sql/classes.lisp: Honor case of string identifiers
1878 * sql/sql.lisp: Ensure recyclebin is purged for Oracle in
1880 * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
1881 of owner phrases. Obtain server and client versions.
1882 * db-oracle/oracle-objects.lisp: Fix type specifiers
1883 * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
1884 * tests/test-init.lisp: Properly get username from Oracle connection-spec
1886 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1887 * sql/generics.lisp: reworked docstrings. Remove generics for
1888 ADD-TO-RELATION and REMOVE-FROM-RELATION.
1889 * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS
1890 to UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
1891 * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS
1892 for CommonSQL compatibility. Remove ADD-TO-RELATION and
1893 REMOVE-FROM-RELATION.
1894 * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to
1895 UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
1896 * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS.
1897 * sql/conditions.lisp: add documentation for conditions. Add
1898 SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility.
1900 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1901 * sql/basic-sql.lisp: reworked docstrings.
1902 * sql/transactions.lisp: reworked docstrings.
1903 * sql/sql.lisp: reworked docstrings.
1904 * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE
1905 sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility.
1906 * sql/database.lisp: reworked docstrings.
1907 * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P
1908 and FDML extensions and database extensions.
1910 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1911 * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
1912 * db-oracle/make9.sh: add makefile for building with Oracle 9 client
1914 * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
1915 Oracle versions with the PURGE option required for drop table. This needs
1916 to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
1918 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1919 * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE.
1920 * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION.
1921 * sql/table.lisp: reworked docstrings.
1922 * sql/objects.lisp: moved *default-update-objects-max-len* here from
1924 * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE,
1925 DROP-VIEW and DROP-INDEX and the use of the :transactions and
1926 :constraints keyword args to CREATE-TABLE.
1927 * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now
1928 CommonSQL compatible with respect to column constraints.
1930 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1931 * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
1932 Requires UFFI 1.5.0 or higher
1934 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1936 * sql/conditions.lisp: Fix cerror
1938 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1939 * Version 2.10.18 released: New condition hierarchy to be compatible
1940 with CommonSQL -- not backward compatible with previous CLSQL.
1941 * sql/db-interface.lisp: Add more default methods
1942 * sql/objects.lisp: Add explicit table name to order-by parameters
1943 in find-all when only one table to avoid selecting a duplicate row.
1944 Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
1945 as previous logic was adding two fields (foo asc) to SELECT query.
1946 Make :result-types :auto be the default for object selections.
1947 Properly handle caching key when using multiple order-by with asc/desc
1949 * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
1951 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1952 * sql/recording.lisp: reworked docstrings.
1953 * sql/syntax.lisp: reworked docstrings.
1954 * doc/TODO: added notes about extensions to SQL-RECORDING-P and the
1955 SQL syntax state functions being macros.
1957 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1958 * sql/package.lisp: Export initialize-database-type and
1959 *initialize-database-types* from CLSQL package.
1960 * sql/conditions.lisp: Add new CommonSQL compatible conditions,
1961 remove old CLSQL conditions.
1962 * sql/loop-extensions.lisp: Make errors of type sql-user-error
1963 * */*.lisp: Convert to from old to new conditions
1965 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1966 * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
1967 To handle this difference, will need to add a new database-drop-table
1969 * db-oracle/oracle-sql.lisp: Move server-version and
1970 major-version-number to database object to allow multiple connections
1971 to Oracle servers of different versions.
1973 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1974 * TODO: moved notes about backends to doc/TODO.
1975 * doc/TODO: added notes about backends and select extensions.
1976 * sql/base-classes.lisp: remove obsolete schema slot in database
1979 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
1980 * db-oracle/oracle-api: Add OCIServerVersion
1981 * db-oracle/oracle-sql: Query and store server version on connect
1982 * sql/db-interface.lisp: Add new db-type-has-bigint? generic
1983 function to handle OCI's lack of bigint support
1984 * test/test-basic.lisp: Separate bigint testing
1985 * test/test-utils.lisp: Add oracle to specs and list of backends
1986 * doc/TODO: New file
1987 * test/test-fdml.lisp: Added FDML/SELECT/34 to test
1988 run-time instantiation of variables in reader macros.
1989 * TODO: Remove item already complete. Add note about
1992 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
1993 * sql/syntax.lisp: added condition to the reader macro to treat [*]
1994 as a column identifier (rather than an operation) for CommonSQL
1996 * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION
1997 keword args to SELECT, [*] as column identifier, new MAP-QUERY
1998 behaviour and the ANY and ALL operators in subqueries.
1999 * tests/test-init.lisp: add set-operation and subquery tests to
2000 appropriate skip lists.
2001 * sql/objects.lisp: remove redundant and non CommonSQL compatible
2002 ORDER-BY-DESCENDING keyword argument for SELECT.
2003 * sql/classes.lisp: remove redundant and non CommonSQL compatible
2004 ORDER-BY-DESCENDING keyword argument for SELECT.
2005 * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT
2006 with object queries.
2008 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2009 * sql/db-interface.lisp: Add new db-type-has-union?
2010 since Mysql 3.23 does not support unions.
2011 * sql/test-init.lisp: Don't try union tests on database
2012 backends which do not support it.
2013 * db-oracle/*.lisp: initial port to UFFI
2014 * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
2015 implement REFRESH for SELECT.
2016 * tests/test-oodml.lisp: Add tests for deferred retrieval,
2017 caching, refresh, and update-object-joins
2018 * tests/test-init.lisp: Add deferred-employee-address class
2020 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2021 * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add
2022 COALESCE operator and make NVL a synonym for this. Make ANY, SOME,
2023 ALL and EXISTS generate function expressions so they output the
2025 * sql/classes.lisp: SELECT now generates appropriate SQL when
2026 passed the SET-OPERATION and ALL keyword arguments.
2027 * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now
2028 accepts ordering constraints as pairs of the form (column direction)
2029 where direction may be :ASC or :DESC.
2030 * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL.
2031 Correct tests for ANY, SOME, ALL and EXISTS.
2032 * tests/test-fdml.lisp: added test for COALESCE.
2033 * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION
2034 using funcall unless QUERY-EXPRESSION returns one column and its
2035 FLATP slot is not nil in which case apply is used.
2036 * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the
2038 * TODO: remove items done.
2039 * db-postgresql/postgresql-sql.lisp: no need to reverse results in
2040 DATABASE-LIST-ATTRIBUTES.
2041 * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
2042 results in DATABASE-LIST-ATTRIBUTES.
2044 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2045 * sql/classes.lisp: SELECT now accepts table identifiers as strings
2046 for CommonSQL compliance. Add support for qualified sql identifiers
2047 with aliased table names.
2048 * tests/test-fdml.lisp: added tests for table identifiers as strings
2049 in SELECT and for aliased definitions.
2050 * tests/test-syntax.lisp: added tests for alias definitions.
2052 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2053 * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and
2054 field-names set to nil.
2055 * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly
2056 with null attribute values.
2057 * sql/operations.lisp: modify SQL concatenation operator to accept
2058 unescaped || symbol.
2059 * sql/syntax.lisp: modify sql reader macro function to accept
2060 unescaped sql concatenation operator.
2061 * tests/test-fdml.lisp: unescape sql concatenation operator.
2062 * tests/test-syntax.lisp: unescape sql concatenation operator.
2063 * TODO: remove items done. Add notes about SQLITE/MYSQL backends.
2064 Note to add test for universal-time. Note about difference from
2065 CommonSQL in transaction handling.
2067 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2068 * tests/test-init.lisp: Add deferred-employee-address
2070 * tests/test-oodml.lisp: Add deferred retrieval testgs
2072 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2074 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
2075 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
2076 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
2077 * *: Fix minor style warnings
2078 * clsql-classic: Remove system and subdirectory
2079 * clsql-base: Remove system and subdirectory and
2080 fold into clsql system
2081 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
2082 as supported platform.
2084 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2085 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
2086 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
2087 Allegro 7.0beta AMD64
2088 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
2089 of ODBC longs since this type can vary on 64-bit platforms depending
2090 upon the compilation options of unixODBC.
2091 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
2092 structures found by testing with AllegroCL 7.0b AMD64.
2093 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
2094 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
2095 Initial caching support for SELECT
2096 * tests/test-oodml.lisp: Avoid using cache when testing select.
2097 * sql/kmr-mop.lisp: Explicitly check slot order and
2098 store as a cl:*feature*
2099 * sql/recording.lisp: Remove additional types to
2100 increase CommonSQL conformance.
2101 * tests/test-init.lisp: Change a :column attribute
2102 to test symbols as value
2103 * sql/relations.lisp: Remove functions since they don't support
2104 many to many relationships.
2105 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
2106 of add-to-relations function and replace with explicit field settings.
2107 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
2109 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2111 * LATEST-TEST-RESULTS: results with current version
2112 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
2113 since cmu19 has opposite order of class slots.
2114 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
2115 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
2117 * tests/test-init.lisp: Check test-database-underlying-type for
2120 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2121 * sql/operations.lisp: complete remaining operations for the sql
2122 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
2123 UNION, INTERSECT, BETWEEN.
2124 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
2125 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
2126 * tests/test-syntax.lisp: add tests for new operations.
2127 * tests/test-fdml.lisp: add tests for queries based on new operations.
2128 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
2129 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
2130 * TODO: removed entries done.
2132 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2133 * tests/benchmarks.lisp: Add immediate vs. deferred
2136 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2137 * Version 2.10.13: Now works on openmcl 0.14.2
2138 * sql/objects.lisp: Add :retrieval :immediate for
2140 * tests/test-init.lisp: Add non-index fields for testing
2141 join class employee-addresss
2142 * test/test-oodml.lisp: Add tests for retrieval immediate
2143 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
2144 values which are now listifed by openmcl 14.2.
2145 * sql/objects.lisp: more framework for supporing immediate retrieval
2147 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2148 * docs/intro.xml: Upload location of a README file
2149 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
2150 changing the type-specifier. Use a lisp type of (OR NULL FOO)
2151 for a specified-type of FOO unless :db-constraints :not-null.
2152 No need to specialize finalize-inheritance for openmcl.
2153 * tests/test-*.lisp: Rename fields so that joins occur on
2154 fields with different names. This ensures that join code is
2155 selecting the proper name.
2156 * test/test-init.lisp: Add :base-table for employee-address
2157 view class for testing.
2158 * sql/objects.lisp: Use view-table rather than name of table
2159 in a number of places to fix errors noted with using :base-table.
2161 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2162 * sql/objects.lisp: replace *update-records-on-make-instance* with
2163 *db-auto-sync* which also controls both automatic creation of
2164 new records on creation of new instance and updating of record
2165 fields on setting of instance slots (as suggested by Edi Weitz).
2166 * tests/test-init.lisp: replace *update-records-on-make-instance*
2167 with *db-auto-sync*.
2168 * sql/package.lisp: replace *update-records-on-make-instance*
2169 with *db-auto-sync*.
2170 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
2171 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
2172 and *default-database* in FIND-ALL.
2173 * sql/package.lisp: import time functions from CLSQL-BASE.
2174 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
2175 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
2176 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
2177 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
2180 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2181 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
2182 now return a sql-object-query type rather than directly performing a query.
2183 This improves CommonSQL conformance.
2184 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
2185 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
2186 depend on sql-object-query-type.
2187 * sql/loop-extensions.lisp: Move from base package
2188 * classic/package.lisp: remove references to map-query and do-query
2190 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2191 * TODO: New section on optimizations, especially optimizing JOINs.
2192 * sql/objects.lisp: Have :target-slot return of list of lists rather
2193 than a list of cons pairs to be conformant with CommonSQL.
2194 Make :target-slot much more efficient by using a SQL inner join
2195 statement and just requiring one SQL query. Add :retrieval :deferrred
2196 to target-slot joins. Add placeholder for update-objects-join.
2197 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
2198 and process them for query output-sql.
2200 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2202 * base/basic-sql.lisp: Avoid multiple evaluation
2203 of query-expression in DO-QUERY
2204 * sql/objects.lisp: Make SELECT a normal function.
2205 SELECT now accepts type-modified database identifiers, such as
2206 [foo :string] which means that the values in column foo are returned
2207 as Lisp strings. Add new *update-records-on-make-instance* special
2208 variable controlling automatic creation of new instances. Add missing
2209 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
2210 * sql/packages.lisp: Export *update-records-on-make-instance*
2211 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
2213 * test/test-fdml.lisp: Add tests for type-modified
2214 database identifiers.
2215 * test/test-init.lisp: Stop using add-relation since implementing
2216 many-to-many joins. Use *update-records-on-make-instance*
2217 to automatically store records on instance creation. Add many-to-many
2218 employee-address view-class.
2220 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2222 * base/loop.lisp: Add object iteration. Use :result-type
2223 :auto for result-set. Remove
2224 duplicate (and non-correct) code for non-list variables by
2225 simply making an atom variable into a list.
2226 * sql/package.lisp: Remove unnecessary clsql-sys package
2227 and replace it with clsql.
2228 * sql/metaclasses.lisp: Properly store specified-type from
2229 direct-slot-definition and then store translated type in
2230 effective-slot-definition
2231 * sql/classes.lisp: Don't output type in sql-output
2232 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
2233 [foo :integer] as fields in SELECT.
2234 * sql/query.lisp: Set default for :result-types to :auto in
2236 * sql/objects.lisp: Use specified-type when invocating
2237 database-get-type-specifier. def-view-class macro now returns
2239 * base/basic-sql.lisp: Make :AUTO the default value for
2240 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
2241 * sql/objects.lisp: Add bigint type
2242 * test/tests-basic.lisp: Add tests for :result-types for
2243 MAP-QUERY and DO-QUERY
2244 * test/test-fdml.lisp: Add test for result-types in LOOP
2245 and also using single symbol rather than a list for variables.
2246 Add test that default :result-types is auto for FDML QUERY.
2247 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
2248 of SQL-IDENT-ATTRIBUTE.
2249 * test/test-oodml.lisp: Enable OO loop iteration test,
2250 modify it so it doesn't depend on boolean where.
2252 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2254 * sql/objects.lisp: added derived type specifier for universal time.
2255 * sql/package.lisp: added #:universal-time to clsql-sys exports.
2256 * tests/test-oodml.lisp: added test for translation of boolean slots
2257 in SELECT with object queries.
2259 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2260 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
2261 for odbc/postgresql backend.
2262 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
2263 it can handle NIL values from the ODBC driver
2264 * tests/benchmarks.lisp: New file with initial
2266 * sql/relations.lisp: fix to add subclassing support,
2267 minor optimizations [Edi Weitz]
2269 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2271 * base/conditions.lisp: Add *backend-warning-behavior*
2273 * db-postgresql-socket/postgresql-socket-sql.lisp:
2274 Honor value of *backend-warning-behavior*
2275 * tests/test-fdml.lisp: Remove test of raw boolean value
2276 since different backends handle this differently. Add
2277 test for :column attribute.
2278 * tests/test-oodml.lisp: Add tests for boolean slot value
2279 and for :void-value attribute
2280 * tests/test-init.lisp: Use *backend-warning-behavior*
2281 to suppress warnings from postgresql about implicitly
2282 creating primary key in tables. Add new address table.
2284 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2286 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
2287 result-types is :auto
2288 * sql/objects.lisp: Properly handled writing/reading Boolean
2289 values from SQL database when retrieving objects.
2290 * test/test-fdml.lisp: Add another test for boolean results
2291 * test/utils.lisp: Fix incorrect declaration
2293 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2295 * sql/generics.lisp: add generic function for SELECT.
2296 * sql/objects.lisp: make SELECT a method specialisation.
2297 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
2298 referred to are View Classes.
2299 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
2300 query-expression arg evaluates to a list, then we have an object
2302 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
2304 * TODO: remove items done and add a todo for SELECT.
2305 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
2307 * sql/sql.lisp: add :field-names arg to QUERY.
2308 * tests/test-fdml.lisp: minor rework to use :field-names arg to
2311 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2312 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
2313 or more View Classes.
2314 * sql/objects.lisp: make the :flatp argument to SELECT work with
2316 * sql/objects.lisp: make SELECT accept a :result-types argument
2317 (defaults to :auto) which is passed on to QUERY.
2318 * sql/objects.lisp: SELECT returns field-names as a second value.
2319 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
2320 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
2321 to SELECT and take only first value as appropriate.
2322 * tests/test-fdml.lisp: add two new tests for query result coercion
2323 and the field-names returned as a second value from SELECT.
2324 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
2326 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2327 * Version 2.10.6-pre1
2328 * sql/metaclasses.lisp: Add void-value slot
2329 * doc/csql.xml: Update def-view-class documentation
2330 * test/test-init.lisp: Change old :db-type to :db-kind.
2331 Remove old :nulls-ok attributes.
2332 * sql/objects.lisp: Add new universal-time and bigint
2333 types. Optimize reading of integers using parse-integer
2334 rather than read-from-string.
2335 * */*.lisp: Merge clsql-base-sys and clsql-base packages
2336 into clsql-base package
2337 * classic/sql.lisp: Move large object support into base, leaving
2338 classic without any functionality that is provided in the clsql
2340 * classic/package.lisp: Rename clsql-classic-sys package to
2341 its former nickname of clsql-classic
2343 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2344 * Version 2.10.5: SQLite backend now passes all result-types tests
2345 * clsql-sqlite.asd: Depend on clsql-uffi system
2346 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
2347 for efficiency and code reuse.
2348 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
2349 for better cross-implementation compatibility.
2351 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2353 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
2355 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
2356 bug on SBCL in result-field-names function as reported by Marcus Pearce
2357 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
2358 manifest in SBCL testing
2360 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2362 * sql/database.lisp: Conform more to CommonSQL output
2363 for STATUS command [Marcus Pearce]
2364 * sql/sqlite-sql.lisp: Rework to use result-types
2365 * sql/sqlite-api-clisp.lisp: Add compatibility layer
2366 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
2367 be cleaned up of most clisp reader conditionals
2368 * sql/test-init.lisp: Now run field type tests on sqlite
2371 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2373 * base/basic-sql.lisp: Set default value of :result-types
2374 to :auto for more CommonSQL conformance.
2375 * test/test-fdml.lisp: Add tests for numeric value of fields
2378 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2379 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
2380 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
2381 Return field names as second value for QUERY. This can be overridden
2382 for efficiency with the new keyword :FIELD-NAMES set to NIL
2383 in the QUERY invocation.
2384 * test/test-fdml.lisp: Add tests for new field-name feature
2385 * sql/metaclass.lisp: Remove old Lispworks cruft
2386 and replace it with invocation of new code in kmr-mop.lisp
2387 which actually works with Lispworks 4.2
2388 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
2390 * base/db-interface.lisp: Document the multiple values
2391 returned by DATABASE-ATTRIBUTE-TYPE so matches the
2392 undocumented CommonSQL behavior.
2393 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
2394 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
2395 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
2396 Implement CACHE-TABLE-QUERIES.
2397 * db-odbc/odbc-sql.lisp: Fix attribute-type function
2398 * test/test-fddl.lisp: Add tests for attribute type
2399 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
2401 * base/classes.lisp: Add attribute-cache slot to database clas
2402 * base/initialize.lisp: initialize-database-type now automatically
2403 loads database-type backend as needed.
2404 * base/test-init.lisp: Utilize new initialize-database-type functionality.
2405 * TODO: remove items done
2407 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
2409 * sql/objects.lisp: remove create/drop-sequence-from-class.
2410 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
2411 * sql/objects.lisp: improved CommonSQL compatibility for
2412 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
2413 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
2414 * sql/generics.lisp: move generics from objects.lisp to here.
2416 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2417 * Version 2.9.6-pre1
2418 * db-mysql/mysql-client-info.lisp: Add client version 4.1
2420 * sql/sql.lisp: Make *default-database* the default for
2423 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2425 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
2427 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
2428 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
2429 on a metaclass specialized from standard-db-class.
2432 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2433 * Version 2.9.4: Multiple changes to support Allegro's "modern"
2434 lisp which uses a lowercase reader and has case-sensitive symbols
2435 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
2436 exposed by case-sensitive mlisp.
2438 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2439 * Version 2.9.3: All tests now pass on all platforms!
2440 * LATEST-TEST-RESULTS: New file with summary of test results
2441 * sql/generics.lisp: New file for generic function definitions.
2442 * test/test-init.lisp: Display names of skipped tests.
2443 Use unwind-protect to ensure disconnect
2444 * sql/objects.lisp: Change database-type to database-underlying-type
2445 so that actual database engine is properly identified
2446 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
2447 return an ISO timestring for compatibility with other drivers.
2448 Workaround bug in MyODBC for LIST-TABLE-INDEXES
2449 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
2450 returns floating-point values for floor and truncate operations
2451 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
2452 * tests/test-basic.lisp: Port to regression tester
2453 * test/test-init.lisp: Output to *report-stream*
2454 * docs/appendix.xml: Document ODBC and SQLite backends.
2455 * sql/classes.lisp: Make output-sql require a database parameter.
2456 This allows SQL generation to have the proper case to support
2457 the differences in case handling between CommonSQL API,
2458 Postgresql, MySQL, Oracle.
2460 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2461 * Version 2.9.2: Improvments in database capability introspection
2462 and querying. Support transactions in MySQL where available.
2463 All tests now pass on MySQL and SQLite in addition to postgresql
2464 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
2465 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
2466 DATABASE-LIST-SEQUENCES.
2467 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
2468 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
2469 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
2470 * tests/*.lisp: Check database capabilities and remove tests which
2471 the database backend does not support
2472 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
2473 controls whether InnoDB tables will be created when supported on
2474 the underlying MySQL server.
2476 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2477 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
2478 supported by all database backends (except AODBC since
2479 AODBC doesn't support index querying)
2480 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
2481 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
2482 to support index queries
2483 * db-aodbc/aodbc-sql.lisp: Filter driver manager
2484 "information_schema" tables from LIST-TABLES
2485 * tests/test-basic.lisp: Remove table after testing
2486 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
2487 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
2488 which gets the underlying type of database -- required
2489 when dealing with ODBC databases and want to query
2490 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
2491 as first database-backend specific feature. Is T on
2492 :mysql, NIL on other backends. Change DROP-TABLE to
2495 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2496 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
2498 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2500 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
2501 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
2503 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2504 * Version 2.8.0: New API function: LIST-DATABASES
2505 * base/utils.lisp: Fix command-output on CMUCL/SBCL
2506 * db-*/*-sql.lisp: Add new database-list function
2507 * base/database.lisp: Add new LIST-DATABASES command
2509 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2511 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
2512 * db-sqlite/sqlite-api-uffi.lisp: Print error string
2515 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2517 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
2520 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2522 * base/objects.lisp, base/classes.lisp: Patch
2523 for db-kind from Eduardo Munoz
2525 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2527 * base/basic-sql.lisp: Fix FLATP in QUERY
2529 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2530 * Version 2.7.3: Implement RECONNECT
2532 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2533 * Version 2.7.2: Fix ODBC on Lispworks Windows
2535 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2536 * Version 2.7.1: Fix for new ODBC backend.
2537 clsql-odbc now works on SBCL, CMUCL, OpenMCL
2538 in addition to AllegroCL and Lispworks.
2540 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2541 * Version 2.7.0: New backend: ODBC. Tests as
2542 well as AODBC backend on Allegro,Lispworks.
2543 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
2544 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
2545 to explicitly set ODBC2 support. Add BIGINT support.
2546 Add result-types support. Added SQLTables.
2547 Fix array type in fetch-all-rows. Make width
2548 changable by database or query.
2549 * base/utils.lisp: Add process functions
2550 * base/package.lisp: Export utils to CLSQL-BASE-SYS
2551 * db-aodbc: Implement sequence functions,
2552 database-list-tables, database-list-attributes
2553 * tests/utils.lisp: Add support for ODBC backend,
2554 rework READ-SPECS to use +all-db-types+
2555 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
2558 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2559 * Version 2.6.13. Requires UFFI version 1.4.9
2560 * db-odbc/*.lisp: Further porting.
2561 Pre-alpha code! But, basic query is now working.
2563 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2565 * base/transactions.lisp: Add quote for macro
2566 expansion of WITH-TRANSACTIONS [Time Howe]
2567 * db-sqlite/sqlite-sql.lisp: Support memory database
2568 in database-probe [Ng Pheng Siong]
2569 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
2570 The DBI layer is not finished.
2572 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2574 * sql/objects.lisp: add :root-class functionality for
2575 list-classes and add duration type support [Marcus Pearce]
2576 * db-odbc: Add mid-level [DBI] layer
2578 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2580 * db-aodbc: Add methods for generic functions, some are
2581 not yet implemented.
2582 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
2585 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2587 * base/package.lisp: Add missing symbols [Marcus Pearce]
2589 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2591 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
2592 * utils/time.lisp: Multiple fixes [Marcus Pearce]
2593 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
2595 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2597 * sql/*.lisp: Remove schema versioning cruft
2599 * Makefile: Add classic subdirectory
2601 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2603 * sql/sql.lisp: Fix TRUNCATE command, bug reported
2605 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
2606 specific and easy for an application to directly support.
2607 Idea from Marcus Pearce.
2608 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
2609 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
2610 Keep low-level interface for future optimization
2611 supporting LIST-ATTRIBUTE-TYPES command.
2612 * Makefile: Add to db-sqlite and test directories.
2613 Include them in top-level Makefile
2615 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2617 * sql/relations.lisp: Add missing file
2618 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
2619 * test/test-time.lips: New file [Marcus Pearce]
2621 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2623 * test/test-init.lisp: Properly handle object
2624 creation. Close database after use.
2625 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
2626 function so can have methods specialized on
2627 table being a string or an sql-table object.
2628 * base/pool.lisp: Really fix CMUCL locking
2630 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2632 * test/test-init.lisp: Signal correctly
2633 if any errors occurred in any test suite
2634 * base/loop-extensions.lisp: Fix error
2635 introduced for Lispworks
2636 * base/pool.lisp: Fix locking for CMUCL
2637 * base/objects.lisp: Remove schema-version cruft
2639 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2640 * Version 2.6.2: New CLSQL API functions:
2641 DESCRIBE-TABLE AND TRUNCATE-DATABASE
2642 Currently, this are only supported on :postgresql
2643 and :postgresql-socket
2644 * base/database.lisp: automatically load ASDF system
2645 in CONNECT if not already loaded
2646 * base/tests.lisp: disconnect database after testing
2647 * base/*.lisp: Remove CLOSED-DATABASE type in favor
2648 of storing open/closed status in slot of database
2649 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
2650 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
2651 DATABASE-DESCRIBE-TABLE
2652 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
2653 * base/conditions: Remove duplicate condition
2654 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
2655 * base/recording.lisp: Add new :QUERY type for recording
2657 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2658 * Version 2.6.1: documentation fixes, merged
2659 classic-tests into tests
2661 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2662 * Version 2.6.0 released: New API functions
2663 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
2664 * doc/ref_clsql.xml: Document new functions
2665 * base/database.lisp: New API functions
2666 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
2667 * base/utils.lisp: Fix use of position-char.
2668 Add COMMAND-OUTPUT used by backends for running
2669 external programs. Fix parsing of SQL*NET-compatible
2671 * base/loop-extension.lisp: Simplify package use
2672 for Lispworks and Allegro
2673 * db-*/*-sql.lisp: Added DATABASE-CREATE,
2674 DATABASE-DESTORY, PROBE-DATABASE methods
2675 * tests/test-init.lisp, clasic-tests/tests.lisp:
2676 Use destroy-database and create-database to ensure
2677 testing with empty database
2678 * tests/test-connection.lisp: Add tests for
2679 parsing of string connection-specs
2680 * examples/run-tests.sh: New file for running
2681 test suite on all installed CL implementations
2682 * examples/clsql-tutorial.lisp: moved from
2684 * examples/dot.clsql-tests.config: New file
2685 giving an example test configuration
2686 * test/README: Add notes about rtest/ptester
2687 downloads and link to sample test configuration file.
2689 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2690 * Version 2.5.1 released:
2691 * tests/*.lisp: Rework so tests are run
2692 on multiple backends automatically based
2693 on the contents of ~/.clsql-tests.config.
2694 Reuse helper functions from classic-tests.
2695 * base/database.lisp: Support connection-spec
2696 as string for CONNECT
2697 * classic-tests/tests.lisp: Automatically
2698 load database backends as needed.
2700 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2701 * Version 2.5.0 released:
2702 All tests for CLSQL and CLSQL-CLASSIC pass
2704 * base/loop-extension.lisp: Add Lispworks
2705 loop-extension. Improve type specifying on
2708 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2709 * Version 2.4.2 released:
2710 loop extension now supported on Allegro, all
2711 CLSQL-TESTS pass on Allegro.
2712 * sql/metaclasses.lisp: Some optimization
2713 of compute-slots, be selective when
2714 ordered-class-slots needs to be called
2715 instead of class-slots
2716 * TODO: add URL with documentation on
2717 extending Lispworks LOOP form
2719 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2720 * Version 2.4.1 released: CLSQL-TESt suite passes
2721 all tests for postgresql and CMUCL, SBCL, OpenMCL.
2722 Allegro and Lispworks pass all tests except for
2723 FDML/LOOP/1 since the loop extension have not yet
2724 been ported to those implementions.
2725 * sql/metaclasses.lisp: Added new slot to standard-db-class
2726 to hold user-specified type. OpenMCL adjustments to compensate
2727 for its type-predicate function. Since AllegroCL, Lispworks,
2728 and OpenMCL have different slot orders, added compute-slots
2729 and ordered-class-slots functions so their slot order matches
2732 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2733 * Version 2.4.0 released: All tests for clsql-classic now finish
2734 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
2735 mysql, postgresql, postgresql-sockets, and sqlite backends.
2736 * db-mysql/mysql-sql.lisp: Fix array dereferencing
2737 * classic-tests/tests.lisp: Fix package name of
2738 number-to-sql-string.
2739 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
2740 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
2741 now passes tests on all support UFFI platforms.
2742 * db-postgresql-socket/postgresql-socket-api.list: Ported to
2744 * multiple: Finish renaming of :types keyword to :result-types for
2745 greater CommonSQL compatibility, including documentation
2746 * sql/basic-cmds.lisp: Remove obsolete file
2748 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2749 * Version 2.3.3 released
2750 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
2751 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
2752 * Fix for schema table [Marcus Pearce]
2753 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
2754 * Fixes to test suite [Marcus Pearce]
2756 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2757 * db-*/*-sql.lisp: Ensure that expr in
2758 database-query-result-set is a string
2759 * Documentation integration
2761 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2762 * With for Marcus Pearce's excellent work, I've merged
2763 his clsql-usql port into clsql. The original clsql
2764 interface is available in the clsql-classic package.
2766 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
2767 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
2768 adding further support for providing backend for UncommonSQL
2770 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
2771 * Integrate patch from Aurelio Bignoli for SQLite backend
2773 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
2774 * Converted documentation to XML format
2775 * Made package installable with asdf-install
2777 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
2778 * Add for-each-row macro
2780 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
2781 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
2783 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
2784 * Add support for SBCL, OpenMCL, and SCL
2785 * Add *load-truename* to search path for clsql's
2788 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
2789 * Rework use of file types in .asd files
2791 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
2792 * Add .asd definition files for ASDF users
2794 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2795 * Restructure directories for Common Lisp Controller v3 compatibility
2797 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2798 * Also change case of logical host in loader files
2799 * Rework handling of logical pathnames
2801 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
2802 * Change case of logical host
2804 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
2805 * clsql-base.system: Added base package that can be used without
2806 high-level SQL commands. Used for adding support for UncommonSQL.
2807 * *.system: Reworked logical pathnames to be more consistent with
2808 Common Lisp Controller.
2809 * debian/*: Completed initial Debian support
2811 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2813 * sql/transactions.cl:
2814 Added transaction support. Functions/macros added:
2815 with-transaction, commit-transaction, rollback-transaction,
2816 add-transaction-commit-hook, add-transaction-rollback-hook
2818 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2821 * sql/functional.cl:
2822 Added pool support in connect/disconnect and with-database.
2823 Removed with-db-from-pool as with-database can now works with the connections pool
2825 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2830 Completed connection pool.
2831 Added with-db-from-pool macro.
2833 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2835 Added initial support for connection pool
2836 * sql/transactions.cl
2837 Took transaction code from UncommonSQL and integrated
2838 into CLSQL code. See file for disclaimer about why this
2841 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2842 * interfaces/postgresql/postgresql-sql.cl:
2843 Fix keyword typo in database-read-large-object
2844 * interfaces/mysql/mysql-loader.cl
2845 Fix loading on Win32
2846 * test-suite/tester-clsql.cl
2847 Fix type coercion of double-float
2849 Added debian docbook catalog, made it the default
2851 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
2852 * interface/postgresql/postgresql-api.cl:
2853 * interface/postgresql/postgresql-sql.cl:
2855 * sql/db-interface.cl:
2856 Added large objects support for postgresql.
2858 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2859 * src/postgresql-socket/postgresql-socket-api.cl:
2860 Fixed find-foreign-function call, eliminated crypt warning
2862 Multiple improvements
2864 Moved functionality from low-level interfaces to this file
2865 via generic functions
2866 * test-suite/tester.cl:
2867 Added test with acl-compat-tester, moved others to old-tests
2870 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
2872 Reinstated commented out sections
2873 * interfaces/postgresql/postgresql-loader.cl:
2874 * interfaces/mysql/mysql-loader.cl:
2875 Updated find-forieign-library support.
2876 * interfaces/postgresql-socket/postgresql-socket-package.cl:
2877 Fixed require form for Lispworks (Thanks Marc Battyani!)
2878 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2879 Fixed eval of def-function for crypt library.
2881 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2882 * Added interface to support USQL high-level rouines
2884 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2885 * Separated db-interface and conditions from sql/sql.cl
2886 * Improved foreign library loading testing
2887 * interfaces/postgresql/postgresql-api.cl
2888 Added PQisBusy function
2889 * interfaces/clsql-uffi/clsql-uffi.cl
2890 Fixed sign error for 64-bit processing
2892 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2893 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2894 Fixes to read-double-from-socket. Added 64-bit integer support.
2895 * test-suite/xptest-clsql.cl
2896 Added testint for 64-bit integers
2897 * Additons to installation docs
2899 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2900 * interfaces/postgresql-socket/postgresql-socket-api.cl:
2901 Implemented direct socket reading for field type :double
2902 * Added usage information for :types to documentation
2903 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
2905 * interfaces/clsql-uffi: Created new directory. Split common
2906 interface routines that use UFFI into this package. Required
2907 especially to support direct reading of 64-bit integers into
2908 bignums and bypassing temporary strings.
2909 * test-clsql.cl: Updated to test postgresql-socket's
2910 read-double-from-socket function.
2911 * test-suite/xptest-clsql.cl
2912 Started work on test suite
2914 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2915 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
2916 mysql-fetch-field-direct Got :auto types working
2917 * interfaces/postgresql/postgresql-api.cl
2918 * interfaces/postgresql-socket/postgresql-socket-api.cl
2919 Added pgsql-field-types enum. Got :auto types working.
2921 Renamed :field-types to :types.
2923 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2924 * Added field-types parameter to query, database-query,
2925 database-query-result-set, map-query. Haven't added code
2926 to utilize field types, yet.
2927 * Changed postgresql-socket result set from cons to a structure
2928 * Updated test-clsql.cl to use automated testing with a config
2930 * Changed return types of field accessors from cstring to
2931 (* :unsigned-char). This prepares for being able to use specified
2932 type conversions when taking field data into lisp.
2933 * Added field-type processing for most interfaces. Not done yet.
2935 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
2936 * doc/ref.sgml: Updated MAP-QUERY example to use
2937 *read-default-float-format* (John Foderaro)
2938 * Extensive work to foreign library loaders and .system files to
2939 check for successful loading of foreign libraries.
2940 * Modified test-clsql.cl to allow more modularity and
2941 automated testing in future release.
2942 * mysql/mysql-sql.lisp: Added field types
2944 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
2945 * mysql/mysql-sql.lisp:
2946 - Added support for Allegro CL and Lispworks using UFFI layer
2947 - Changed database-connect to use mysql-real-connect. This way,
2948 can avoid using double (unwind-protect)
2949 - Changed database-connect to have MySQL library allocate space
2950 for MYSQL structure. This will make the code more robust in
2951 the event that MySQL library changes the size of the mysql-mysql