X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fsql.lisp;h=79bf6cd037bc223b4086fa482df59275bb2d5b01;hb=3a3ccc7a171dc4c6c10bc7e3fea8461fca6dc51b;hp=0a0d2f3fef16dc5c4663f6a1c3e2d51d2ff2cd1d;hpb=a56b464f5cd084bb8cc493a150b49a6033f48143;p=clsql.git diff --git a/sql/sql.lisp b/sql/sql.lisp index 0a0d2f3..79bf6cd 100644 --- a/sql/sql.lisp +++ b/sql/sql.lisp @@ -243,10 +243,11 @@ condition is true." (if (or (null thing) (eq 'null thing)) "NULL" - (error 'clsql-simple-error - :format-control - "No type conversion to SQL for ~A is defined for DB ~A." - :format-arguments (list (type-of thing) (type-of database))))) + (error 'sql-user-error + :message + (format nil + "No type conversion to SQL for ~A is defined for DB ~A." + (type-of thing) (type-of database))))) (defmethod output-sql-hash-key ((arg vector) database)