1 23 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
2 * sql/oodml.lisp: add DATABASE-OUTPUT-SQL-AS-TYPE method specialisation
3 to print floats with the exponent markers removed.
4 * sql/test-oodml.lisp: add tests for updating records with floats.
6 22 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
7 * db-oracle/oracle-sql.lisp: enable :OWNER :ALL in DATABASE-LIST-* for
8 CommonSQL compatibility.
9 * tests/test-init.lisp: skip test :FDDL/TABLE/6 on Oracle since
10 this column constraint syntax is not supported.
11 * tests/test-fddl.lisp: change column indexed in test :FDDL/INDEXES/2
12 from EMPLID to LAST_NAME since Oracle complains that EMPLID is already
15 17 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
16 * doc/ref-fdml.xml: document CACHE-TABLE-QUERIES.
17 * tests/test-fdml.xml: add test for CACHE-TABLE-QUERIES.
18 * doc/ref-ooddl.xml: minor changes to syntax and examples entries
20 * doc/ref-oodml.xml: add examples for OODML.
21 * sql/oodml.lisp: ensure SELECT passes on its REFRESH argument
23 * sql/metaclasses.lisp: update docstrings.
24 * tests/test-init.lisp: change :db-constraints for emplid to
25 (:not-null :unique) as a temporary test for multiple column constraints
27 * tests/test-oodml.lisp: add tests for *DB-AUTO-SYNC* and
28 return type of (SETF SLOT-VALUE-USING-CLASS).
29 * TODO, doc/TODO: remove items done.
32 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
33 * sql/oodml.lisp: on Lispworks, use weak valued hash tables for
35 * sql/expressions.lisp: Fix SQL generation for the symbol NIL.
37 16 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
38 * sql/expressions.lisp: reactivate caching of generated SQL strings.
39 Move methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY
40 here from sql/fdml.lisp. Rationalise behaviour of SQL-OUTPUT,
41 OUTPUT-SQL and DATABASE-OUTPUT-SQL.
42 * sql/fdml.lisp: remove disabled method ADD-STORAGE-CLASS. Move
43 methods for DATABASE-OUTPUT-SQL, OUTPUT-SQL and SQL-HASH-KEY to
45 * sql/ooddl.lisp: replace call to DATABASE-OUTPUT-SQL in
46 DATABASE-PKEY-CONSTRAINT with call to SQL-OUTPUT.
47 * sql/generics.lisp: add docstrings.
49 15 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
51 * db-oracle/oracle-sql.lisp: Remove OpenMCL specific
52 code in favor of fixing UFFI with James Bielman's patch
54 14 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
56 * db-oracle/oracle-sql.lisp: Apply patch for OpenMCL/OSX
59 14 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
60 * README, INSTALL: update URLs. Minor updates to descriptions.
61 * tests/README: remove stuff about editing contexts.
63 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
64 * db-oracle/oracle-objects.lisp: Change *default-varchar-length* to
65 *default-string-length*
67 12 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
68 * tests/test-syntax.lisp, tests/test-fdml.lisp: add tests for escaping
70 * tests/test-fddl.lisp: add tests for column and table constraints
71 in CREATE-TABLE. Add test for OWNER keyword parameter to
72 LIST-TABLES (assuming same underlying machinery in other FDDL
74 * tests/test-init.lisp: restrict above test to postgresql and oracle.
76 12 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
77 * db-sqlite/sqlite-sql.lisp: Fix condition as reported by Aurelio
80 11 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
81 * sql/oodml.lisp, sql/package.lisp, doc/ref-ooddl.lisp, db-mysql/mysql-objects.lisp: Add tinyint type
83 10 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
85 * doc/*.xml: documentation additionals and fixes so
86 that docbook passes xmllint.
88 9 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
90 * sql/fdml.lisp: Apply patch from Kim Minh Kaplan
91 to change escaping of single quotes. Mild optimizations
92 for escaped string output.
93 * doc/ref-ooddl.lisp: documentation additions
94 * doc/ref-oodml.lisp: Add purpose to functions
95 * TODO: Add need to test single quote escaping
97 7 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
98 * doc/ref-ooddl.xml, doc-ref-oodml.xml: documentation additions
99 * sql/ooddl.lisp: Added SMALLINT type
100 * sql/generic-postgresql.lisp: Added INT2 as SMALLINT type
101 * db-mysql/mysql-objects.lisp: Added SMALLINT type
102 * sql/package.lisp: Export SMALLINT
103 * sql/expressions.lisp: Add MYSQL's UNSIGNED and ZEROFILL as
106 6 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
107 * sql/expressions.lisp: add AUTO-INCREMENT and UNIQUE to the
108 recognised column constraints for CREATE-TABLE and the :DB-CONSTRAINTS
109 View Class slot option.
110 * sql/ooddl.lisp: fix bug preventing the :DB-CONSTRAINTS View Class
111 slot option accepting a list of constraints [reported by Travis Cross].
112 * doc/ref-fddl.xml: add some examples of specifying column and
113 table constraints to the documentation for CREATE-TABLE.
114 * TODO: add note about adding tests for table/column constraints. Add
115 optimisation note about using cached attribute types in insert/update
118 3 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
119 * doc/appendix.xml: add notes about idiosyncrasies/unsupported
120 features and so on the documentation for each backend.
121 * doc/TODO: remove items done.
122 * doc/ref-transaction.xml: add note in introduction about
123 autocommit mode as a difference from CommonSQL.
124 * doc/ref-syntax.xml: add notes about SQL syntax state functions
125 being macros in CLSQL. Add note about SQL operators which are
128 2 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
129 * Version 2.11.12 released
130 * doc/ref-recording.xml: document SQL I/O recording.
131 * doc/ref-prepared.xml: new file for documenting prepared statements.
132 * doc/clsql.xml: comment out include for large object and CLSQL-SYS
134 * doc/ref-conditions.xml: complete documentation of condition system.
135 * doc/global-index.xml: add symbols from condition system and remove
136 those from LOB and prepared statement APIs.
137 * doc/ref-fdml.xml: complete documentation of FDML.
138 * doc/glossary.xml: add View Class.
139 * doc/TODO: remove items done.
140 * sql/conditions.lisp: make SQL-CONDITION a parent of SQL-ERROR.
141 * sql/package.lisp: remove FOR-EACH-ROW from exports list. Export
142 additional slot accessors for condition classes.
144 1 Jul 2004 Kevin Rosenberg <kevin@rosenberg.net>
145 * doc/ref-ooddl.lisp: Add documentation
146 * doc/ooddl.lisp: Move *DEFAULT-VARCHAR-LENGTH* from oodml.lisp
147 and rename to *DEFAULT-STRING-LENGTH*. Add docstring.
148 * doc/oodml.lisp: Rename references to new name of
149 *DEFAULT-STRING-LENGTH*
151 1 Jul 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
152 * doc/ref-transaction.xml: document transaction handling.
153 * sql/transaction.lisp: ensure that COMMIT, ROLLBACK and
154 START-TRANSACTION return NIL as per the CommonSQL spec. Modify
155 ADD-TRANSACTION-{ROLLBACK|COMMIT}-HOOK such that a database is
156 passed as a keyword argument defaulting to *DEFAULT-DATABASE*.
159 30 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
160 * doc/ref-fdml.xml: document the FDML.
161 * doc/ref-fddl.xml: move documentation for TRUNCATE-DATABASE here.
162 * sql/ooddl.lisp: moved *default-varchar-length* to here from
163 oodml.lisp and renamed to *default-string-length*
165 23 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
166 * sql/oodml.lisp: Add keyword :transactions to def-view-from-class
167 to allow specifying transactionless table creation
168 * doc/ref-oodml.lisp: Add new keyword to signature of
171 18 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
173 * sql/expressions.lisp: when removing duplicate table identifiers
174 in the FROM clause of a query, check both table name and alias
176 * sql/fdml.lisp: remove DESCRIBE-TABLE.
177 * sql/db-interface.lisp: remove generics DESCRIBE-TABLE and
178 DATABASE-DESCRIBE-TABLE.
179 * sql/package.lisp: remove DESCRIBE-TABLE, DATABASE-DESCRIBE-TABLE
180 and LIST-TABLE-INDEXES.
181 * sql/generic-postgresql.lisp: add reader conditional #+nil for
182 DATABASE-DESCRIBE-TABLE and comment about its uses for
183 re-implementing LIST-ATTRIBUTE-TYPES with a single SQL query
184 returning type info for all attributes.
185 Fix DATABASE-SEQUENCE-LAST.
186 * sql/fddl.lisp: remove LIST-TABLE-INDEXES and redefine
187 LIST-INDEXES with additional keyword parameter :ON.
188 * tests/test-fddl.lisp: replace LIST-TABLE-INDEXES in :fddl/index/3
189 with LIST-INDEXES (with :ON parameter).
190 * doc/global-index.xml: remove DESCRIBE-TABLE and LIST-TABLE-INDEXES.
191 * doc/ref-connect.xml: minor tidying.
192 * doc/ref-fddl.xml: document the FDDL.
193 * doc/TODO: removed items done. Moved note about transaction handling
195 * TODO: move note about transaction handling to doc/TODO. Added
196 optimization note about LIST-ATTRIBUTE-TYPES and LIST-INDEXES.
198 13 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
200 * sql/syntax.lisp: updated docstrings.
201 * sql/package.lisp: exported DATABASE-NAME-FROM-SPEC from CLSQL
203 * sql/database.lisp: add docstrings for CREATE-DATABASE,
204 DESTROY-DATABASE, TRUNCATE-DATABASE and LIST-DATABASES. Replace
205 CLSQL-GENERIC-ERROR signalled in RECONNECT with SQL-CONNECTION-ERROR.
206 * doc/ref-syntax.xml, doc/global-index.xml: minor tidying.
207 * doc/ref-connect.xml: document connection/initialisation.
208 * doc/ref-fdml.xml: move TRUNCATE-DATABASE reference entry here.
209 * doc/TODO: remove items done.
210 * Makefile: add db-oracle to to SUBDIRS.
212 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
213 * sql/oodml.lisp: Add new serialization functions:
214 WRITE-INSTANCE-TO-STREAM and READ-INSTANCE-FROM-STREAM
215 * sql/expressions.lisp: Avoid duplicate FROM names when selecting
216 from a table that has more than one primary index.
217 * sql/conditions.lisp: Fix printing of closed-database error
219 13 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
221 * sql/conditions.lisp: Set initial slot value for message in SQL-WARNING
222 * sql/transactions.lisp: Correctly set slots of SQL-WARNING
224 12 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
225 * sql/package.lisp: export DATABASE-TYPE from CLSQL and subclasses
226 of SQL-EXPRESSION from CLSQL-SYS.
227 * sql/syntax.lisp: make error signalled in SQL-OPERATION an
228 SQL-USER-ERROR. Make SQL-OPERATOR return just one value.
229 * doc/Makefile: added Mandrake linux.
230 * doc/catalog-redhat.xml, doc/catalog-mandrake.xml: new files.
231 * doc/appendix.xml: fixed little typo (adsf).
232 * doc/glossary.xml: removed closed-database and note about
233 sql-expression, added some entries.
234 * doc/ref-syntax.xml: documented the symbolic SQL syntax.
236 10 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
238 * db-mysql/mysql-loader.lisp: Remove load of unnecessary zlib library
239 * multiple: Add generalized-boolean type as requested by
241 * TODO: Added need for test of generalized-boolean
243 9 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
244 * Version 2.11.7 released
245 * uffi/clsql-uffi-loader.lisp: Apply patch from Edi Weitz
246 for loading with clc-register-user-package. Remove personal
247 directory from path lisp.
248 * db-mysql/mysql-loader.lisp: Similar changes
250 8 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
251 * Version 2.11.6 released
252 * sql/oodml.lisp: Commit patch from Edi Weitz
253 to fix symbol writing/reading
254 * TODO: Add need for symbol slot test
256 7 Jun 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
257 * sql/package.lisp: remove duplicate export of
258 *CACHE-TABLE-QUERIES-DEFAULT*.
259 * doc/ref-*.xml, doc/global-index.xml: new files documenting
260 the CommonSQL compatible api.
261 * tests/test-fdml.lisp: modified the test :fdml/transaction/3 to
262 reflect changes in return values of WITH-TRANSACTION.
264 04 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
265 * tests/README: Fix filename [reported by Bill Clementson]
266 * sql/transactions.lisp: Apply return value patch from
267 Edi Weitz for WITH-TRANSACTION
268 * tests/README: Remove ptester package requirement (as noted
271 03 Jun 2004 Kevin Rosenberg <kevin@rosenberg.net>
272 * Version 2.11.5 released
273 * examples/clsql-tutorial.lisp: Remove obsolete :nulls-ok attribute,
274 Select connection-spec based on connection type. Bugs reported by
276 * uffi/uffi.dll, uffi/uffi.lib: Recompile with Visual Studio 2003
277 * db-mysql/mysql-loader.lisp: Update check for zlibwapi library
278 name on Windows, add \bin\ directory to search path
280 31 May 2004 Marcus Pearce <m.t.pearce@city.ac.uk>
281 * db-odbc/odbc-sql.lisp: DB-TYPE replaced with DATABASE-TYPE in
283 * sql/operations.lisp: substr now generates SUBSTR for use on
284 Oracle; added a new operator SUBSTRING for use elsewhere. minus
285 now generates MINUS for use on Oracle. Nvl signals an error if
286 not called with exactly 2 arguments. Add concat function for use
287 instead of the || operator on MySQL and Oracle.
288 * sql/syntax.lisp: changed internal symbol for the || operator to
290 * sql/expressions.lisp: removed redundant and unused functions
291 GENERATE-SQL (cf. SQL-OUTPUT) and DATABASE-CONSTRAINT-DESCRIPTION
292 (cf. MAKE-CONSTRAINTS-DESCRIPTION).
293 * sql/generics.lisp: removed generic function for
294 DATABASE-CONSTRAINT-DESCRIPTION (see above).
295 * tests/test-syntax.lisp: modified/added tests according to changes
296 in sql/operations.lisp.
297 * tests/test-fdml.lisp: changed SUBSTR to SUBSTRING in test
299 * sql/package.lisp: added the operators SQL-SUBSTRING, SQL-CONCAT-OP
300 and SQL-USERENV to the shared exports list. Removed
301 ROLLBACK-TRANSACTION, COMMIT-TRANSACTION, DATABASE-START-TRANSACTION,
302 DATABASE-ABORT-TRANSACTION, DATABASE-COMMIT-TRANSACTION,
303 TRANSACTION-LEVEL, TRANSACTION, RECORD-SQL-COMMAND and
304 RECORD-SQL-RESULT from shared exports list.
306 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
307 * db-postgresql/postgresl-sql.lisp: Avoid computing
308 result-types lisp when nil result-types. Return only
309 one value when field-types nil.
310 * db-mysql/mysql-sql.lisp: Simple queries now
311 working with prepared statements.
313 30 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
314 * Version 2.11.4: MySQL 4.1 now passes all tests
315 * sql/package.lisp: Add API for prepared statments.
316 * sql/fdml.lisp: Change implicit flatp processing
317 for string map-query for greater CommonSQL conformance.
318 Add high-high API for prepared statements.
319 * tests/test-basic.lisp: Add test for map-query and
321 * sql/transactions.lisp: Change name/semantics of
322 autocommit to set-autocommit.
323 * sql/generic-postgresql.lisp: Add support for
325 * tests/test-internal.lisp: New file
326 * sql/odbc-api.lisp: Update to using ODBC V3 protocol
327 * clsql-mysql.asd, clsql-uffi.asd: Remove check and Common Lisp
328 Controller invocation.
329 * db-mysql/mysql-api.lisp: Add support for MySQL 4.1 field structure
330 * sql/expressions.lisp: Avoid emitting double parenthesis when a
331 function contains a subselect.
333 27 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
335 * sql/ooddl.lisp: Commit patch from Edi Weitz fixing return
336 type (setf slot-value-using-class)
337 * TODO: add not that need a test case for the above fix
338 * db-sqlite: Remove clisp support since clisp can not run CLSQL
340 * db-oracle/oracle-sql.lisp: By default, use OCIEnvCreate as
341 introduced in Oracle8. Leave older code selectable by a reader macro
342 for Oracle7 and prior. Avoid use of OCIServerAttach since CLSQL
343 uses OCILogon and does not the more complex session management.
345 26 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
346 * sql/oodml.lisp: Commit universal-time typo patch from Edi Weitz
347 * test/test-init.lisp: Add universal-time slot to person.
348 * test/test-fddl.lisp: Add tests of universal-time slot
349 * test/test-ooddl.lisp: Test universal-time slot in an object
350 * TODO: Remove need for universal-time test
351 * debian/rules, debian/control: Add cl-sql-oracle binary package
352 * doc/appendix.xml: Add Oracle backend information
353 * db-oracle/oracle-objects.lisp: Add database-get-type-specifier for
354 universal-time. Convert BIGINT CLSQL type to CHAR SQL type
355 * db-mysql/mysql-sql.lisp: Fix condition name to sql-connection-error
356 * doc/ref-clsql.xml: Renamed from ref_clsql.xml. Change the documentation
357 for map-query to reflect changed in arguments to be CommonSQL compatible.
358 Updated old clsql conditions to new CommonSQL compatible conditions.
360 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
361 * sql/oodml.lisp: (string n) now produces a CHAR field. Add new VARCHAR
362 type. Added *default-varchar-length* rather than previous hard-coded
363 varchar length. Remove 'simple-string and 'simple-base-string since they
364 are subtypes of 'string.
365 * db-oracle/oracle-sql.lisp: Use *default-varchar-length* rather than
366 local hard-coded value.
367 * sql/metaclasses.lisp: Convert specified type VARCHAR and (VARCHAR n) to Lisp
368 type string. Convert specified-type (CHAR n) to string. Convert specified-type
369 CHAR to lisp type character.
370 * sql/generic-postgresql.lisp: (string n) => (CHAR n)
371 * sql/operations.lisp: Add userenv
372 * doc/TODO: Add AUTOCOMMIT. Remove need for large table and bigint
374 * sql/oracle-sql.lisp: Add 64-bit bigint direct conversion
375 * uffi/clsql-uffi.lisp: Handle signed 64-bit integers
376 * test/test-init.lisp: Add large table with bigint slot
378 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
379 * Version 2.11.1 released: Much simpler Oracle client library loading.
380 Now uses ORACLE_HOME environmental variable as well as tests default
381 path for Oracle Instant Client.
383 25 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
384 * Version 2.11.0 released: Full Oracle support. All tests pass
385 * db-oracle/oracle-sql.lisp: Add declaration so that SBCL runs efficiently.
386 * tests/test-init.lisp: capitalize odbc backend name in banner
387 * CONTRIBUTORS: Add note about Marcus' excellent work
388 * sql/oodml.lisp: Removed old stub function
389 * clsql.asd: Use module names in current package rather than keyword package
390 * db-oracle/oracle-sql.lisp: Don't trim trailing spaces. Prevent interrupts
391 in setting sequence position. Make autocommits more efficient.
392 * tests/test-init.lisp: Skip 2 tests on Oracle which have unsupported syntax
393 * sql/oodml.lisp: Get rid of undocumented raw-string type. CommonSQL
394 strings are raw (non-trimmed trailing whitespace). Add database-get-type-specifier
395 and read-sql-value for NUMBER and CHAR.
396 * sql/base-classes.lisp: Add autocommit slot
397 * sql/transaction.lisp: Added autocommit processing, mild cleaning.
398 * doc/intro.xml: Add Oracle
400 24 May 2004: Marcus Pearce (m.t.pearce@city.ac.uk)
401 * db-postgresql-socket/postgresql-socket-sql.lisp: replace
402 CLSQL-SIMPLE-WARNING with SQL-WARNING.
403 * db-sqlite/sqlite-sql.lisp: replace CLSQL-SIMPLE-WARNING with
405 * db-aodbc/aodbc-sql.lisp: replace CLSQL-ERROR with SQL-ERROR.
406 * clsql.asd: reworked module structure in package definition and
407 file names to better reflect component functionality.
408 * sql/package.lisp: added SQL-FATAL-ERROR and SQL-TIMEOUT-ERROR to
409 exports list. Removed duplicate and obsolete exports. Exported
410 remaining SQL operations: SQL-SOME, SQL-<>, SQL-BETWEEN, SQL-DISTINCT,
411 SQL-NVL and SQL-FUNCTION. Organised exports by functionality/file and
412 according to whether they are specified by CommonSQL or CLSQL
414 * sql/transaction.lisp: replace CLSQL-SIMPLE-WARNING with
416 * sql/generics.lisp: moved generics for QUERY and EXECUTE-COMMAND
417 here from basic-sql.lisp.
418 * sql/expressions.lisp: NEW FILE: renamed from classes.lisp (deleted).
419 * sql/fddl.lisp: NEW FILE: renamed from table.lisp (deleted).
420 * sql/fdml.lisp: NEW FILE: merger of basic-sql.lisp and sql.lisp
422 * sql/ooddl.lisp: NEW FILE: ooddl from objects.lisp (deleted).
423 * sql/oodml.lisp: NEW FILE: oodml from objects.lisp (deleted).
425 23 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
426 * Version 2.10.22 released
427 * sql/kmr-mop.lisp, sql/objects.lisp: Since SBCL is the only implementation that
428 has reversed class slots, change the default for ordered-class-slots so that slots
429 are now in the same order an in the def-view-class.
430 * sql/sql.lisp: Honor case of string table identifier to INSERT-RECORDS
431 * test/test-fddl.lisp: Add two tests for mixed case names
432 * db-oracle/oracle-sql.lisp: Add missing database qualifier. Return NUMBER (double)
433 for computed fields, this will require some adjustment to the test suite which
434 in many cases expects integers.
435 * test/test-fdml.lisp: Accomodate that Oracle returns doubles for computed columns
437 22 May 2004 Kevin Rosenberg <kevin@rosenberg.net>
438 * Version 2.10.21 released
439 * sql/sequences.lisp: Move generic sequence functions here from db-sqlite,
440 db-odbc, and db-aodbc.
441 * sql/*.lisp: Add db-type parameter to generic functions READ-SQL-VALUE,
442 DATABASE-GET-TYPE-SPECIFIER, and OUTPUT-SQL-VALUE-AS-TYPE. Update methods to use these.
443 * sql/generic-postgresql.lisp, sql/generic-odbc.lisp: New files
444 * db-odbc/odbc-sql.lisp, db-aodbc/aodbc-sql.lisp: Move common code to
445 sql/generic-odbc.lisp
446 * db-postgresql/postgresql-sql.lisp, db-postgresql-socket/postgresql-socket-sql.lisp:
447 Move common code to sql/generic-postgresql.lisp
448 * sql/classes.lisp: honor case of string tables when outputting queries
449 * sql/objects.lisp: Add database type to default database-get-type-specifier method
450 * sql/sql.lisp: Add database type to default database-abort-transaction method
451 * db-mysql/mysql-objects.lisp: New file
452 * sql/objects.lisp: Move MySQL specific code to mysql-objects.lisp
453 * sql/utils.lisp: Add GETENV function which will be used to get ORACLE_HOME
455 * test/test-fdml.lisp: String table names are now case sensitive, so convert to
456 default db case for FDML/SELECT/25
458 22 May 2004 Kevin Rosenberg
459 * Version 2.10.20 released: Oracle backend now fails 6 out of 200 tests
460 * TODO: Added 2 variances from CommonSQL. Add tests for owner phrases
461 and string identifiers with non-default case
462 * sql/table.lisp: Don't convert string table name to a symbol.
463 * sql/classes.lisp: Honor case of string identifiers
464 * sql/sql.lisp: Ensure recyclebin is purged for Oracle in
466 * db-oracle/oracle-sql.lisp: Add sequence functions, fix use of
467 of owner phrases. Obtain server and client versions.
468 * db-oracle/oracle-objects.lisp: Fix type specifiers
469 * tests/test-fddl.lisp: Allow :varchar2 and :number as data types
470 * tests/test-init.lisp: Properly get username from Oracle connection-spec
472 22 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
473 * sql/generics.lisp: reworked docstrings. Remove generics for
474 ADD-TO-RELATION and REMOVE-FROM-RELATION.
475 * sql/objects.lisp: reworked docstrings. Changed UPDATE-OBJECT-JOINS
476 to UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
477 * sql/package.lisp: Changed UPDATE-OBJECT-JOINS to UPDATE-OBJECTS-JOINS
478 for CommonSQL compatibility. Remove ADD-TO-RELATION and
479 REMOVE-FROM-RELATION.
480 * tests/test-oodml.lisp: Changed UPDATE-OBJECT-JOINS to
481 UPDATE-OBJECTS-JOINS for CommonSQL compatibility.
482 * doc/TODO: added notes about extra slot options to DEF-VIEW-CLASS.
483 * sql/conditions.lisp: add documentation for conditions. Add
484 SQL-TIMEOUT-ERROR and SQL-FATAL-ERROR for CommonSQL compatibility.
486 21 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
487 * sql/basic-sql.lisp: reworked docstrings.
488 * sql/transactions.lisp: reworked docstrings.
489 * sql/sql.lisp: reworked docstrings.
490 * sql/initialize.lisp: reworked docstrings. INITIALIZE-DATABASE-TYPE
491 sets *DEFAULT-DATABASE-TYPE* for CommonSQL compatibility.
492 * sql/database.lisp: reworked docstrings.
493 * doc/TODO: added notes about START-TRANSACTION and IN-TRANSACTION-P
494 and FDML extensions and database extensions.
496 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
497 * db-oracle/oracle-sql: Use clsql-specific error conditions. Use owner keyword.
498 * db-oracle/make9.sh: add makefile for building with Oracle 9 client
500 * sql/table.lisp: Add logic for dealing with Oracle 10g vs. previous
501 Oracle versions with the PURGE option required for drop table. This needs
502 to be converted to a generic function and moved to db-oracle/oracle-sql.lisp
504 20 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
505 * sql/classes.lisp: remove unused PARAMS slot in SQL-IDENT-ATTRIBUTE.
506 * sql/syntax.lisp: remove unused PARAMS keyword arg to SQL-EXPRESSION.
507 * sql/table.lisp: reworked docstrings.
508 * sql/objects.lisp: moved *default-update-objects-max-len* here from
510 * doc/TODO: notes about :if-does-not-exist arg to DROP-TABLE,
511 DROP-VIEW and DROP-INDEX and the use of the :transactions and
512 :constraints keyword args to CREATE-TABLE.
513 * sql/classes.lisp: the DESCRIPTION argument to CREATE-TABLE is now
514 CommonSQL compatible with respect to column constraints.
516 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
517 * sql/oracle-sql.lisp: Now compiles and runs on SBCL.
518 Requires UFFI 1.5.0 or higher
520 20 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
522 * sql/conditions.lisp: Fix cerror
524 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
525 * Version 2.10.18 released: New condition hierarchy to be compatible
526 with CommonSQL -- not backward compatible with previous CLSQL.
527 * sql/db-interface.lisp: Add more default methods
528 * sql/objects.lisp: Add explicit table name to order-by parameters
529 in find-all when only one table to avoid selecting a duplicate row.
530 Fix error in FIND-ALL when using :order-by such as (([foo] :asc))
531 as previous logic was adding two fields (foo asc) to SELECT query.
532 Make :result-types :auto be the default for object selections.
533 Properly handle caching key when using multiple order-by with asc/desc
535 * db-oracle/*.lisp: Much improvements, now passes 90% of test suite
537 19 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
538 * sql/recording.lisp: reworked docstrings.
539 * sql/syntax.lisp: reworked docstrings.
540 * doc/TODO: added notes about extensions to SQL-RECORDING-P and the
541 SQL syntax state functions being macros.
543 19 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
544 * sql/package.lisp: Export initialize-database-type and
545 *initialize-database-types* from CLSQL package.
546 * sql/conditions.lisp: Add new CommonSQL compatible conditions,
547 remove old CLSQL conditions.
548 * sql/loop-extensions.lisp: Make errors of type sql-user-error
549 * */*.lisp: Convert to from old to new conditions
551 18 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
552 * sql/table.lisp: Add PURGE to drop command for oracle 10g backend.
553 To handle this difference, will need to add a new database-drop-table
555 * db-oracle/oracle-sql.lisp: Move server-version and
556 major-version-number to database object to allow multiple connections
557 to Oracle servers of different versions.
559 18 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
560 * TODO: moved notes about backends to doc/TODO.
561 * doc/TODO: added notes about backends and select extensions.
562 * sql/base-classes.lisp: remove obsolete schema slot in database
565 16 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
566 * db-oracle/oracle-api: Add OCIServerVersion
567 * db-oracle/oracle-sql: Query and store server version on connect
568 * sql/db-interface.lisp: Add new db-type-has-bigint? generic
569 function to handle OCI's lack of bigint support
570 * test/test-basic.lisp: Separate bigint testing
571 * test/test-utils.lisp: Add oracle to specs and list of backends
573 * test/test-fdml.lisp: Added FDML/SELECT/34 to test
574 run-time instantiation of variables in reader macros.
575 * TODO: Remove item already complete. Add note about
578 16 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
579 * sql/syntax.lisp: added condition to the reader macro to treat [*]
580 as a column identifier (rather than an operation) for CommonSQL
582 * tests/test-fdml.lisp: add tests for ORDER-BY and SET-OPERATION
583 keword args to SELECT, [*] as column identifier, new MAP-QUERY
584 behaviour and the ANY and ALL operators in subqueries.
585 * tests/test-init.lisp: add set-operation and subquery tests to
586 appropriate skip lists.
587 * sql/objects.lisp: remove redundant and non CommonSQL compatible
588 ORDER-BY-DESCENDING keyword argument for SELECT.
589 * sql/classes.lisp: remove redundant and non CommonSQL compatible
590 ORDER-BY-DESCENDING keyword argument for SELECT.
591 * tests/test-oodml.lisp: add test for ORDER-BY keyword to SELECT
594 15 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
595 * sql/db-interface.lisp: Add new db-type-has-union?
596 since Mysql 3.23 does not support unions.
597 * sql/test-init.lisp: Don't try union tests on database
598 backends which do not support it.
599 * db-oracle/*.lisp: initial port to UFFI
600 * sql/objects.lisp: implement UPDATE-OBJECT-JOINS,
601 implement REFRESH for SELECT.
602 * tests/test-oodml.lisp: Add tests for deferred retrieval,
603 caching, refresh, and update-object-joins
604 * tests/test-init.lisp: Add deferred-employee-address class
606 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
607 * sql/operations.lisp: make MINUS operator a synonym for EXCEPT. Add
608 COALESCE operator and make NVL a synonym for this. Make ANY, SOME,
609 ALL and EXISTS generate function expressions so they output the
611 * sql/classes.lisp: SELECT now generates appropriate SQL when
612 passed the SET-OPERATION and ALL keyword arguments.
613 * sql/classes.lisp: the ORDER-BY keyword argument to SELECT now
614 accepts ordering constraints as pairs of the form (column direction)
615 where direction may be :ASC or :DESC.
616 * tests/test-syntax.lisp: added tests for MINUS and COALESCE/NVL.
617 Correct tests for ANY, SOME, ALL and EXISTS.
618 * tests/test-fdml.lisp: added test for COALESCE.
619 * sql/sql.lisp: MAP-QUERY now applies FUNCTION to QUERY-EXPRESSION
620 using funcall unless QUERY-EXPRESSION returns one column and its
621 FLATP slot is not nil in which case apply is used.
622 * tests/test-basic.lisp: modified calls to MAP-QUERY to reflect the
624 * TODO: remove items done.
625 * db-postgresql/postgresql-sql.lisp: no need to reverse results in
626 DATABASE-LIST-ATTRIBUTES.
627 * db-postgresql-socket/postgresql-socket-sql.lisp: no need to reverse
628 results in DATABASE-LIST-ATTRIBUTES.
630 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
631 * sql/classes.lisp: SELECT now accepts table identifiers as strings
632 for CommonSQL compliance. Add support for qualified sql identifiers
633 with aliased table names.
634 * tests/test-fdml.lisp: added tests for table identifiers as strings
635 in SELECT and for aliased definitions.
636 * tests/test-syntax.lisp: added tests for alias definitions.
638 15 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
639 * sql/sql.lisp: PRINT-QUERY now calls QUERY with result-types and
640 field-names set to nil.
641 * sql/sql.lisp: PRINT-QUERY now computes column sizes correctly
642 with null attribute values.
643 * sql/operations.lisp: modify SQL concatenation operator to accept
645 * sql/syntax.lisp: modify sql reader macro function to accept
646 unescaped sql concatenation operator.
647 * tests/test-fdml.lisp: unescape sql concatenation operator.
648 * tests/test-syntax.lisp: unescape sql concatenation operator.
649 * TODO: remove items done. Add notes about SQLITE/MYSQL backends.
650 Note to add test for universal-time. Note about difference from
651 CommonSQL in transaction handling.
653 13 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
654 * tests/test-init.lisp: Add deferred-employee-address
656 * tests/test-oodml.lisp: Add deferred retrieval testgs
658 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
660 * LATEST-TEST-RESULTS: Run on all platforms, add AMD64
661 * sql/sql.lisp: Add FOR-EACH-ROW macro from clsql-classic/sql.lisp
662 * db-sqlite/sqlite-uffi-api.lisp: Fix row-pointer type
663 * *: Fix minor style warnings
664 * clsql-classic: Remove system and subdirectory
665 * clsql-base: Remove system and subdirectory and
666 fold into clsql system
667 * doc/intro.xml: Remove reference to old clsql-base. Add x86_64
668 as supported platform.
670 12 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
671 * Version 2.10.16: CLSQL now fully supports AllegroCL AMD64
672 * db-odbc/odbc-api.lisp: work around return-type bug [spr28889] in
673 Allegro 7.0beta AMD64
674 * db-odbc/*.lisp: Add a layer of indirection to foreign-type
675 of ODBC longs since this type can vary on 64-bit platforms depending
676 upon the compilation options of unixODBC.
677 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
678 structures found by testing with AllegroCL 7.0b AMD64.
679 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
680 * sql/objects.lisp: Simple implementation of UPDATE-OBJECT-JOINS.
681 Initial caching support for SELECT
682 * tests/test-oodml.lisp: Avoid using cache when testing select.
683 * sql/kmr-mop.lisp: Explicitly check slot order and
684 store as a cl:*feature*
685 * sql/recording.lisp: Remove additional types to
686 increase CommonSQL conformance.
687 * tests/test-init.lisp: Change a :column attribute
688 to test symbols as value
689 * sql/relations.lisp: Remove functions since they don't support
690 many to many relationships.
691 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
692 of add-to-relations function and replace with explicit field settings.
693 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
695 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
697 * LATEST-TEST-RESULTS: results with current version
698 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
699 since cmu19 has opposite order of class slots.
700 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
701 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
703 * tests/test-init.lisp: Check test-database-underlying-type for
706 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
707 * sql/operations.lisp: complete remaining operations for the sql
708 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
709 UNION, INTERSECT, BETWEEN.
710 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
711 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
712 * tests/test-syntax.lisp: add tests for new operations.
713 * tests/test-fdml.lisp: add tests for queries based on new operations.
714 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
715 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
716 * TODO: removed entries done.
718 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
719 * tests/benchmarks.lisp: Add immediate vs. deferred
722 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
723 * Version 2.10.13: Now works on openmcl 0.14.2
724 * sql/objects.lisp: Add :retrieval :immediate for
726 * tests/test-init.lisp: Add non-index fields for testing
727 join class employee-addresss
728 * test/test-oodml.lisp: Add tests for retrieval immediate
729 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
730 values which are now listifed by openmcl 14.2.
731 * sql/objects.lisp: more framework for supporing immediate retrieval
733 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
734 * docs/intro.xml: Upload location of a README file
735 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
736 changing the type-specifier. Use a lisp type of (OR NULL FOO)
737 for a specified-type of FOO unless :db-constraints :not-null.
738 No need to specialize finalize-inheritance for openmcl.
739 * tests/test-*.lisp: Rename fields so that joins occur on
740 fields with different names. This ensures that join code is
741 selecting the proper name.
742 * test/test-init.lisp: Add :base-table for employee-address
743 view class for testing.
744 * sql/objects.lisp: Use view-table rather than name of table
745 in a number of places to fix errors noted with using :base-table.
747 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
748 * sql/objects.lisp: replace *update-records-on-make-instance* with
749 *db-auto-sync* which also controls both automatic creation of
750 new records on creation of new instance and updating of record
751 fields on setting of instance slots (as suggested by Edi Weitz).
752 * tests/test-init.lisp: replace *update-records-on-make-instance*
754 * sql/package.lisp: replace *update-records-on-make-instance*
756 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
757 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
758 and *default-database* in FIND-ALL.
759 * sql/package.lisp: import time functions from CLSQL-BASE.
760 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
761 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
762 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
763 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
766 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
767 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
768 now return a sql-object-query type rather than directly performing a query.
769 This improves CommonSQL conformance.
770 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
771 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
772 depend on sql-object-query-type.
773 * sql/loop-extensions.lisp: Move from base package
774 * classic/package.lisp: remove references to map-query and do-query
776 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
777 * TODO: New section on optimizations, especially optimizing JOINs.
778 * sql/objects.lisp: Have :target-slot return of list of lists rather
779 than a list of cons pairs to be conformant with CommonSQL.
780 Make :target-slot much more efficient by using a SQL inner join
781 statement and just requiring one SQL query. Add :retrieval :deferrred
782 to target-slot joins. Add placeholder for update-objects-join.
783 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
784 and process them for query output-sql.
786 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
788 * base/basic-sql.lisp: Avoid multiple evaluation
789 of query-expression in DO-QUERY
790 * sql/objects.lisp: Make SELECT a normal function.
791 SELECT now accepts type-modified database identifiers, such as
792 [foo :string] which means that the values in column foo are returned
793 as Lisp strings. Add new *update-records-on-make-instance* special
794 variable controlling automatic creation of new instances. Add missing
795 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
796 * sql/packages.lisp: Export *update-records-on-make-instance*
797 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
799 * test/test-fdml.lisp: Add tests for type-modified
800 database identifiers.
801 * test/test-init.lisp: Stop using add-relation since implementing
802 many-to-many joins. Use *update-records-on-make-instance*
803 to automatically store records on instance creation. Add many-to-many
804 employee-address view-class.
806 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
808 * base/loop.lisp: Add object iteration. Use :result-type
809 :auto for result-set. Remove
810 duplicate (and non-correct) code for non-list variables by
811 simply making an atom variable into a list.
812 * sql/package.lisp: Remove unnecessary clsql-sys package
813 and replace it with clsql.
814 * sql/metaclasses.lisp: Properly store specified-type from
815 direct-slot-definition and then store translated type in
816 effective-slot-definition
817 * sql/classes.lisp: Don't output type in sql-output
818 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
819 [foo :integer] as fields in SELECT.
820 * sql/query.lisp: Set default for :result-types to :auto in
822 * sql/objects.lisp: Use specified-type when invocating
823 database-get-type-specifier. def-view-class macro now returns
825 * base/basic-sql.lisp: Make :AUTO the default value for
826 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
827 * sql/objects.lisp: Add bigint type
828 * test/tests-basic.lisp: Add tests for :result-types for
829 MAP-QUERY and DO-QUERY
830 * test/test-fdml.lisp: Add test for result-types in LOOP
831 and also using single symbol rather than a list for variables.
832 Add test that default :result-types is auto for FDML QUERY.
833 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
834 of SQL-IDENT-ATTRIBUTE.
835 * test/test-oodml.lisp: Enable OO loop iteration test,
836 modify it so it doesn't depend on boolean where.
838 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
840 * sql/objects.lisp: added derived type specifier for universal time.
841 * sql/package.lisp: added #:universal-time to clsql-sys exports.
842 * tests/test-oodml.lisp: added test for translation of boolean slots
843 in SELECT with object queries.
845 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
846 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
847 for odbc/postgresql backend.
848 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
849 it can handle NIL values from the ODBC driver
850 * tests/benchmarks.lisp: New file with initial
852 * sql/relations.lisp: fix to add subclassing support,
853 minor optimizations [Edi Weitz]
855 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
857 * base/conditions.lisp: Add *backend-warning-behavior*
859 * db-postgresql-socket/postgresql-socket-sql.lisp:
860 Honor value of *backend-warning-behavior*
861 * tests/test-fdml.lisp: Remove test of raw boolean value
862 since different backends handle this differently. Add
863 test for :column attribute.
864 * tests/test-oodml.lisp: Add tests for boolean slot value
865 and for :void-value attribute
866 * tests/test-init.lisp: Use *backend-warning-behavior*
867 to suppress warnings from postgresql about implicitly
868 creating primary key in tables. Add new address table.
870 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
872 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
873 result-types is :auto
874 * sql/objects.lisp: Properly handled writing/reading Boolean
875 values from SQL database when retrieving objects.
876 * test/test-fdml.lisp: Add another test for boolean results
877 * test/utils.lisp: Fix incorrect declaration
879 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
881 * sql/generics.lisp: add generic function for SELECT.
882 * sql/objects.lisp: make SELECT a method specialisation.
883 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
884 referred to are View Classes.
885 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
886 query-expression arg evaluates to a list, then we have an object
888 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
890 * TODO: remove items done and add a todo for SELECT.
891 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
893 * sql/sql.lisp: add :field-names arg to QUERY.
894 * tests/test-fdml.lisp: minor rework to use :field-names arg to
897 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
898 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
899 or more View Classes.
900 * sql/objects.lisp: make the :flatp argument to SELECT work with
902 * sql/objects.lisp: make SELECT accept a :result-types argument
903 (defaults to :auto) which is passed on to QUERY.
904 * sql/objects.lisp: SELECT returns field-names as a second value.
905 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
906 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
907 to SELECT and take only first value as appropriate.
908 * tests/test-fdml.lisp: add two new tests for query result coercion
909 and the field-names returned as a second value from SELECT.
910 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
912 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
913 * Version 2.10.6-pre1
914 * sql/metaclasses.lisp: Add void-value slot
915 * doc/csql.xml: Update def-view-class documentation
916 * test/test-init.lisp: Change old :db-type to :db-kind.
917 Remove old :nulls-ok attributes.
918 * sql/objects.lisp: Add new universal-time and bigint
919 types. Optimize reading of integers using parse-integer
920 rather than read-from-string.
921 * */*.lisp: Merge clsql-base-sys and clsql-base packages
922 into clsql-base package
923 * classic/sql.lisp: Move large object support into base, leaving
924 classic without any functionality that is provided in the clsql
926 * classic/package.lisp: Rename clsql-classic-sys package to
927 its former nickname of clsql-classic
929 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
930 * Version 2.10.5: SQLite backend now passes all result-types tests
931 * clsql-sqlite.asd: Depend on clsql-uffi system
932 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
933 for efficiency and code reuse.
934 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
935 for better cross-implementation compatibility.
937 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
939 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
941 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
942 bug on SBCL in result-field-names function as reported by Marcus Pearce
943 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
944 manifest in SBCL testing
946 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
948 * sql/database.lisp: Conform more to CommonSQL output
949 for STATUS command [Marcus Pearce]
950 * sql/sqlite-sql.lisp: Rework to use result-types
951 * sql/sqlite-api-clisp.lisp: Add compatibility layer
952 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
953 be cleaned up of most clisp reader conditionals
954 * sql/test-init.lisp: Now run field type tests on sqlite
957 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
959 * base/basic-sql.lisp: Set default value of :result-types
960 to :auto for more CommonSQL conformance.
961 * test/test-fdml.lisp: Add tests for numeric value of fields
964 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
965 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
966 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
967 Return field names as second value for QUERY. This can be overridden
968 for efficiency with the new keyword :FIELD-NAMES set to NIL
969 in the QUERY invocation.
970 * test/test-fdml.lisp: Add tests for new field-name feature
971 * sql/metaclass.lisp: Remove old Lispworks cruft
972 and replace it with invocation of new code in kmr-mop.lisp
973 which actually works with Lispworks 4.2
974 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
976 * base/db-interface.lisp: Document the multiple values
977 returned by DATABASE-ATTRIBUTE-TYPE so matches the
978 undocumented CommonSQL behavior.
979 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
980 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
981 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
982 Implement CACHE-TABLE-QUERIES.
983 * db-odbc/odbc-sql.lisp: Fix attribute-type function
984 * test/test-fddl.lisp: Add tests for attribute type
985 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
987 * base/classes.lisp: Add attribute-cache slot to database clas
988 * base/initialize.lisp: initialize-database-type now automatically
989 loads database-type backend as needed.
990 * base/test-init.lisp: Utilize new initialize-database-type functionality.
991 * TODO: remove items done
993 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
995 * sql/objects.lisp: remove create/drop-sequence-from-class.
996 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
997 * sql/objects.lisp: improved CommonSQL compatibility for
998 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
999 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
1000 * sql/generics.lisp: move generics from objects.lisp to here.
1002 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1003 * Version 2.9.6-pre1
1004 * db-mysql/mysql-client-info.lisp: Add client version 4.1
1006 * sql/sql.lisp: Make *default-database* the default for
1009 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1011 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
1013 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
1014 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
1015 on a metaclass specialized from standard-db-class.
1018 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1019 * Version 2.9.4: Multiple changes to support Allegro's "modern"
1020 lisp which uses a lowercase reader and has case-sensitive symbols
1021 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
1022 exposed by case-sensitive mlisp.
1024 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1025 * Version 2.9.3: All tests now pass on all platforms!
1026 * LATEST-TEST-RESULTS: New file with summary of test results
1027 * sql/generics.lisp: New file for generic function definitions.
1028 * test/test-init.lisp: Display names of skipped tests.
1029 Use unwind-protect to ensure disconnect
1030 * sql/objects.lisp: Change database-type to database-underlying-type
1031 so that actual database engine is properly identified
1032 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
1033 return an ISO timestring for compatibility with other drivers.
1034 Workaround bug in MyODBC for LIST-TABLE-INDEXES
1035 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
1036 returns floating-point values for floor and truncate operations
1037 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
1038 * tests/test-basic.lisp: Port to regression tester
1039 * test/test-init.lisp: Output to *report-stream*
1040 * docs/appendix.xml: Document ODBC and SQLite backends.
1041 * sql/classes.lisp: Make output-sql require a database parameter.
1042 This allows SQL generation to have the proper case to support
1043 the differences in case handling between CommonSQL API,
1044 Postgresql, MySQL, Oracle.
1046 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1047 * Version 2.9.2: Improvments in database capability introspection
1048 and querying. Support transactions in MySQL where available.
1049 All tests now pass on MySQL and SQLite in addition to postgresql
1050 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
1051 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
1052 DATABASE-LIST-SEQUENCES.
1053 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
1054 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
1055 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
1056 * tests/*.lisp: Check database capabilities and remove tests which
1057 the database backend does not support
1058 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
1059 controls whether InnoDB tables will be created when supported on
1060 the underlying MySQL server.
1062 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1063 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
1064 supported by all database backends (except AODBC since
1065 AODBC doesn't support index querying)
1066 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
1067 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
1068 to support index queries
1069 * db-aodbc/aodbc-sql.lisp: Filter driver manager
1070 "information_schema" tables from LIST-TABLES
1071 * tests/test-basic.lisp: Remove table after testing
1072 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
1073 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
1074 which gets the underlying type of database -- required
1075 when dealing with ODBC databases and want to query
1076 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
1077 as first database-backend specific feature. Is T on
1078 :mysql, NIL on other backends. Change DROP-TABLE to
1081 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1082 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
1084 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1086 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
1087 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
1089 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1090 * Version 2.8.0: New API function: LIST-DATABASES
1091 * base/utils.lisp: Fix command-output on CMUCL/SBCL
1092 * db-*/*-sql.lisp: Add new database-list function
1093 * base/database.lisp: Add new LIST-DATABASES command
1095 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1097 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
1098 * db-sqlite/sqlite-api-uffi.lisp: Print error string
1101 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1103 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
1106 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1108 * base/objects.lisp, base/classes.lisp: Patch
1109 for db-kind from Eduardo Munoz
1111 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1113 * base/basic-sql.lisp: Fix FLATP in QUERY
1115 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1116 * Version 2.7.3: Implement RECONNECT
1118 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1119 * Version 2.7.2: Fix ODBC on Lispworks Windows
1121 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1122 * Version 2.7.1: Fix for new ODBC backend.
1123 clsql-odbc now works on SBCL, CMUCL, OpenMCL
1124 in addition to AllegroCL and Lispworks.
1126 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1127 * Version 2.7.0: New backend: ODBC. Tests as
1128 well as AODBC backend on Allegro,Lispworks.
1129 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
1130 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
1131 to explicitly set ODBC2 support. Add BIGINT support.
1132 Add result-types support. Added SQLTables.
1133 Fix array type in fetch-all-rows. Make width
1134 changable by database or query.
1135 * base/utils.lisp: Add process functions
1136 * base/package.lisp: Export utils to CLSQL-BASE-SYS
1137 * db-aodbc: Implement sequence functions,
1138 database-list-tables, database-list-attributes
1139 * tests/utils.lisp: Add support for ODBC backend,
1140 rework READ-SPECS to use +all-db-types+
1141 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
1144 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1145 * Version 2.6.13. Requires UFFI version 1.4.9
1146 * db-odbc/*.lisp: Further porting.
1147 Pre-alpha code! But, basic query is now working.
1149 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1151 * base/transactions.lisp: Add quote for macro
1152 expansion of WITH-TRANSACTIONS [Time Howe]
1153 * db-sqlite/sqlite-sql.lisp: Support memory database
1154 in database-probe [Ng Pheng Siong]
1155 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
1156 The DBI layer is not finished.
1158 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1160 * sql/objects.lisp: add :root-class functionality for
1161 list-classes and add duration type support [Marcus Pearce]
1162 * db-odbc: Add mid-level [DBI] layer
1164 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1166 * db-aodbc: Add methods for generic functions, some are
1167 not yet implemented.
1168 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
1171 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1173 * base/package.lisp: Add missing symbols [Marcus Pearce]
1175 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1177 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
1178 * utils/time.lisp: Multiple fixes [Marcus Pearce]
1179 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
1181 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1183 * sql/*.lisp: Remove schema versioning cruft
1185 * Makefile: Add classic subdirectory
1187 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1189 * sql/sql.lisp: Fix TRUNCATE command, bug reported
1191 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
1192 specific and easy for an application to directly support.
1193 Idea from Marcus Pearce.
1194 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
1195 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
1196 Keep low-level interface for future optimization
1197 supporting LIST-ATTRIBUTE-TYPES command.
1198 * Makefile: Add to db-sqlite and test directories.
1199 Include them in top-level Makefile
1201 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1203 * sql/relations.lisp: Add missing file
1204 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
1205 * test/test-time.lips: New file [Marcus Pearce]
1207 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1209 * test/test-init.lisp: Properly handle object
1210 creation. Close database after use.
1211 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
1212 function so can have methods specialized on
1213 table being a string or an sql-table object.
1214 * base/pool.lisp: Really fix CMUCL locking
1216 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1218 * test/test-init.lisp: Signal correctly
1219 if any errors occurred in any test suite
1220 * base/loop-extensions.lisp: Fix error
1221 introduced for Lispworks
1222 * base/pool.lisp: Fix locking for CMUCL
1223 * base/objects.lisp: Remove schema-version cruft
1225 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1226 * Version 2.6.2: New CLSQL API functions:
1227 DESCRIBE-TABLE AND TRUNCATE-DATABASE
1228 Currently, this are only supported on :postgresql
1229 and :postgresql-socket
1230 * base/database.lisp: automatically load ASDF system
1231 in CONNECT if not already loaded
1232 * base/tests.lisp: disconnect database after testing
1233 * base/*.lisp: Remove CLOSED-DATABASE type in favor
1234 of storing open/closed status in slot of database
1235 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
1236 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
1237 DATABASE-DESCRIBE-TABLE
1238 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
1239 * base/conditions: Remove duplicate condition
1240 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
1241 * base/recording.lisp: Add new :QUERY type for recording
1243 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1244 * Version 2.6.1: documentation fixes, merged
1245 classic-tests into tests
1247 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1248 * Version 2.6.0 released: New API functions
1249 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
1250 * doc/ref_clsql.xml: Document new functions
1251 * base/database.lisp: New API functions
1252 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
1253 * base/utils.lisp: Fix use of position-char.
1254 Add COMMAND-OUTPUT used by backends for running
1255 external programs. Fix parsing of SQL*NET-compatible
1257 * base/loop-extension.lisp: Simplify package use
1258 for Lispworks and Allegro
1259 * db-*/*-sql.lisp: Added DATABASE-CREATE,
1260 DATABASE-DESTORY, PROBE-DATABASE methods
1261 * tests/test-init.lisp, clasic-tests/tests.lisp:
1262 Use destroy-database and create-database to ensure
1263 testing with empty database
1264 * tests/test-connection.lisp: Add tests for
1265 parsing of string connection-specs
1266 * examples/run-tests.sh: New file for running
1267 test suite on all installed CL implementations
1268 * examples/clsql-tutorial.lisp: moved from
1270 * examples/dot.clsql-tests.config: New file
1271 giving an example test configuration
1272 * test/README: Add notes about rtest/ptester
1273 downloads and link to sample test configuration file.
1275 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1276 * Version 2.5.1 released:
1277 * tests/*.lisp: Rework so tests are run
1278 on multiple backends automatically based
1279 on the contents of ~/.clsql-tests.config.
1280 Reuse helper functions from classic-tests.
1281 * base/database.lisp: Support connection-spec
1282 as string for CONNECT
1283 * classic-tests/tests.lisp: Automatically
1284 load database backends as needed.
1286 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1287 * Version 2.5.0 released:
1288 All tests for CLSQL and CLSQL-CLASSIC pass
1290 * base/loop-extension.lisp: Add Lispworks
1291 loop-extension. Improve type specifying on
1294 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1295 * Version 2.4.2 released:
1296 loop extension now supported on Allegro, all
1297 CLSQL-TESTS pass on Allegro.
1298 * sql/metaclasses.lisp: Some optimization
1299 of compute-slots, be selective when
1300 ordered-class-slots needs to be called
1301 instead of class-slots
1302 * TODO: add URL with documentation on
1303 extending Lispworks LOOP form
1305 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1306 * Version 2.4.1 released: CLSQL-TESt suite passes
1307 all tests for postgresql and CMUCL, SBCL, OpenMCL.
1308 Allegro and Lispworks pass all tests except for
1309 FDML/LOOP/1 since the loop extension have not yet
1310 been ported to those implementions.
1311 * sql/metaclasses.lisp: Added new slot to standard-db-class
1312 to hold user-specified type. OpenMCL adjustments to compensate
1313 for its type-predicate function. Since AllegroCL, Lispworks,
1314 and OpenMCL have different slot orders, added compute-slots
1315 and ordered-class-slots functions so their slot order matches
1318 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1319 * Version 2.4.0 released: All tests for clsql-classic now finish
1320 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
1321 mysql, postgresql, postgresql-sockets, and sqlite backends.
1322 * db-mysql/mysql-sql.lisp: Fix array dereferencing
1323 * classic-tests/tests.lisp: Fix package name of
1324 number-to-sql-string.
1325 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
1326 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
1327 now passes tests on all support UFFI platforms.
1328 * db-postgresql-socket/postgresql-socket-api.list: Ported to
1330 * multiple: Finish renaming of :types keyword to :result-types for
1331 greater CommonSQL compatibility, including documentation
1332 * sql/basic-cmds.lisp: Remove obsolete file
1334 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1335 * Version 2.3.3 released
1336 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
1337 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
1338 * Fix for schema table [Marcus Pearce]
1339 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
1340 * Fixes to test suite [Marcus Pearce]
1342 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1343 * db-*/*-sql.lisp: Ensure that expr in
1344 database-query-result-set is a string
1345 * Documentation integration
1347 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1348 * With for Marcus Pearce's excellent work, I've merged
1349 his clsql-usql port into clsql. The original clsql
1350 interface is available in the clsql-classic package.
1352 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
1353 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
1354 adding further support for providing backend for UncommonSQL
1356 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
1357 * Integrate patch from Aurelio Bignoli for SQLite backend
1359 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
1360 * Converted documentation to XML format
1361 * Made package installable with asdf-install
1363 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
1364 * Add for-each-row macro
1366 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
1367 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
1369 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
1370 * Add support for SBCL, OpenMCL, and SCL
1371 * Add *load-truename* to search path for clsql's
1374 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
1375 * Rework use of file types in .asd files
1377 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
1378 * Add .asd definition files for ASDF users
1380 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1381 * Restructure directories for Common Lisp Controller v3 compatibility
1383 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1384 * Also change case of logical host in loader files
1385 * Rework handling of logical pathnames
1387 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
1388 * Change case of logical host
1390 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
1391 * clsql-base.system: Added base package that can be used without
1392 high-level SQL commands. Used for adding support for UncommonSQL.
1393 * *.system: Reworked logical pathnames to be more consistent with
1394 Common Lisp Controller.
1395 * debian/*: Completed initial Debian support
1397 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1399 * sql/transactions.cl:
1400 Added transaction support. Functions/macros added:
1401 with-transaction, commit-transaction, rollback-transaction,
1402 add-transaction-commit-hook, add-transaction-rollback-hook
1404 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1407 * sql/functional.cl:
1408 Added pool support in connect/disconnect and with-database.
1409 Removed with-db-from-pool as with-database can now works with the connections pool
1411 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1416 Completed connection pool.
1417 Added with-db-from-pool macro.
1419 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1421 Added initial support for connection pool
1422 * sql/transactions.cl
1423 Took transaction code from UncommonSQL and integrated
1424 into CLSQL code. See file for disclaimer about why this
1427 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1428 * interfaces/postgresql/postgresql-sql.cl:
1429 Fix keyword typo in database-read-large-object
1430 * interfaces/mysql/mysql-loader.cl
1431 Fix loading on Win32
1432 * test-suite/tester-clsql.cl
1433 Fix type coercion of double-float
1435 Added debian docbook catalog, made it the default
1437 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
1438 * interface/postgresql/postgresql-api.cl:
1439 * interface/postgresql/postgresql-sql.cl:
1441 * sql/db-interface.cl:
1442 Added large objects support for postgresql.
1444 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1445 * src/postgresql-socket/postgresql-socket-api.cl:
1446 Fixed find-foreign-function call, eliminated crypt warning
1448 Multiple improvements
1450 Moved functionality from low-level interfaces to this file
1451 via generic functions
1452 * test-suite/tester.cl:
1453 Added test with acl-compat-tester, moved others to old-tests
1456 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
1458 Reinstated commented out sections
1459 * interfaces/postgresql/postgresql-loader.cl:
1460 * interfaces/mysql/mysql-loader.cl:
1461 Updated find-forieign-library support.
1462 * interfaces/postgresql-socket/postgresql-socket-package.cl:
1463 Fixed require form for Lispworks (Thanks Marc Battyani!)
1464 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1465 Fixed eval of def-function for crypt library.
1467 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1468 * Added interface to support USQL high-level rouines
1470 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1471 * Separated db-interface and conditions from sql/sql.cl
1472 * Improved foreign library loading testing
1473 * interfaces/postgresql/postgresql-api.cl
1474 Added PQisBusy function
1475 * interfaces/clsql-uffi/clsql-uffi.cl
1476 Fixed sign error for 64-bit processing
1478 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1479 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1480 Fixes to read-double-from-socket. Added 64-bit integer support.
1481 * test-suite/xptest-clsql.cl
1482 Added testint for 64-bit integers
1483 * Additons to installation docs
1485 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1486 * interfaces/postgresql-socket/postgresql-socket-api.cl:
1487 Implemented direct socket reading for field type :double
1488 * Added usage information for :types to documentation
1489 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
1491 * interfaces/clsql-uffi: Created new directory. Split common
1492 interface routines that use UFFI into this package. Required
1493 especially to support direct reading of 64-bit integers into
1494 bignums and bypassing temporary strings.
1495 * test-clsql.cl: Updated to test postgresql-socket's
1496 read-double-from-socket function.
1497 * test-suite/xptest-clsql.cl
1498 Started work on test suite
1500 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1501 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
1502 mysql-fetch-field-direct Got :auto types working
1503 * interfaces/postgresql/postgresql-api.cl
1504 * interfaces/postgresql-socket/postgresql-socket-api.cl
1505 Added pgsql-field-types enum. Got :auto types working.
1507 Renamed :field-types to :types.
1509 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1510 * Added field-types parameter to query, database-query,
1511 database-query-result-set, map-query. Haven't added code
1512 to utilize field types, yet.
1513 * Changed postgresql-socket result set from cons to a structure
1514 * Updated test-clsql.cl to use automated testing with a config
1516 * Changed return types of field accessors from cstring to
1517 (* :unsigned-char). This prepares for being able to use specified
1518 type conversions when taking field data into lisp.
1519 * Added field-type processing for most interfaces. Not done yet.
1521 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
1522 * doc/ref.sgml: Updated MAP-QUERY example to use
1523 *read-default-float-format* (John Foderaro)
1524 * Extensive work to foreign library loaders and .system files to
1525 check for successful loading of foreign libraries.
1526 * Modified test-clsql.cl to allow more modularity and
1527 automated testing in future release.
1528 * mysql/mysql-sql.lisp: Added field types
1530 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
1531 * mysql/mysql-sql.lisp:
1532 - Added support for Allegro CL and Lispworks using UFFI layer
1533 - Changed database-connect to use mysql-real-connect. This way,
1534 can avoid using double (unwind-protect)
1535 - Changed database-connect to have MySQL library allocate space
1536 for MYSQL structure. This will make the code more robust in
1537 the event that MySQL library changes the size of the mysql-mysql