X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-db2%2Fdb2-constants.lisp;h=bb597ef7b7d2b6edc964aab66746ca1512914007;hb=56a0b7f90d30e321ca7e95f15dab3c43bd551e3f;hp=01007a635f2ff94fbfd3b6419a958926cbc3320c;hpb=2f1b6b521b5c68e249428209a7da57f75e55da47;p=clsql.git 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) +