r9119: Automated commit for Debian build of clsql upstream-version-2.9.2
[clsql.git] / tests / test-basic.lisp
index a13c76efabad754aec378c875a4ab18318880f79..2a63c77846fafea1eee972e04650c3088377d84f 100644 (file)
@@ -84,7 +84,7 @@
     (clsql:execute-command 
      "DROP TABLE test_clsql" :database db))
   (clsql:execute-command 
-   "CREATE TABLE test_clsql (t_int integer, t_float double precision, t_bigint BIGINT, t_str CHAR(30))" 
+   "CREATE TABLE test_clsql (t_int integer, t_float double precision, t_bigint BIGINT, t_str VARCHAR(30))" 
    :database db)
   (dotimes (i 11)
     (let* ((test-int (- i 5))
       ((eq types :auto)
        (test (and (integerp int)
                  (typep float 'double-float)
-                 (or (eq db-type :aodbc)  ;; aodbc considers bigints as strings
+                 (or (member db-type '(:odbc :aodbc))  ;; aodbc considers bigints as strings
                      (integerp bigint)) 
                  (stringp str))
             t