Browse files

(fixes #4) Incorrect defmethod (thank to Juan José García Ripoll)

  • Loading branch information...
1 parent 99be360 commit 0f68794917b22f4eadc5e93318474fb1fe40581d @fukamachi committed Oct 29, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/driver.lisp
@@ -76,6 +76,9 @@ Driver should be named like '<DBD-SOMETHING>' for a database 'something'."
(:documentation "Class that represents a prepared DB query."))
+(defgeneric prepare (conn sql &key))
(defmethod prepare ((conn <dbi-connection>) (sql string) &key (query-class '<dbi-query>))
"Preparing executing SQL statement and returns a instance of `<dbi-query>`.
This method may be overrided by subclasses."

0 comments on commit 0f68794

Please sign in to comment.