From: Nathan Bird Date: Fri, 27 Feb 2009 22:48:05 +0000 (-0500) Subject: Don't declare the the column precisions to be a fixnum since odbc implementations... X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=83e8fc53297d449257face2741b78169c429059d Don't declare the the column 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 fb33f52..6d462e9 100644 --- a/db-odbc/odbc-dbi.lisp +++ b/db-odbc/odbc-dbi.lisp @@ -102,7 +102,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)