1 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
3 * sql/metaclasses.lisp: Properly store specified-type from
4 direct-slot-definition and then store translated type in
5 effective-slot-definition
6 * sql/objects.lisp: Use specified type when invocating
7 database-get-type-specifier. Return class for def-view-class.
8 * base/basic-sql.lisp: Make :AUTO the default value for
9 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
10 * sql/objects.lisp: Add bigint type
11 * base/loop.lisp: Add object iteration. Use :result-type
12 :auto for result-set. Remove
13 duplicate (and non-correct) code for non-list variables by
14 simply making an atom variable into a list.
15 * test/tests-basic.lisp: Add tests for :result-types for
16 MAP-QUERY and DO-QUERY
17 * test/test-fdml.lisp: Add test for result-types in LOOP
18 and also using single symbol rather than a list for variables.
19 Add test that default :result-types is auto for FDML QUERY.
20 * sql/query.lisp: Set default for :result-types to :auto in
22 * test/test-oodml.lisp: Enable OO loop iteration test with
25 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
27 * sql/objects.lisp: added derived type specifier for universal time.
28 * sql/package.lisp: added #:universal-time to clsql-sys exports.
29 * tests/test-oodml.lisp: added test for translation of boolean slots
30 in SELECT with object queries.
32 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
33 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
34 for odbc/postgresql backend.
35 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
36 it can handle NIL values from the ODBC driver
37 * tests/benchmarks.lisp: New file with initial
39 * sql/relations.lisp: fix to add subclassing support,
40 minor optimizations [Edi Weitz]
42 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
44 * base/conditions.lisp: Add *backend-warning-behavior*
46 * db-postgresql-socket/postgresql-socket-sql.lisp:
47 Honor value of *backend-warning-behavior*
48 * tests/test-fdml.lisp: Remove test of raw boolean value
49 since different backends handle this differently. Add
50 test for :column attribute.
51 * tests/test-oodml.lisp: Add tests for boolean slot value
52 and for :void-value attribute
53 * tests/test-init.lisp: Use *backend-warning-behavior*
54 to suppress warnings from postgresql about implicitly
55 creating primary key in tables. Add new address table.
57 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
59 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
61 * sql/objects.lisp: Properly handled writing/reading Boolean
62 values from SQL database when retrieving objects.
63 * test/test-fdml.lisp: Add another test for boolean results
64 * test/utils.lisp: Fix incorrect declaration
66 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
68 * sql/generics.lisp: add generic function for SELECT.
69 * sql/objects.lisp: make SELECT a method specialisation.
70 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
71 referred to are View Classes.
72 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
73 query-expression arg evaluates to a list, then we have an object
75 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
77 * TODO: remove items done and add a todo for SELECT.
78 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
80 * sql/sql.lisp: add :field-names arg to QUERY.
81 * tests/test-fdml.lisp: minor rework to use :field-names arg to
84 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
85 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
87 * sql/objects.lisp: make the :flatp argument to SELECT work with
89 * sql/objects.lisp: make SELECT accept a :result-types argument
90 (defaults to :auto) which is passed on to QUERY.
91 * sql/objects.lisp: SELECT returns field-names as a second value.
92 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
93 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
94 to SELECT and take only first value as appropriate.
95 * tests/test-fdml.lisp: add two new tests for query result coercion
96 and the field-names returned as a second value from SELECT.
97 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
99 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
100 * Version 2.10.6-pre1
101 * sql/metaclasses.lisp: Add void-value slot
102 * doc/csql.xml: Update def-view-class documentation
103 * test/test-init.lisp: Change old :db-type to :db-kind.
104 Remove old :nulls-ok attributes.
105 * sql/objects.lisp: Add new universal-time and bigint
106 types. Optimize reading of integers using parse-integer
107 rather than read-from-string.
108 * */*.lisp: Merge clsql-base-sys and clsql-base packages
109 into clsql-base package
110 * classic/sql.lisp: Move large object support into base, leaving
111 classic without any functionality that is provided in the clsql
113 * classic/package.lisp: Rename clsql-classic-sys package to
114 its former nickname of clsql-classic
116 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
117 * Version 2.10.5: SQLite backend now passes all result-types tests
118 * clsql-sqlite.asd: Depend on clsql-uffi system
119 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
120 for efficiency and code reuse.
121 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
122 for better cross-implementation compatibility.
124 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
126 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
128 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
129 bug on SBCL in result-field-names function as reported by Marcus Pearce
130 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
131 manifest in SBCL testing
133 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
135 * sql/database.lisp: Conform more to CommonSQL output
136 for STATUS command [Marcus Pearce]
137 * sql/sqlite-sql.lisp: Rework to use result-types
138 * sql/sqlite-api-clisp.lisp: Add compatibility layer
139 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
140 be cleaned up of most clisp reader conditionals
141 * sql/test-init.lisp: Now run field type tests on sqlite
144 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
146 * base/basic-sql.lisp: Set default value of :result-types
147 to :auto for more CommonSQL conformance.
148 * test/test-fdml.lisp: Add tests for numeric value of fields
151 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
152 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
153 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
154 Return field names as second value for QUERY. This can be overridden
155 for efficiency with the new keyword :FIELD-NAMES set to NIL
156 in the QUERY invocation.
157 * test/test-fdml.lisp: Add tests for new field-name feature
158 * sql/metaclass.lisp: Remove old Lispworks cruft
159 and replace it with invocation of new code in kmr-mop.lisp
160 which actually works with Lispworks 4.2
161 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
163 * base/db-interface.lisp: Document the multiple values
164 returned by DATABASE-ATTRIBUTE-TYPE so matches the
165 undocumented CommonSQL behavior.
166 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
167 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
168 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
169 Implement CACHE-TABLE-QUERIES.
170 * db-odbc/odbc-sql.lisp: Fix attribute-type function
171 * test/test-fddl.lisp: Add tests for attribute type
172 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
174 * base/classes.lisp: Add attribute-cache slot to database clas
175 * base/initialize.lisp: initialize-database-type now automatically
176 loads database-type backend as needed.
177 * base/test-init.lisp: Utilize new initialize-database-type functionality.
178 * TODO: remove items done
180 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
182 * sql/objects.lisp: remove create/drop-sequence-from-class.
183 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
184 * sql/objects.lisp: improved CommonSQL compatibility for
185 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
186 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
187 * sql/generics.lisp: move generics from objects.lisp to here.
189 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
191 * db-mysql/mysql-client-info.lisp: Add client version 4.1
193 * sql/sql.lisp: Make *default-database* the default for
196 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
198 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
200 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
201 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
202 on a metaclass specialized from standard-db-class.
205 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
206 * Version 2.9.4: Multiple changes to support Allegro's "modern"
207 lisp which uses a lowercase reader and has case-sensitive symbols
208 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
209 exposed by case-sensitive mlisp.
211 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
212 * Version 2.9.3: All tests now pass on all platforms!
213 * LATEST-TEST-RESULTS: New file with summary of test results
214 * sql/generics.lisp: New file for generic function definitions.
215 * test/test-init.lisp: Display names of skipped tests.
216 Use unwind-protect to ensure disconnect
217 * sql/objects.lisp: Change database-type to database-underlying-type
218 so that actual database engine is properly identified
219 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
220 return an ISO timestring for compatibility with other drivers.
221 Workaround bug in MyODBC for LIST-TABLE-INDEXES
222 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
223 returns floating-point values for floor and truncate operations
224 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
225 * tests/test-basic.lisp: Port to regression tester
226 * test/test-init.lisp: Output to *report-stream*
227 * docs/appendix.xml: Document ODBC and SQLite backends.
228 * sql/classes.lisp: Make output-sql require a database parameter.
229 This allows SQL generation to have the proper case to support
230 the differences in case handling between CommonSQL API,
231 Postgresql, MySQL, Oracle.
233 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
234 * Version 2.9.2: Improvments in database capability introspection
235 and querying. Support transactions in MySQL where available.
236 All tests now pass on MySQL and SQLite in addition to postgresql
237 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
238 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
239 DATABASE-LIST-SEQUENCES.
240 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
241 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
242 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
243 * tests/*.lisp: Check database capabilities and remove tests which
244 the database backend does not support
245 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
246 controls whether InnoDB tables will be created when supported on
247 the underlying MySQL server.
249 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
250 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
251 supported by all database backends (except AODBC since
252 AODBC doesn't support index querying)
253 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
254 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
255 to support index queries
256 * db-aodbc/aodbc-sql.lisp: Filter driver manager
257 "information_schema" tables from LIST-TABLES
258 * tests/test-basic.lisp: Remove table after testing
259 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
260 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
261 which gets the underlying type of database -- required
262 when dealing with ODBC databases and want to query
263 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
264 as first database-backend specific feature. Is T on
265 :mysql, NIL on other backends. Change DROP-TABLE to
268 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
269 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
271 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
273 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
274 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
276 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
277 * Version 2.8.0: New API function: LIST-DATABASES
278 * base/utils.lisp: Fix command-output on CMUCL/SBCL
279 * db-*/*-sql.lisp: Add new database-list function
280 * base/database.lisp: Add new LIST-DATABASES command
282 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
284 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
285 * db-sqlite/sqlite-api-uffi.lisp: Print error string
288 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
290 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
293 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
295 * base/objects.lisp, base/classes.lisp: Patch
296 for db-kind from Eduardo Munoz
298 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
300 * base/basic-sql.lisp: Fix FLATP in QUERY
302 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
303 * Version 2.7.3: Implement RECONNECT
305 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
306 * Version 2.7.2: Fix ODBC on Lispworks Windows
308 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
309 * Version 2.7.1: Fix for new ODBC backend.
310 clsql-odbc now works on SBCL, CMUCL, OpenMCL
311 in addition to AllegroCL and Lispworks.
313 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
314 * Version 2.7.0: New backend: ODBC. Tests as
315 well as AODBC backend on Allegro,Lispworks.
316 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
317 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
318 to explicitly set ODBC2 support. Add BIGINT support.
319 Add result-types support. Added SQLTables.
320 Fix array type in fetch-all-rows. Make width
321 changable by database or query.
322 * base/utils.lisp: Add process functions
323 * base/package.lisp: Export utils to CLSQL-BASE-SYS
324 * db-aodbc: Implement sequence functions,
325 database-list-tables, database-list-attributes
326 * tests/utils.lisp: Add support for ODBC backend,
327 rework READ-SPECS to use +all-db-types+
328 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
331 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
332 * Version 2.6.13. Requires UFFI version 1.4.9
333 * db-odbc/*.lisp: Further porting.
334 Pre-alpha code! But, basic query is now working.
336 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
338 * base/transactions.lisp: Add quote for macro
339 expansion of WITH-TRANSACTIONS [Time Howe]
340 * db-sqlite/sqlite-sql.lisp: Support memory database
341 in database-probe [Ng Pheng Siong]
342 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
343 The DBI layer is not finished.
345 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
347 * sql/objects.lisp: add :root-class functionality for
348 list-classes and add duration type support [Marcus Pearce]
349 * db-odbc: Add mid-level [DBI] layer
351 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
353 * db-aodbc: Add methods for generic functions, some are
355 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
358 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
360 * base/package.lisp: Add missing symbols [Marcus Pearce]
362 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
364 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
365 * utils/time.lisp: Multiple fixes [Marcus Pearce]
366 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
368 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
370 * sql/*.lisp: Remove schema versioning cruft
372 * Makefile: Add classic subdirectory
374 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
376 * sql/sql.lisp: Fix TRUNCATE command, bug reported
378 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
379 specific and easy for an application to directly support.
380 Idea from Marcus Pearce.
381 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
382 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
383 Keep low-level interface for future optimization
384 supporting LIST-ATTRIBUTE-TYPES command.
385 * Makefile: Add to db-sqlite and test directories.
386 Include them in top-level Makefile
388 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
390 * sql/relations.lisp: Add missing file
391 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
392 * test/test-time.lips: New file [Marcus Pearce]
394 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
396 * test/test-init.lisp: Properly handle object
397 creation. Close database after use.
398 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
399 function so can have methods specialized on
400 table being a string or an sql-table object.
401 * base/pool.lisp: Really fix CMUCL locking
403 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
405 * test/test-init.lisp: Signal correctly
406 if any errors occurred in any test suite
407 * base/loop-extensions.lisp: Fix error
408 introduced for Lispworks
409 * base/pool.lisp: Fix locking for CMUCL
410 * base/objects.lisp: Remove schema-version cruft
412 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
413 * Version 2.6.2: New CLSQL API functions:
414 DESCRIBE-TABLE AND TRUNCATE-DATABASE
415 Currently, this are only supported on :postgresql
416 and :postgresql-socket
417 * base/database.lisp: automatically load ASDF system
418 in CONNECT if not already loaded
419 * base/tests.lisp: disconnect database after testing
420 * base/*.lisp: Remove CLOSED-DATABASE type in favor
421 of storing open/closed status in slot of database
422 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
423 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
424 DATABASE-DESCRIBE-TABLE
425 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
426 * base/conditions: Remove duplicate condition
427 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
428 * base/recording.lisp: Add new :QUERY type for recording
430 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
431 * Version 2.6.1: documentation fixes, merged
432 classic-tests into tests
434 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
435 * Version 2.6.0 released: New API functions
436 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
437 * doc/ref_clsql.xml: Document new functions
438 * base/database.lisp: New API functions
439 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
440 * base/utils.lisp: Fix use of position-char.
441 Add COMMAND-OUTPUT used by backends for running
442 external programs. Fix parsing of SQL*NET-compatible
444 * base/loop-extension.lisp: Simplify package use
445 for Lispworks and Allegro
446 * db-*/*-sql.lisp: Added DATABASE-CREATE,
447 DATABASE-DESTORY, PROBE-DATABASE methods
448 * tests/test-init.lisp, clasic-tests/tests.lisp:
449 Use destroy-database and create-database to ensure
450 testing with empty database
451 * tests/test-connection.lisp: Add tests for
452 parsing of string connection-specs
453 * examples/run-tests.sh: New file for running
454 test suite on all installed CL implementations
455 * examples/clsql-tutorial.lisp: moved from
457 * examples/dot.clsql-tests.config: New file
458 giving an example test configuration
459 * test/README: Add notes about rtest/ptester
460 downloads and link to sample test configuration file.
462 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
463 * Version 2.5.1 released:
464 * tests/*.lisp: Rework so tests are run
465 on multiple backends automatically based
466 on the contents of ~/.clsql-tests.config.
467 Reuse helper functions from classic-tests.
468 * base/database.lisp: Support connection-spec
469 as string for CONNECT
470 * classic-tests/tests.lisp: Automatically
471 load database backends as needed.
473 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
474 * Version 2.5.0 released:
475 All tests for CLSQL and CLSQL-CLASSIC pass
477 * base/loop-extension.lisp: Add Lispworks
478 loop-extension. Improve type specifying on
481 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
482 * Version 2.4.2 released:
483 loop extension now supported on Allegro, all
484 CLSQL-TESTS pass on Allegro.
485 * sql/metaclasses.lisp: Some optimization
486 of compute-slots, be selective when
487 ordered-class-slots needs to be called
488 instead of class-slots
489 * TODO: add URL with documentation on
490 extending Lispworks LOOP form
492 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
493 * Version 2.4.1 released: CLSQL-TESt suite passes
494 all tests for postgresql and CMUCL, SBCL, OpenMCL.
495 Allegro and Lispworks pass all tests except for
496 FDML/LOOP/1 since the loop extension have not yet
497 been ported to those implementions.
498 * sql/metaclasses.lisp: Added new slot to standard-db-class
499 to hold user-specified type. OpenMCL adjustments to compensate
500 for its type-predicate function. Since AllegroCL, Lispworks,
501 and OpenMCL have different slot orders, added compute-slots
502 and ordered-class-slots functions so their slot order matches
505 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
506 * Version 2.4.0 released: All tests for clsql-classic now finish
507 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
508 mysql, postgresql, postgresql-sockets, and sqlite backends.
509 * db-mysql/mysql-sql.lisp: Fix array dereferencing
510 * classic-tests/tests.lisp: Fix package name of
511 number-to-sql-string.
512 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
513 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
514 now passes tests on all support UFFI platforms.
515 * db-postgresql-socket/postgresql-socket-api.list: Ported to
517 * multiple: Finish renaming of :types keyword to :result-types for
518 greater CommonSQL compatibility, including documentation
519 * sql/basic-cmds.lisp: Remove obsolete file
521 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
522 * Version 2.3.3 released
523 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
524 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
525 * Fix for schema table [Marcus Pearce]
526 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
527 * Fixes to test suite [Marcus Pearce]
529 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
530 * db-*/*-sql.lisp: Ensure that expr in
531 database-query-result-set is a string
532 * Documentation integration
534 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
535 * With for Marcus Pearce's excellent work, I've merged
536 his clsql-usql port into clsql. The original clsql
537 interface is available in the clsql-classic package.
539 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
540 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
541 adding further support for providing backend for UncommonSQL
543 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
544 * Integrate patch from Aurelio Bignoli for SQLite backend
546 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
547 * Converted documentation to XML format
548 * Made package installable with asdf-install
550 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
551 * Add for-each-row macro
553 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
554 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
556 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
557 * Add support for SBCL, OpenMCL, and SCL
558 * Add *load-truename* to search path for clsql's
561 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
562 * Rework use of file types in .asd files
564 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
565 * Add .asd definition files for ASDF users
567 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
568 * Restructure directories for Common Lisp Controller v3 compatibility
570 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
571 * Also change case of logical host in loader files
572 * Rework handling of logical pathnames
574 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
575 * Change case of logical host
577 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
578 * clsql-base.system: Added base package that can be used without
579 high-level SQL commands. Used for adding support for UncommonSQL.
580 * *.system: Reworked logical pathnames to be more consistent with
581 Common Lisp Controller.
582 * debian/*: Completed initial Debian support
584 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
586 * sql/transactions.cl:
587 Added transaction support. Functions/macros added:
588 with-transaction, commit-transaction, rollback-transaction,
589 add-transaction-commit-hook, add-transaction-rollback-hook
591 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
595 Added pool support in connect/disconnect and with-database.
596 Removed with-db-from-pool as with-database can now works with the connections pool
598 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
603 Completed connection pool.
604 Added with-db-from-pool macro.
606 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
608 Added initial support for connection pool
609 * sql/transactions.cl
610 Took transaction code from UncommonSQL and integrated
611 into CLSQL code. See file for disclaimer about why this
614 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
615 * interfaces/postgresql/postgresql-sql.cl:
616 Fix keyword typo in database-read-large-object
617 * interfaces/mysql/mysql-loader.cl
619 * test-suite/tester-clsql.cl
620 Fix type coercion of double-float
622 Added debian docbook catalog, made it the default
624 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
625 * interface/postgresql/postgresql-api.cl:
626 * interface/postgresql/postgresql-sql.cl:
628 * sql/db-interface.cl:
629 Added large objects support for postgresql.
631 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
632 * src/postgresql-socket/postgresql-socket-api.cl:
633 Fixed find-foreign-function call, eliminated crypt warning
635 Multiple improvements
637 Moved functionality from low-level interfaces to this file
638 via generic functions
639 * test-suite/tester.cl:
640 Added test with acl-compat-tester, moved others to old-tests
643 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
645 Reinstated commented out sections
646 * interfaces/postgresql/postgresql-loader.cl:
647 * interfaces/mysql/mysql-loader.cl:
648 Updated find-forieign-library support.
649 * interfaces/postgresql-socket/postgresql-socket-package.cl:
650 Fixed require form for Lispworks (Thanks Marc Battyani!)
651 * interfaces/postgresql-socket/postgresql-socket-api.cl:
652 Fixed eval of def-function for crypt library.
654 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
655 * Added interface to support USQL high-level rouines
657 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
658 * Separated db-interface and conditions from sql/sql.cl
659 * Improved foreign library loading testing
660 * interfaces/postgresql/postgresql-api.cl
661 Added PQisBusy function
662 * interfaces/clsql-uffi/clsql-uffi.cl
663 Fixed sign error for 64-bit processing
665 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
666 * interfaces/postgresql-socket/postgresql-socket-api.cl:
667 Fixes to read-double-from-socket. Added 64-bit integer support.
668 * test-suite/xptest-clsql.cl
669 Added testint for 64-bit integers
670 * Additons to installation docs
672 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
673 * interfaces/postgresql-socket/postgresql-socket-api.cl:
674 Implemented direct socket reading for field type :double
675 * Added usage information for :types to documentation
676 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
678 * interfaces/clsql-uffi: Created new directory. Split common
679 interface routines that use UFFI into this package. Required
680 especially to support direct reading of 64-bit integers into
681 bignums and bypassing temporary strings.
682 * test-clsql.cl: Updated to test postgresql-socket's
683 read-double-from-socket function.
684 * test-suite/xptest-clsql.cl
685 Started work on test suite
687 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
688 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
689 mysql-fetch-field-direct Got :auto types working
690 * interfaces/postgresql/postgresql-api.cl
691 * interfaces/postgresql-socket/postgresql-socket-api.cl
692 Added pgsql-field-types enum. Got :auto types working.
694 Renamed :field-types to :types.
696 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
697 * Added field-types parameter to query, database-query,
698 database-query-result-set, map-query. Haven't added code
699 to utilize field types, yet.
700 * Changed postgresql-socket result set from cons to a structure
701 * Updated test-clsql.cl to use automated testing with a config
703 * Changed return types of field accessors from cstring to
704 (* :unsigned-char). This prepares for being able to use specified
705 type conversions when taking field data into lisp.
706 * Added field-type processing for most interfaces. Not done yet.
708 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
709 * doc/ref.sgml: Updated MAP-QUERY example to use
710 *read-default-float-format* (John Foderaro)
711 * Extensive work to foreign library loaders and .system files to
712 check for successful loading of foreign libraries.
713 * Modified test-clsql.cl to allow more modularity and
714 automated testing in future release.
715 * mysql/mysql-sql.lisp: Added field types
717 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
718 * mysql/mysql-sql.lisp:
719 - Added support for Allegro CL and Lispworks using UFFI layer
720 - Changed database-connect to use mysql-real-connect. This way,
721 can avoid using double (unwind-protect)
722 - Changed database-connect to have MySQL library allocate space
723 for MYSQL structure. This will make the code more robust in
724 the event that MySQL library changes the size of the mysql-mysql