patch for odbc-api

Yaroslav Kavenchuk <[email protected]> Fri, 04 Nov 2005 14:54:28 +0200
Newsgroups gmane.lisp.clsql.devel
Message-ID <[email protected]>
CLSQL 3.3.3

--- odbc-api.lisp Sun Oct 30 19:21:10 2005
+++ odbc-api.lisp Fri Nov  4 12:48:00 2005
@@ -164,7 +164,7 @@

 (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)

Thanks!

-- 
WBR, Yaroslav Kavenchuk.