X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=inline;f=db-odbc%2Fodbc-api.lisp;fp=db-odbc%2Fodbc-api.lisp;h=0dcefa4090491a558299e624ca9586389fd7d2d7;hb=e4778554b1dc8a130f9b189d760730ce5d76ced4;hp=eb68f205b42c32ce248b6f1a217c389a992f75ad;hpb=cae6d8a460e682e53c50981a5cf5e19240a6b7a8;p=clsql.git diff --git a/db-odbc/odbc-api.lisp b/db-odbc/odbc-api.lisp index eb68f20..0dcefa4 100644 --- a/db-odbc/odbc-api.lisp +++ b/db-odbc/odbc-api.lisp @@ -164,7 +164,7 @@ as possible second argument) to the desired representation of date/time/timestam (defun %new-db-connection-handle (henv) (with-foreign-object (phdbc 'sql-handle) - (setf (deref-pointer phdbc sql-handle) +null-handle-ptr+) + (setf (deref-pointer phdbc 'sql-handle) +null-handle-ptr+) (with-error-handling (:henv henv) (SQLAllocHandle $SQL_HANDLE_DBC henv phdbc)