From: Nathan Bird Date: Fri, 27 Feb 2009 22:48:05 +0000 (-0500) Subject: Don't declare the the oclumn precisions to be a fixnum since odbc implementations... X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=d39d60ec68a2f5c2909b891ca949cb5ca39d39f5;p=clsql.git Don't declare the the oclumn precisions to be a fixnum since odbc implementations like to set it to 2147483647, we aren't going to allocate anything of this size, we use guards such as max-precision on that. --- diff --git a/db-odbc/odbc-dbi.lisp b/db-odbc/odbc-dbi.lisp index 6723a1a..58ef2d7 100644 --- a/db-odbc/odbc-dbi.lisp +++ b/db-odbc/odbc-dbi.lisp @@ -104,7 +104,7 @@ :accessor data-ptrs) (column-out-len-ptrs :initform (make-array 0 :adjustable t :fill-pointer t) :accessor column-out-len-ptrs) - (column-precisions :initform (make-array 0 :element-type 'fixnum :adjustable t :fill-pointer t) + (column-precisions :initform (make-array 0 :element-type 'integer :adjustable t :fill-pointer t) :accessor column-precisions) (column-scales :initform (make-array 0 :element-type 'fixnum :adjustable t :fill-pointer t) :accessor column-scales)