X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=db-db2%2Fdb2-sql.lisp;fp=db-db2%2Fdb2-sql.lisp;h=62247567debdf86e77022dd9de309e264d84323c;hb=510b3d1d2d18c73ca222fce2b711f1b2f5025ba0;hp=16aa2165cf3613808749948aa2b7440843f2b237;hpb=c8237b2b84003326358882da1d3f93919231a1de;p=clsql.git diff --git a/db-db2/db2-sql.lisp b/db-db2/db2-sql.lisp index 16aa216..6224756 100644 --- a/db-db2/db2-sql.lisp +++ b/db-db2/db2-sql.lisp @@ -55,8 +55,8 @@ `(the handle-type (uffi:deref-pointer (the handle-ptr-type ,foreign-object) cli-handle))) (defun db2-connect (db server user password) - (let ((henv (uffi:allocate-foreign-object cli-handle)) - (hdbc (uffi:allocate-foreign-object cli-handle))) + (let ((henv (uffi:allocate-foreign-object 'cli-handle)) + (hdbc (uffi:allocate-foreign-object 'cli-handle))) (sql-alloc-handle SQL_HANDLE_ENV SQL_NULL_HANDLE henv) (setf (slot-value db 'henv) henv) (setf (slot-value db 'hdbc) hdbc)