r10077: * multiple: Apply patch from Joerg Hoehle with multiple
[clsql.git] / tests / test-init.lisp
index e3a0a03098fbad4ae001f6cccd2dff56656f9e8f..b1a89341af6499018a7025cc7c4b0474519b1649 100644 (file)
            :db-info (:join-class address
                                  :home-key aaddressid
                                  :foreign-key addressid
+                                 :retrieval :immediate))
+   (employee :db-kind :join
+            :db-info (:join-class employee
+                                 :home-key aemplid
+                                 :foreign-key emplid
                                  :retrieval :immediate)))
   (:base-table "ea_join"))
 
                (clsql-sys:in test :fdml/query/8 :fdml/select/21 
                               :fddl/table/6))
           (push (cons test "syntax not supported") skip-tests))
-          ((and (not (member *test-database-underlying-type* 
+          ((and (eq *test-database-type* :odbc)
+               (eq *test-database-underlying-type* :postgresql)
+               (clsql-sys:in test :fddl/owner/1))
+           (push (cons test "table ownership not supported by postgresql odbc driver") skip-tests))
+         ((and (not (member *test-database-underlying-type* 
                              '(:postgresql :oracle)))
-                (clsql-sys:in test :fddl/owner/1))
+               (clsql-sys:in test :fddl/owner/1))
            (push (cons test "table ownership not supported") skip-tests))
          (t
           (push test-form test-forms)))))