From: Kevin Rosenberg Date: Fri, 4 Sep 2009 17:57:30 +0000 (-0600) Subject: Fix transposed letters X-Git-Tag: v4.1.1~9 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=e9e1a810cd690a31c0258f1aad313aeae18a8906 Fix transposed letters --- diff --git a/ChangeLog b/ChangeLog index b1108b6..1be57d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,17 +1,19 @@ 04 Sep 2009 Kevin Rosenberg * sql/fdml.lisp: Rework do-query to use supplied database - parameter when passed a sql-object-query + parameter when passed a sql-object-query (thanks to JTK ) * sql/generic-postgresql.lisp: Allow optional connect parameters for postgresql databases (thanks to Stephen Compall) + * doc/ref-{clsql,connect}.xml, sql/db-interfaces.lisp: + Fix transposed letters (thanks to Stephen Compall) 31 Aug 2009 Kevin Rosenberg - * sql/db-interface.lisp: Fix spelling error (thanks to + * sql/db-interface.lisp: Fix spelling error (thanks to David Thompson) * clsql-mysql.asd/db-mysql/mysql-loader.lisp: Commit patch from Andreas Franke to honor windows drive letter when loading clsql_mysql C library. - + 31 Aug 2009 Kevin Rosenberg * Version 4.1.0 * db-mysql/mysql-{sql,api}.lisp,db-mysql/clsql_mysql.c: @@ -35,7 +37,7 @@ in database-list function (thanks to Michael Pheasant) * sql/oodml.lisp: Allow NULL values for floating-point fields (thanks to Jan Rychter) - + 02 Jun 2009 Kevin Rosenberg * Version 4.0.5 * sql/database.lisp: Add process-lock for deleting database from diff --git a/doc/ref-clsql.xml b/doc/ref-clsql.xml index d483332..b44ac4d 100644 --- a/doc/ref-clsql.xml +++ b/doc/ref-clsql.xml @@ -1510,7 +1510,7 @@ error: 'Access denied for user: 'root@localhost' (Using password: YES)' => Error: While trying to access database localhost/test2/root using database-type POSTGRESQL: - Error database-destory failed: dropdb: database removal failed: ERROR: database "test2" does not exist + Error database-destroy failed: dropdb: database removal failed: ERROR: database "test2" does not exist has occurred. [condition type: CLSQL-ACCESS-ERROR] diff --git a/doc/ref-connect.xml b/doc/ref-connect.xml index 56dd15a..d9c992e 100644 --- a/doc/ref-connect.xml +++ b/doc/ref-connect.xml @@ -1825,7 +1825,7 @@ error: 'Access denied for user: 'root@localhost' (Using password: YES)' => Error: While trying to access database localhost/test2/root using database-type POSTGRESQL: - Error database-destory failed: dropdb: database removal failed: ERROR: database "test2" does not exist + Error database-destroy failed: dropdb: database removal failed: ERROR: database "test2" does not exist has occurred. [condition type: CLSQL-ACCESS-ERROR] diff --git a/sql/db-interface.lisp b/sql/db-interface.lisp index 47fc3fd..031d1e8 100644 --- a/sql/db-interface.lisp +++ b/sql/db-interface.lisp @@ -141,17 +141,14 @@ if not found. May signal an error if unable to communicate with database server. (:documentation "Lists all databases found for TYPE. May signal an error if unable to communicate with database server.")) -(defgeneric database-destroy (connection-spec database) - (:documentation "Destroys (drops) a database.")) - (defgeneric database-truncate (database) (:method ((database t)) (signal-no-database-error database)) (:documentation "Remove all data from database.")) -(defgeneric database-destory (connection-spec type) +(defgeneric database-destroy (connection-spec type) (:documentation - "Destroys a database, returns T if successfull or signals an error + "Destroys (drops) a database, returns T if successfull or signals an error if unable to destory.")) (defgeneric database-create-sequence (name database)