X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-db2%2Fdb2-constants.lisp;h=74293759e2a61e2cf3dfcb40c0d6be4861ace4ce;hp=0b3f48efe633e06b7b341187485b1d0138af0a6d;hb=906d7a71b35ee1cd6d281623694bc90ced22c339;hpb=3770e7b13ca9fe756505f9cd90636ea18a5b5d63 diff --git a/db-db2/db2-constants.lisp b/db-db2/db2-constants.lisp index 0b3f48e..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 @@ -15,3 +13,14 @@ ;;;; ************************************************************************* (in-package #:clsql-db2) + +(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) +