X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-odbc%2Fodbc-dbi.lisp;h=90cea24f1e8049c863ed0e883c6033322ea1f4cb;hp=a3eb50b1817c699dd8343c53e22d205962646a45;hb=9fe9142259cca16202f35f66cbb35419752dd54d;hpb=30186614582039bdc3d3f86bc5165ef300c5d3e0 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)))