1 11 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
2 * db-mysql/mysql-api.lisp: Fix int vs. long slots in foreign
3 structures found by testing with AllegroCL 7.0b AMD64.
4 * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
5 * sql/objects.lisp: Initial caching support for SELECT
6 * tests/test-oodml.lisp: Avoid using cache when testing select.
7 * sql/kmr-mop.lisp: Explicitly check slot order and
8 store as a cl:*feature*
9 * sql/recording.lisp: Remove additional types to
10 increase CommonSQL conformance.
11 * tests/test-init.lisp: Change a :column attribute
12 to test symbols as value
13 * sql/relations.lisp: Remove functions since they don't support
14 many to many relationships.
15 * examples/clsql-tutorial.lisp, doc/csql.lisp: Remove use
16 of add-to-relations function and replace with explicit field settings.
17 * base/classes.lisp: Remove obsolute query-stream. Add record-caches slot.
19 9 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
21 * LATEST-TEST-RESULTS: results with current version
22 * sql/kmr-mop.lisp: Make CMUCL reader macros specific for cmu18
23 since cmu19 has opposite order of class slots.
24 * sql/objects.lisp: Fix (setf slot-value-using-class) for Lispworks
25 * tests/test-fdml.lisp: Renumber SELECT tests to avoid overwriting
27 * tests/test-init.lisp: Check test-database-underlying-type for
30 8 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
31 * sql/operations.lisp: complete remaining operations for the sql
32 syntax: SUBSTR, SOME, ORDER-BY, GROUP-BY, NULL, DISTINCT, EXCEPT,
33 UNION, INTERSECT, BETWEEN.
34 * sql/classes.lisp: add new classes: SQL-BETWEEN-EXPRESSION,
35 SQL-QUERY-MODIFIER-EXPRESSION and SQL-SET-EXPRESSION.
36 * tests/test-syntax.lisp: add tests for new operations.
37 * tests/test-fdml.lisp: add tests for queries based on new operations.
38 * tests/test-init.lisp: add select/20 to tests skipped for sqlite and
39 select/20, query/5, query/7 and query/8 to tests skipped by mysql.
40 * TODO: removed entries done.
42 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
43 * tests/benchmarks.lisp: Add immediate vs. deferred
46 8 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
47 * Version 2.10.13: Now works on openmcl 0.14.2
48 * sql/objects.lisp: Add :retrieval :immediate for
50 * tests/test-init.lisp: Add non-index fields for testing
51 join class employee-addresss
52 * test/test-oodml.lisp: Add tests for retrieval immediate
53 * sql/metaclasses.lisp: Handle differences in direct-slot-definition
54 values which are now listifed by openmcl 14.2.
55 * sql/objects.lisp: more framework for supporing immediate retrieval
57 7 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
58 * docs/intro.xml: Upload location of a README file
59 * sql/metaclass.lisp: Work-around openmcl's CHANGE-CLASS
60 changing the type-specifier. Use a lisp type of (OR NULL FOO)
61 for a specified-type of FOO unless :db-constraints :not-null.
62 No need to specialize finalize-inheritance for openmcl.
63 * tests/test-*.lisp: Rename fields so that joins occur on
64 fields with different names. This ensures that join code is
65 selecting the proper name.
66 * test/test-init.lisp: Add :base-table for employee-address
67 view class for testing.
68 * sql/objects.lisp: Use view-table rather than name of table
69 in a number of places to fix errors noted with using :base-table.
71 6 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
72 * sql/objects.lisp: replace *update-records-on-make-instance* with
73 *db-auto-sync* which also controls both automatic creation of
74 new records on creation of new instance and updating of record
75 fields on setting of instance slots (as suggested by Edi Weitz).
76 * tests/test-init.lisp: replace *update-records-on-make-instance*
78 * sql/package.lisp: replace *update-records-on-make-instance*
80 * TODO: replace *update-records-on-make-instance* with *db-auto-sync*.
81 * sql/objects.lisp: remove redundant rebindings of *db-initializing*
82 and *default-database* in FIND-ALL.
83 * sql/package.lisp: import time functions from CLSQL-BASE.
84 * tests/test-time.lisp: replace CLSQl-BASE package qualifier with CLSQL.
85 * tests/test-fdml.lisp: replace CLSQl-BASE package qualifier with CLSQL.
86 * tests/test-init.lisp: replace CLSQl-BASE package qualifier with CLSQL.
87 * tests/test-ooddl.lisp: replace CLSQl-BASE package qualifier with
90 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
91 * sql/classes.lisp: Add SQL-OBJECT-QUERY type. Have [select 'class]
92 now return a sql-object-query type rather than directly performing a query.
93 This improves CommonSQL conformance.
94 * sql/sql.lisp: Add new QUERY method for SQL-OBJECT-QUERY. Move
95 from basic/basic-sql.lisp the DO-QUERY and MAP-QUERY since they now
96 depend on sql-object-query-type.
97 * sql/loop-extensions.lisp: Move from base package
98 * classic/package.lisp: remove references to map-query and do-query
100 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
101 * TODO: New section on optimizations, especially optimizing JOINs.
102 * sql/objects.lisp: Have :target-slot return of list of lists rather
103 than a list of cons pairs to be conformant with CommonSQL.
104 Make :target-slot much more efficient by using a SQL inner join
105 statement and just requiring one SQL query. Add :retrieval :deferrred
106 to target-slot joins. Add placeholder for update-objects-join.
107 * sql/classes.lisp: Add :inner-join and :on slots to sql-query class
108 and process them for query output-sql.
110 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
112 * base/basic-sql.lisp: Avoid multiple evaluation
113 of query-expression in DO-QUERY
114 * sql/objects.lisp: Make SELECT a normal function.
115 SELECT now accepts type-modified database identifiers, such as
116 [foo :string] which means that the values in column foo are returned
117 as Lisp strings. Add new *update-records-on-make-instance* special
118 variable controlling automatic creation of new instances. Add missing
119 RESULT-TYPES keyword to FIND-ALL. Add :target-slot support.
120 * sql/packages.lisp: Export *update-records-on-make-instance*
121 * test/test-oodml.lisp: Add tests for :target-slot and many-to-many
123 * test/test-fdml.lisp: Add tests for type-modified
124 database identifiers.
125 * test/test-init.lisp: Stop using add-relation since implementing
126 many-to-many joins. Use *update-records-on-make-instance*
127 to automatically store records on instance creation. Add many-to-many
128 employee-address view-class.
130 4 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
132 * base/loop.lisp: Add object iteration. Use :result-type
133 :auto for result-set. Remove
134 duplicate (and non-correct) code for non-list variables by
135 simply making an atom variable into a list.
136 * sql/package.lisp: Remove unnecessary clsql-sys package
137 and replace it with clsql.
138 * sql/metaclasses.lisp: Properly store specified-type from
139 direct-slot-definition and then store translated type in
140 effective-slot-definition
141 * sql/classes.lisp: Don't output type in sql-output
142 for SQL-IDENT-ATTRIBUTE. This is in preparation for supporting
143 [foo :integer] as fields in SELECT.
144 * sql/query.lisp: Set default for :result-types to :auto in
146 * sql/objects.lisp: Use specified-type when invocating
147 database-get-type-specifier. def-view-class macro now returns
149 * base/basic-sql.lisp: Make :AUTO the default value for
150 :RESULT-TYPES for MAP-QUERY and DO-QUERY.
151 * sql/objects.lisp: Add bigint type
152 * test/tests-basic.lisp: Add tests for :result-types for
153 MAP-QUERY and DO-QUERY
154 * test/test-fdml.lisp: Add test for result-types in LOOP
155 and also using single symbol rather than a list for variables.
156 Add test that default :result-types is auto for FDML QUERY.
157 * test/test-syntax.lisp: Don't expect TYPE in the SQL-OUTPUT
158 of SQL-IDENT-ATTRIBUTE.
159 * test/test-oodml.lisp: Enable OO loop iteration test,
160 modify it so it doesn't depend on boolean where.
162 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
164 * sql/objects.lisp: added derived type specifier for universal time.
165 * sql/package.lisp: added #:universal-time to clsql-sys exports.
166 * tests/test-oodml.lisp: added test for translation of boolean slots
167 in SELECT with object queries.
169 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
170 * db-odbc/odbc-api.lisp: Fix changing nil to "NIL"
171 for odbc/postgresql backend.
172 * db-odbc/odbc-sql.lisp: Fix ATTRIBUTE-TYPE so that
173 it can handle NIL values from the ODBC driver
174 * tests/benchmarks.lisp: New file with initial
176 * sql/relations.lisp: fix to add subclassing support,
177 minor optimizations [Edi Weitz]
179 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
181 * base/conditions.lisp: Add *backend-warning-behavior*
183 * db-postgresql-socket/postgresql-socket-sql.lisp:
184 Honor value of *backend-warning-behavior*
185 * tests/test-fdml.lisp: Remove test of raw boolean value
186 since different backends handle this differently. Add
187 test for :column attribute.
188 * tests/test-oodml.lisp: Add tests for boolean slot value
189 and for :void-value attribute
190 * tests/test-init.lisp: Use *backend-warning-behavior*
191 to suppress warnings from postgresql about implicitly
192 creating primary key in tables. Add new address table.
194 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
196 * db-odbc/odbc-dbi.lisp: Convert TINYINT to integers when
197 result-types is :auto
198 * sql/objects.lisp: Properly handled writing/reading Boolean
199 values from SQL database when retrieving objects.
200 * test/test-fdml.lisp: Add another test for boolean results
201 * test/utils.lisp: Fix incorrect declaration
203 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
205 * sql/generics.lisp: add generic function for SELECT.
206 * sql/objects.lisp: make SELECT a method specialisation.
207 * sql/classes.lisp: MAKE-QUERY now calls SELECT if the selections
208 referred to are View Classes.
209 * base/basic-sql.lisp: in DO-QUERY and MAP-QUERY, if the
210 query-expression arg evaluates to a list, then we have an object
212 * tests/test-oodml.lisp: add tests for DO-QUERY and MAP-QUERY with
214 * TODO: remove items done and add a todo for SELECT.
215 * sql/objects.lisp: SELECT takes a :field-names arg to pass on to
217 * sql/sql.lisp: add :field-names arg to QUERY.
218 * tests/test-fdml.lisp: minor rework to use :field-names arg to
221 2 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
222 * sql/objects.lisp: fix bug in FIND-ALL when SELECT called with 2
223 or more View Classes.
224 * sql/objects.lisp: make the :flatp argument to SELECT work with
226 * sql/objects.lisp: make SELECT accept a :result-types argument
227 (defaults to :auto) which is passed on to QUERY.
228 * sql/objects.lisp: SELECT returns field-names as a second value.
229 * tests/test-ooddl.lisp: add flatp arg to SELECT calls as appropriate.
230 * tests/test-fdml.lisp: add flatp/result-types arguments to calls
231 to SELECT and take only first value as appropriate.
232 * tests/test-fdml.lisp: add two new tests for query result coercion
233 and the field-names returned as a second value from SELECT.
234 * tests/test-oodml.lisp: add flatp arg to SELECT calls as appropriate.
236 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
237 * Version 2.10.6-pre1
238 * sql/metaclasses.lisp: Add void-value slot
239 * doc/csql.xml: Update def-view-class documentation
240 * test/test-init.lisp: Change old :db-type to :db-kind.
241 Remove old :nulls-ok attributes.
242 * sql/objects.lisp: Add new universal-time and bigint
243 types. Optimize reading of integers using parse-integer
244 rather than read-from-string.
245 * */*.lisp: Merge clsql-base-sys and clsql-base packages
246 into clsql-base package
247 * classic/sql.lisp: Move large object support into base, leaving
248 classic without any functionality that is provided in the clsql
250 * classic/package.lisp: Rename clsql-classic-sys package to
251 its former nickname of clsql-classic
253 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
254 * Version 2.10.5: SQLite backend now passes all result-types tests
255 * clsql-sqlite.asd: Depend on clsql-uffi system
256 * db-sqlite/sqlite-sql.lisp: Use clsql-uffi:convert-raw-field
257 for efficiency and code reuse.
258 * db-sqlite/sqlite-api-uffi.lisp: Change (* :char) to (* :unsigned-char)
259 for better cross-implementation compatibility.
261 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
263 * sql/tables.lisp: Fix typo in CACHE-TABLE-QUERIES
265 * db-postgresql/postgresql-sql.lisp: Fix foreign-string vs. cstring
266 bug on SBCL in result-field-names function as reported by Marcus Pearce
267 * db-sqlite/sqlite-sql.lisp: Fix in database-store-next-row
268 manifest in SBCL testing
270 1 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
272 * sql/database.lisp: Conform more to CommonSQL output
273 for STATUS command [Marcus Pearce]
274 * sql/sqlite-sql.lisp: Rework to use result-types
275 * sql/sqlite-api-clisp.lisp: Add compatibility layer
276 with sqlite-api-uffi.lisp so that sqlite-sql.lisp can
277 be cleaned up of most clisp reader conditionals
278 * sql/test-init.lisp: Now run field type tests on sqlite
281 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
283 * base/basic-sql.lisp: Set default value of :result-types
284 to :auto for more CommonSQL conformance.
285 * test/test-fdml.lisp: Add tests for numeric value of fields
288 30 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
289 * Version 2.10.1: New API function: CACHE-TABLE-QUERIES.
290 * base/basic-sql.lisp, db-*/*-sql.lisp: More CommonSQL conformance.
291 Return field names as second value for QUERY. This can be overridden
292 for efficiency with the new keyword :FIELD-NAMES set to NIL
293 in the QUERY invocation.
294 * test/test-fdml.lisp: Add tests for new field-name feature
295 * sql/metaclass.lisp: Remove old Lispworks cruft
296 and replace it with invocation of new code in kmr-mop.lisp
297 which actually works with Lispworks 4.2
298 * doc/ref_clsql.xml: Document new :FIELD-NAMES keyword to
300 * base/db-interface.lisp: Document the multiple values
301 returned by DATABASE-ATTRIBUTE-TYPE so matches the
302 undocumented CommonSQL behavior.
303 * sql/table.lisp: Add *CACHE-TABLE-QUERIES-DEFAULT* and
304 *DEFAULT-UPDATE-OBJECTS-MAX-LEN* variables and export them.
305 LIST-ATTRIBUTE-TYPES now conforms to CommonSQL spec.
306 Implement CACHE-TABLE-QUERIES.
307 * db-odbc/odbc-sql.lisp: Fix attribute-type function
308 * test/test-fddl.lisp: Add tests for attribute type
309 * db-mysql/mysql-sql.lisp: Mild optimization in accessing
311 * base/classes.lisp: Add attribute-cache slot to database clas
312 * base/initialize.lisp: initialize-database-type now automatically
313 loads database-type backend as needed.
314 * base/test-init.lisp: Utilize new initialize-database-type functionality.
315 * TODO: remove items done
317 30 Apr 2004 Marcus Pearce (m.t.pearce@city.ac.uk)
319 * sql/objects.lisp: remove create/drop-sequence-from-class.
320 * sql/objects.lisp: add INSTANCE-REFRESHED generic function.
321 * sql/objects.lisp: improved CommonSQL compatibility for
322 UPDATE-RECORD-FROM-SLOT, UPDATE-RECORD-FROM-SLOTS,
323 UPDATE-RECORDS-FROM-INSTANCE and DELETE-INSTANCE-RECORDS.
324 * sql/generics.lisp: move generics from objects.lisp to here.
326 29 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
328 * db-mysql/mysql-client-info.lisp: Add client version 4.1
330 * sql/sql.lisp: Make *default-database* the default for
333 28 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
335 * db-mysql/mysql-sql.lisp: Fix bug in transaction capability
337 * sql/objects.lisp: Commit patch from Slawek Zak to allow specifying
338 :metaclass in DEF-VIEW-CLASS invocation. This allows defining classes
339 on a metaclass specialized from standard-db-class.
342 24 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
343 * Version 2.9.4: Multiple changes to support Allegro's "modern"
344 lisp which uses a lowercase reader and has case-sensitive symbols
345 * sql/classes.lisp: Fix make-load-form bug for sql-ident-table
346 exposed by case-sensitive mlisp.
348 22 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
349 * Version 2.9.3: All tests now pass on all platforms!
350 * LATEST-TEST-RESULTS: New file with summary of test results
351 * sql/generics.lisp: New file for generic function definitions.
352 * test/test-init.lisp: Display names of skipped tests.
353 Use unwind-protect to ensure disconnect
354 * sql/objects.lisp: Change database-type to database-underlying-type
355 so that actual database engine is properly identified
356 * db-odbc/odbc-api.lisp: Have default *time-conversion-function*
357 return an ISO timestring for compatibility with other drivers.
358 Workaround bug in MyODBC for LIST-TABLE-INDEXES
359 * test/test-fdml.lisp: Accomodate that odbc-postgresql driver
360 returns floating-point values for floor and truncate operations
361 * db-aodbc/aodbc-sql.lisp: Implement DATABASE-LIST-VIEWS
362 * tests/test-basic.lisp: Port to regression tester
363 * test/test-init.lisp: Output to *report-stream*
364 * docs/appendix.xml: Document ODBC and SQLite backends.
365 * sql/classes.lisp: Make output-sql require a database parameter.
366 This allows SQL generation to have the proper case to support
367 the differences in case handling between CommonSQL API,
368 Postgresql, MySQL, Oracle.
370 21 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
371 * Version 2.9.2: Improvments in database capability introspection
372 and querying. Support transactions in MySQL where available.
373 All tests now pass on MySQL and SQLite in addition to postgresql
374 and postgresql-socket. ODBC fails only with OODDL/TIME/1 and OODDL/TIME/2.
375 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST-VIEWS. Better support
376 DATABASE-LIST-SEQUENCES.
377 * clsql-uffi.asd, clsql-mysql.asd: Improve shared library loading
378 * Database_capabilies: add HAS-VIEWS, HAS-CREATE/DESTROY-DB,
379 HAS-BOOLEAN-WHERE, TRANSACTION-CAPABLE
380 * tests/*.lisp: Check database capabilities and remove tests which
381 the database backend does not support
382 * sql/table.lisp: Add :TRANSACTIONS keyword to create table which
383 controls whether InnoDB tables will be created when supported on
384 the underlying MySQL server.
386 20 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
387 * Version 2.9.0: New API function: LIST-TABLE-INDEXES,
388 supported by all database backends (except AODBC since
389 AODBC doesn't support index querying)
390 * db-obdc/odbc-sql.lisp: Support DATABASE-LIST-INDEXES
391 * db-odbc/odbc-api.lisp: Add %TABLE-STATISTICS function
392 to support index queries
393 * db-aodbc/aodbc-sql.lisp: Filter driver manager
394 "information_schema" tables from LIST-TABLES
395 * tests/test-basic.lisp: Remove table after testing
396 * tests/test-fddl.lisp: Test LIST-TABLE-INDEXES
397 * base/db-interface.lisp: Add DATABASE-UNDERLYING-TYPE
398 which gets the underlying type of database -- required
399 when dealing with ODBC databases and want to query
400 database capabilities. Added DB-USE-COLUMN-ON-DROP-TABLES?
401 as first database-backend specific feature. Is T on
402 :mysql, NIL on other backends. Change DROP-TABLE to
405 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
406 * Version 2.8.2: Build changes for FreeBSD [Slawek Zak]
408 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
410 * db-odbc/odbc-sql.lisp: Add DATABASE-LIST function
411 * db-odbc/odbc-dbi.lisp: Add LIST-ALL-DATA-SOURCES function
413 19 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
414 * Version 2.8.0: New API function: LIST-DATABASES
415 * base/utils.lisp: Fix command-output on CMUCL/SBCL
416 * db-*/*-sql.lisp: Add new database-list function
417 * base/database.lisp: Add new LIST-DATABASES command
419 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
421 * db-sqlite/sqlite-sql.lisp: Fix sequence functions.
422 * db-sqlite/sqlite-api-uffi.lisp: Print error string
425 18 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
427 * doc/csql.xml, examples/clsql-tutorial.lisp: Patch for db-kind
430 17 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
432 * base/objects.lisp, base/classes.lisp: Patch
433 for db-kind from Eduardo Munoz
435 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
437 * base/basic-sql.lisp: Fix FLATP in QUERY
439 16 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
440 * Version 2.7.3: Implement RECONNECT
442 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
443 * Version 2.7.2: Fix ODBC on Lispworks Windows
445 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
446 * Version 2.7.1: Fix for new ODBC backend.
447 clsql-odbc now works on SBCL, CMUCL, OpenMCL
448 in addition to AllegroCL and Lispworks.
450 15 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
451 * Version 2.7.0: New backend: ODBC. Tests as
452 well as AODBC backend on Allegro,Lispworks.
453 SBCL and CMUCL don't work quite yet. Requires UFFI v1.4.11+
454 * db-odbc/*.lisp: Add ODBC3 function SQLSetEnvAttr
455 to explicitly set ODBC2 support. Add BIGINT support.
456 Add result-types support. Added SQLTables.
457 Fix array type in fetch-all-rows. Make width
458 changable by database or query.
459 * base/utils.lisp: Add process functions
460 * base/package.lisp: Export utils to CLSQL-BASE-SYS
461 * db-aodbc: Implement sequence functions,
462 database-list-tables, database-list-attributes
463 * tests/utils.lisp: Add support for ODBC backend,
464 rework READ-SPECS to use +all-db-types+
465 * db-mysql/mysql-sql.lisp: Use WITHOUT-INTERRUPTS
468 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
469 * Version 2.6.13. Requires UFFI version 1.4.9
470 * db-odbc/*.lisp: Further porting.
471 Pre-alpha code! But, basic query is now working.
473 13 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
475 * base/transactions.lisp: Add quote for macro
476 expansion of WITH-TRANSACTIONS [Time Howe]
477 * db-sqlite/sqlite-sql.lisp: Support memory database
478 in database-probe [Ng Pheng Siong]
479 * db-odbc/*.lisp: Initial port to UFFI of SQL-ODBC.
480 The DBI layer is not finished.
482 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
484 * sql/objects.lisp: add :root-class functionality for
485 list-classes and add duration type support [Marcus Pearce]
486 * db-odbc: Add mid-level [DBI] layer
488 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
490 * db-aodbc: Add methods for generic functions, some are
492 * clsql-odbc.asd, db-odbc/*.lisp: Initial start of ODBC
495 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
497 * base/package.lisp: Add missing symbols [Marcus Pearce]
499 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
501 * test/test-fddl.lisp: Cleanup fix [Marcus Pearce]
502 * utils/time.lisp: Multiple fixes [Marcus Pearce]
503 * sql/sql.lisp: Fix for truncate-database [Marcus Pearce]
505 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
507 * sql/*.lisp: Remove schema versioning cruft
509 * Makefile: Add classic subdirectory
511 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
513 * sql/sql.lisp: Fix TRUNCATE command, bug reported
515 * sql/sql.lisp: Remove EXPLAIN function. Postgresql/Oracle
516 specific and easy for an application to directly support.
517 Idea from Marcus Pearce.
518 * base/basic-sql.lisp: Remove DESCRIBE-TABLE top-level
519 API as duplicates LIST-ATTRIBUTE-TYPES [Marcus Pearce].
520 Keep low-level interface for future optimization
521 supporting LIST-ATTRIBUTE-TYPES command.
522 * Makefile: Add to db-sqlite and test directories.
523 Include them in top-level Makefile
525 12 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
527 * sql/relations.lisp: Add missing file
528 * utils/time.lisp: Fixes/extensions [Marcus Pearce]
529 * test/test-time.lips: New file [Marcus Pearce]
531 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
533 * test/test-init.lisp: Properly handle object
534 creation. Close database after use.
535 * sql/sql.lisp: Make DESCRIBE-TABLE a generic
536 function so can have methods specialized on
537 table being a string or an sql-table object.
538 * base/pool.lisp: Really fix CMUCL locking
540 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
542 * test/test-init.lisp: Signal correctly
543 if any errors occurred in any test suite
544 * base/loop-extensions.lisp: Fix error
545 introduced for Lispworks
546 * base/pool.lisp: Fix locking for CMUCL
547 * base/objects.lisp: Remove schema-version cruft
549 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
550 * Version 2.6.2: New CLSQL API functions:
551 DESCRIBE-TABLE AND TRUNCATE-DATABASE
552 Currently, this are only supported on :postgresql
553 and :postgresql-socket
554 * base/database.lisp: automatically load ASDF system
555 in CONNECT if not already loaded
556 * base/tests.lisp: disconnect database after testing
557 * base/*.lisp: Remove CLOSED-DATABASE type in favor
558 of storing open/closed status in slot of database
559 * base/pool.lisp: Support locks for CMUCL, OpenMCL, SBCL
560 * db-postgresql/postgresql-sql.lisp: add DATABASE-RECONNECT,
561 DATABASE-DESCRIBE-TABLE
562 * db-sqlite/sqlite-sql.lisp: Add missing slots in database
563 * base/conditions: Remove duplicate condition
564 * db-*/*-sql.lisp: Fill new database slot DATABASE-TYPE
565 * base/recording.lisp: Add new :QUERY type for recording
567 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
568 * Version 2.6.1: documentation fixes, merged
569 classic-tests into tests
571 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
572 * Version 2.6.0 released: New API functions
573 CREATE-DATABASE, DESTORY-DATABASE, PROBE-DATABASE
574 * doc/ref_clsql.xml: Document new functions
575 * base/database.lisp: New API functions
576 * base/conditions.lisp: Added CLSQL-ACCESS-ERROR
577 * base/utils.lisp: Fix use of position-char.
578 Add COMMAND-OUTPUT used by backends for running
579 external programs. Fix parsing of SQL*NET-compatible
581 * base/loop-extension.lisp: Simplify package use
582 for Lispworks and Allegro
583 * db-*/*-sql.lisp: Added DATABASE-CREATE,
584 DATABASE-DESTORY, PROBE-DATABASE methods
585 * tests/test-init.lisp, clasic-tests/tests.lisp:
586 Use destroy-database and create-database to ensure
587 testing with empty database
588 * tests/test-connection.lisp: Add tests for
589 parsing of string connection-specs
590 * examples/run-tests.sh: New file for running
591 test suite on all installed CL implementations
592 * examples/clsql-tutorial.lisp: moved from
594 * examples/dot.clsql-tests.config: New file
595 giving an example test configuration
596 * test/README: Add notes about rtest/ptester
597 downloads and link to sample test configuration file.
599 10 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
600 * Version 2.5.1 released:
601 * tests/*.lisp: Rework so tests are run
602 on multiple backends automatically based
603 on the contents of ~/.clsql-tests.config.
604 Reuse helper functions from classic-tests.
605 * base/database.lisp: Support connection-spec
606 as string for CONNECT
607 * classic-tests/tests.lisp: Automatically
608 load database backends as needed.
610 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
611 * Version 2.5.0 released:
612 All tests for CLSQL and CLSQL-CLASSIC pass
614 * base/loop-extension.lisp: Add Lispworks
615 loop-extension. Improve type specifying on
618 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
619 * Version 2.4.2 released:
620 loop extension now supported on Allegro, all
621 CLSQL-TESTS pass on Allegro.
622 * sql/metaclasses.lisp: Some optimization
623 of compute-slots, be selective when
624 ordered-class-slots needs to be called
625 instead of class-slots
626 * TODO: add URL with documentation on
627 extending Lispworks LOOP form
629 09 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
630 * Version 2.4.1 released: CLSQL-TESt suite passes
631 all tests for postgresql and CMUCL, SBCL, OpenMCL.
632 Allegro and Lispworks pass all tests except for
633 FDML/LOOP/1 since the loop extension have not yet
634 been ported to those implementions.
635 * sql/metaclasses.lisp: Added new slot to standard-db-class
636 to hold user-specified type. OpenMCL adjustments to compensate
637 for its type-predicate function. Since AllegroCL, Lispworks,
638 and OpenMCL have different slot orders, added compute-slots
639 and ordered-class-slots functions so their slot order matches
642 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
643 * Version 2.4.0 released: All tests for clsql-classic now finish
644 correctly on Allegro, Lispworks, CMUCL, SBCL, OpenMCL for
645 mysql, postgresql, postgresql-sockets, and sqlite backends.
646 * db-mysql/mysql-sql.lisp: Fix array dereferencing
647 * classic-tests/tests.lisp: Fix package name of
648 number-to-sql-string.
649 * clsql.asd/clsql-tests.asd: Add support for asdf:test-op
650 * db-sqlite/sqlite-api-{uffi,sql}.lisp: Multiple UFFI fixes,
651 now passes tests on all support UFFI platforms.
652 * db-postgresql-socket/postgresql-socket-api.list: Ported to
654 * multiple: Finish renaming of :types keyword to :result-types for
655 greater CommonSQL compatibility, including documentation
656 * sql/basic-cmds.lisp: Remove obsolete file
658 08 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
659 * Version 2.3.3 released
660 * Fixes for sequences on mysql and sqlite [Marcus Pearce]
661 * Fixes for uffi sqlite backend [Aurelio Bignoli / Kevin Rosenberg]
662 * Fix for schema table [Marcus Pearce]
663 * Add loop extension support for SBCL and OpenMCL [Marcus Pearce]
664 * Fixes to test suite [Marcus Pearce]
666 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
667 * db-*/*-sql.lisp: Ensure that expr in
668 database-query-result-set is a string
669 * Documentation integration
671 06 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
672 * With for Marcus Pearce's excellent work, I've merged
673 his clsql-usql port into clsql. The original clsql
674 interface is available in the clsql-classic package.
676 02 Apr 2004 Kevin Rosenberg (kevin@rosenberg.net)
677 * Integrate patch from Marcus Pearce <ek735@soi.city.ac.uk>
678 adding further support for providing backend for UncommonSQL
680 10 Mar 2004 Kevin Rosenberg (kevin@rosenberg.net)
681 * Integrate patch from Aurelio Bignoli for SQLite backend
683 11 Nov 2003 Kevin Rosenberg (kevin@rosenberg.net)
684 * Converted documentation to XML format
685 * Made package installable with asdf-install
687 23 Jul 2003 Kevin Rosenberg (kevin@rosenberg.net)
688 * Add for-each-row macro
690 12 Dec 2002 Kevin Rosenberg (kevin@rosenberg.net)
691 * uffi/clsql-uffi.lisp: return NIL for numeric fields that are NULL
693 16 Oct 2002 Kevin Rosenberg (kevin@rosenberg.net)
694 * Add support for SBCL, OpenMCL, and SCL
695 * Add *load-truename* to search path for clsql's
698 01 Sep 2002 Kevin Rosenberg (kevin@rosenberg.net)
699 * Rework use of file types in .asd files
701 17 Aug 2002 Kevin Rosenberg (kevin@rosenberg.net)
702 * Add .asd definition files for ASDF users
704 31 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
705 * Restructure directories for Common Lisp Controller v3 compatibility
707 25 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
708 * Also change case of logical host in loader files
709 * Rework handling of logical pathnames
711 05 Jul 2002 Kevin Rosenberg (kevin@rosenberg.net)
712 * Change case of logical host
714 14 May 2002 Kevin Rosenberg (kevin@rosenberg.net)
715 * clsql-base.system: Added base package that can be used without
716 high-level SQL commands. Used for adding support for UncommonSQL.
717 * *.system: Reworked logical pathnames to be more consistent with
718 Common Lisp Controller.
719 * debian/*: Completed initial Debian support
721 10 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
723 * sql/transactions.cl:
724 Added transaction support. Functions/macros added:
725 with-transaction, commit-transaction, rollback-transaction,
726 add-transaction-commit-hook, add-transaction-rollback-hook
728 04 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
732 Added pool support in connect/disconnect and with-database.
733 Removed with-db-from-pool as with-database can now works with the connections pool
735 01 May 2002 Marc Battyani (marc.battyani@fractalconcept.com)
740 Completed connection pool.
741 Added with-db-from-pool macro.
743 27 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
745 Added initial support for connection pool
746 * sql/transactions.cl
747 Took transaction code from UncommonSQL and integrated
748 into CLSQL code. See file for disclaimer about why this
751 23 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
752 * interfaces/postgresql/postgresql-sql.cl:
753 Fix keyword typo in database-read-large-object
754 * interfaces/mysql/mysql-loader.cl
756 * test-suite/tester-clsql.cl
757 Fix type coercion of double-float
759 Added debian docbook catalog, made it the default
761 19 Apr 2002 Marc Battyani (marc.battyani@fractalconcept.com)
762 * interface/postgresql/postgresql-api.cl:
763 * interface/postgresql/postgresql-sql.cl:
765 * sql/db-interface.cl:
766 Added large objects support for postgresql.
768 07 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
769 * src/postgresql-socket/postgresql-socket-api.cl:
770 Fixed find-foreign-function call, eliminated crypt warning
772 Multiple improvements
774 Moved functionality from low-level interfaces to this file
775 via generic functions
776 * test-suite/tester.cl:
777 Added test with acl-compat-tester, moved others to old-tests
780 06 Apr 2002 Kevin Rosenberg (kevin@rosenberg.net)
782 Reinstated commented out sections
783 * interfaces/postgresql/postgresql-loader.cl:
784 * interfaces/mysql/mysql-loader.cl:
785 Updated find-forieign-library support.
786 * interfaces/postgresql-socket/postgresql-socket-package.cl:
787 Fixed require form for Lispworks (Thanks Marc Battyani!)
788 * interfaces/postgresql-socket/postgresql-socket-api.cl:
789 Fixed eval of def-function for crypt library.
791 31 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
792 * Added interface to support USQL high-level rouines
794 29 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
795 * Separated db-interface and conditions from sql/sql.cl
796 * Improved foreign library loading testing
797 * interfaces/postgresql/postgresql-api.cl
798 Added PQisBusy function
799 * interfaces/clsql-uffi/clsql-uffi.cl
800 Fixed sign error for 64-bit processing
802 27 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
803 * interfaces/postgresql-socket/postgresql-socket-api.cl:
804 Fixes to read-double-from-socket. Added 64-bit integer support.
805 * test-suite/xptest-clsql.cl
806 Added testint for 64-bit integers
807 * Additons to installation docs
809 26 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
810 * interfaces/postgresql-socket/postgresql-socket-api.cl:
811 Implemented direct socket reading for field type :double
812 * Added usage information for :types to documentation
813 * interfaces/mysql/mysql-sql.cl: Fixed type specifiers in atoi,
815 * interfaces/clsql-uffi: Created new directory. Split common
816 interface routines that use UFFI into this package. Required
817 especially to support direct reading of 64-bit integers into
818 bignums and bypassing temporary strings.
819 * test-clsql.cl: Updated to test postgresql-socket's
820 read-double-from-socket function.
821 * test-suite/xptest-clsql.cl
822 Started work on test suite
824 25 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
825 * interfaces/mysql/mysql-api.cl: Added mysql-fetch-fields,
826 mysql-fetch-field-direct Got :auto types working
827 * interfaces/postgresql/postgresql-api.cl
828 * interfaces/postgresql-socket/postgresql-socket-api.cl
829 Added pgsql-field-types enum. Got :auto types working.
831 Renamed :field-types to :types.
833 24 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
834 * Added field-types parameter to query, database-query,
835 database-query-result-set, map-query. Haven't added code
836 to utilize field types, yet.
837 * Changed postgresql-socket result set from cons to a structure
838 * Updated test-clsql.cl to use automated testing with a config
840 * Changed return types of field accessors from cstring to
841 (* :unsigned-char). This prepares for being able to use specified
842 type conversions when taking field data into lisp.
843 * Added field-type processing for most interfaces. Not done yet.
845 23 Mar 2002 Kevin Rosenberg (kevin@rosenberg.net)
846 * doc/ref.sgml: Updated MAP-QUERY example to use
847 *read-default-float-format* (John Foderaro)
848 * Extensive work to foreign library loaders and .system files to
849 check for successful loading of foreign libraries.
850 * Modified test-clsql.cl to allow more modularity and
851 automated testing in future release.
852 * mysql/mysql-sql.lisp: Added field types
854 01 Jan 2002 Kevin Rosenberg (kevin@rosenberg.net)
855 * mysql/mysql-sql.lisp:
856 - Added support for Allegro CL and Lispworks using UFFI layer
857 - Changed database-connect to use mysql-real-connect. This way,
858 can avoid using double (unwind-protect)
859 - Changed database-connect to have MySQL library allocate space
860 for MYSQL structure. This will make the code more robust in
861 the event that MySQL library changes the size of the mysql-mysql