X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-odbc%2Fodbc-dbi.lisp;h=3abce4aa8015e0a564574cb8381b22d4d19e00b7;hb=d86f73be9a261b9c071ab905aeff5d1ee30a3f31;hp=5c57c2e7afed17ee53df894ac4865195fda893ff;hpb=d93955e3f6ad71eb27f334c50f997b4d351724c3;p=clsql.git 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)