fixed bad SQL_C_SBIGINT call that must have been a bad merge
authorRuss Tyndall <russ@acceleration.net>
Mon, 27 Jun 2011 18:15:01 +0000 (14:15 -0400)
committerNathan Bird <nathan@acceleration.net>
Mon, 27 Jun 2011 20:53:54 +0000 (16:53 -0400)
db-odbc/odbc-api.lisp

index 5d2acf964e88c5b1c25b60a3d2e984e18de3bced..79b38f2668dc4994f035576bb259f486705de212 100644 (file)
@@ -702,8 +702,7 @@ as possible second argument) to the desired representation of date/time/timestam
                        (get-cast-binary data-ptr out-len *binary-format*))
                       ((#.$SQL_C_SSHORT #.$SQL_C_STINYINT) ; LMH short ints
                        (get-cast-short data-ptr)) ; LMH
-                      (#.$SQL_C_SBIGINT (uffi:allocate-foreign-object #.$ODBC-BIG-TYPE)
-                       (get-cast-short data-ptr))
+                      (#.$SQL_C_SBIGINT (get-cast-big data-ptr))
                       #+ignore
                       (#.$SQL_C_CHAR
                        (code-char (get-cast-short data-ptr)))