X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fdb-interface.lisp;h=031d1e8ae7fb7b8f632acd056b398bcd288550dd;hb=dfb6230f04c4c2129b89d1d421c01bbc3f9fd57f;hp=ada842d69d4efd2cffb0a9831fb2ef95e1691bea;hpb=e567409d9fff3f7231c2a0bb69b345e19de2b246;p=clsql.git diff --git a/sql/db-interface.lisp b/sql/db-interface.lisp index ada842d..031d1e8 100644 --- a/sql/db-interface.lisp +++ b/sql/db-interface.lisp @@ -129,7 +129,7 @@ returns nil when result-set is finished.")) (defgeneric database-probe (connection-spec type) (:method (spec type) (declare (ignore spec)) - (warn "database-proe not support for database-type ~A." type)) + (warn "database-probe not support for database-type ~A." type)) (:documentation "Probes for the existence of a database, returns T if database found or NIL if not found. May signal an error if unable to communicate with database server.")) @@ -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)