X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-odbc%2Fodbc-dbi.lisp;h=90cea24f1e8049c863ed0e883c6033322ea1f4cb;hp=a3eb50b1817c699dd8343c53e22d205962646a45;hb=ca0cd6368e2847f7852e68dd370b41fbf1ad076f;hpb=4fa0aba28de88bf4db5e979152d90e01f8a365f2 diff --git a/db-odbc/odbc-dbi.lisp b/db-odbc/odbc-dbi.lisp index a3eb50b..90cea24 100644 --- a/db-odbc/odbc-dbi.lisp +++ b/db-odbc/odbc-dbi.lisp @@ -474,7 +474,7 @@ This makes the functions db-execute-command and db-query thread safe." (#.odbc::$SQL_C_TYPE_TIMESTAMP :time) (#.odbc::$SQL_C_CHAR ;; TODO: Read this as rational instead of double (or (case (aref column-sql-types i) - (#.odbc::$SQL_NUMERIC :double)) + ((#.odbc::$SQL_NUMERIC #.odbc::$SQL_DECIMAL) :double)) T)) (t t)))