X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-odbc%2Fodbc-dbi.lisp;fp=db-odbc%2Fodbc-dbi.lisp;h=3abce4aa8015e0a564574cb8381b22d4d19e00b7;hp=5c57c2e7afed17ee53df894ac4865195fda893ff;hb=8535462c3fdef182cd226770e6e07160f380acac;hpb=e336ab9b5b48fe3f28737386eded4c8f897e25f6 diff --git a/db-odbc/odbc-dbi.lisp b/db-odbc/odbc-dbi.lisp index 5c57c2e..3abce4a 100644 --- a/db-odbc/odbc-dbi.lisp +++ b/db-odbc/odbc-dbi.lisp @@ -465,6 +465,11 @@ This makes the functions db-execute-command and db-query thread safe." (#.odbc::$SQL_C_STINYINT :short) (#.odbc::$SQL_C_SBIGINT #.odbc::$ODBC-BIG-TYPE) (#.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)) + T)) + (t t))) (t t))))) query)