X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-db2%2Fdb2-constants.lisp;h=74293759e2a61e2cf3dfcb40c0d6be4861ace4ce;hp=01007a635f2ff94fbfd3b6419a958926cbc3320c;hb=906d7a71b35ee1cd6d281623694bc90ced22c339;hpb=2f1b6b521b5c68e249428209a7da57f75e55da47 diff --git a/db-db2/db2-constants.lisp b/db-db2/db2-constants.lisp index 01007a6..7429375 100644 --- a/db-db2/db2-constants.lisp +++ b/db-db2/db2-constants.lisp @@ -5,8 +5,6 @@ ;;;; Name: db2-constants.lisp ;;;; Purpose: Constants for CLSQL Db2 interface ;;;; -;;;; $Id$ -;;;; ;;;; This file is part of CLSQL. ;;;; ;;;; CLSQL users are granted the rights to distribute and use this software @@ -16,9 +14,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) +