X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-db2%2Fdb2-constants.lisp;h=bb597ef7b7d2b6edc964aab66746ca1512914007;hp=01007a635f2ff94fbfd3b6419a958926cbc3320c;hb=6b34e2293a52b03e8611c85e4e53a0ab5c8a3c1a;hpb=2f1b6b521b5c68e249428209a7da57f75e55da47 diff --git a/db-db2/db2-constants.lisp b/db-db2/db2-constants.lisp index 01007a6..bb597ef 100644 --- a/db-db2/db2-constants.lisp +++ b/db-db2/db2-constants.lisp @@ -16,9 +16,13 @@ (in-package #:clsql-db2) -(defconstant SQL_NULL_HANDLE 0) +(defconstant SQL_NULL_HANDLE nil) (defconstant SQL_HANDLE_ENV 1) (defconstant SQL_HANDLE_DBC 2) (defconstant SQL_HANDLE_STMT 3) (defconstant SQL_NTS -3) +(defconstant SQL_ERROR -1) +(defconstant SQL_SUCCESS 0) +(defconstant SQL_SUCCESS_WITH_INFO 1) +