projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9490: fix for odbc/postgresql bigint strings
[clsql.git]
/
db-odbc
/
odbc-constants.lisp
diff --git
a/db-odbc/odbc-constants.lisp
b/db-odbc/odbc-constants.lisp
index 2f52d9de93198f97edc303545209ccfda005087c..e967729e63559d6209b8e8ef20cb72b40cf56c6b 100644
(file)
--- a/
db-odbc/odbc-constants.lisp
+++ b/
db-odbc/odbc-constants.lisp
@@
-6,7
+6,7
@@
;;;; Purpose: Constants for UFFI interface to ODBC
;;;; Authors: Kevin M. Rosenberg and Paul Meurer
;;;;
;;;; Purpose: Constants for UFFI interface to ODBC
;;;; Authors: Kevin M. Rosenberg and Paul Meurer
;;;;
-;;;; $Id
: odbc-package.lisp 7061 2003-09-07 06:34:45Z kevin
$
+;;;; $Id$
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2004 by Kevin M. Rosenberg
;;;; and Copyright (C) Paul Meurer 1999 - 2001. All rights reserved.
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2004 by Kevin M. Rosenberg
;;;; and Copyright (C) Paul Meurer 1999 - 2001. All rights reserved.
@@
-18,6
+18,10
@@
(in-package #:odbc)
(in-package #:odbc)
+;; on SuSE AMD64 9.0, unixODBC is compiled with with SQLLEN being 4 bytes long
+(defconstant $ODBC-LONG-TYPE :int)
+(defconstant $ODBC-ULONG-TYPE :unsigned-int)
+
(defconstant $ODBCVER #x0210)
;; generally useful constants
(defconstant $ODBCVER #x0210)
;; generally useful constants
@@
-944,9
+948,14
@@
(defconstant $SQL_FETCH_RELATIVE 6)
(defconstant $SQL_FETCH_BOOKMARK 8)
(defconstant $SQL_FETCH_RELATIVE 6)
(defconstant $SQL_FETCH_BOOKMARK 8)
-;;; ODBC v3 constants
+;;; ODBC v3 constants
, added by KMR
(defconstant $SQL_ATTR_ODBC_VERSION 200)
(defconstant $SQL_OV_ODBC2 2)
(defconstant $SQL_OV_ODBC3 3)
(defconstant $SQL_ATTR_ODBC_VERSION 200)
(defconstant $SQL_OV_ODBC2 2)
(defconstant $SQL_OV_ODBC3 3)
+(defconstant $SQL_INDEX_UNIQUE 0)
+(defconstant $SQL_INDEX_ALL 1)
+(defconstant $SQL_QUICK 0)
+(defconstant $SQL_ENSURE 1)
+