allow setting the odbc::*time-conversion-function* to work by
[clsql.git] / db-odbc / odbc-dbi.lisp
index 86929d7806ccf502df78415fb84417fcdb99728e..4611cfe232aad6b728d12626b6eac3ea1d6d4f4d 100644 (file)
@@ -465,6 +465,11 @@ This makes the functions db-execute-command and db-query thread safe."
                 (#.odbc::$SQL_C_SSHORT :short)
                 (#.odbc::$SQL_C_STINYINT :short)
                 (#.odbc::$SQL_C_SBIGINT #.odbc::$ODBC-BIG-TYPE)
+                (#.odbc::$SQL_C_TYPE_TIMESTAMP :time)
+                (#.odbc::$SQL_C_CHAR
+                   (case (aref column-sql-types i)
+                     (#.odbc::$SQL_NUMERIC :double)
+                     (t t)))
                 (t t)))
              (t t)))))
   query)