Dont declare the the column precisions to be a fixnum since odbc
authorNathan Bird <nathan@acceleration.net>
Fri, 27 Feb 2009 22:48:05 +0000 (17:48 -0500)
committerNathan Bird <nathan@acceleration.net>
Mon, 20 Jun 2011 20:06:17 +0000 (16:06 -0400)
implementations like to set it to 2147483647, we arent going to
allocate anything of this size.

db-odbc/odbc-dbi.lisp

index a07a5ee5e7cf6bf8353f4d68d4e15a5176f3ab85..073bd746845df6d81cdf8436c3a3d2baade57efe 100644 (file)
                      :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)