r10325: * sql/oodml.lisp: Use explicit database in fault-join-target-slot
authorKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 10 Feb 2005 13:12:18 +0000 (13:12 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Thu, 10 Feb 2005 13:12:18 +0000 (13:12 +0000)
        [Patch from Walter Pelissero]

sql/oodml.lisp

index a5b080f01f15f1007c5be49b0513df84b113dbf9..d76712c2d6e7726c65b91675fb5ab65fc29a71c9 100644 (file)
                                :attribute (gethash :home-key tdbi) 
                                :table jc-view-table))
                          :where jq
                                :attribute (gethash :home-key tdbi) 
                                :table jc-view-table))
                          :where jq
-                         :result-types :auto)))
+                         :result-types :auto
+                         :database (view-database object))))
           (mapcar #'(lambda (i)
                       (let* ((instance (car i))
                              (jcc (make-instance jc :view-database (view-database instance))))
           (mapcar #'(lambda (i)
                       (let* ((instance (car i))
                              (jcc (make-instance jc :view-database (view-database instance))))