r9221: Test for boolean slots.
authorMarcus Pearce <m.t.pearce@city.ac.uk>
Tue, 4 May 2004 12:35:35 +0000 (12:35 +0000)
committerMarcus Pearce <m.t.pearce@city.ac.uk>
Tue, 4 May 2004 12:35:35 +0000 (12:35 +0000)
ChangeLog
tests/test-oodml.lisp

index 0f99960751920ec87a196c2ff68d1b620fe6d0c7..a62b6bbcbf30ef2feb11be9309e4737cea536924 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,9 @@
 4 May 2004 Marcus Pearce (m.t.pearce@city.ac.uk) 
        * sql/objects.lisp: added derived type specifier for universal time. 
        * sql/package.lisp: added #:universal-time to clsql-sys exports. 
-
+       * tests/test-oodml.lisp: added test for translation of boolean slots 
+       in SELECT with object queries. 
+       
 3 May 2004 Kevin Rosenberg (kevin@rosenberg.net)
        * db-odbc/odbc-api.lisp: Fix changing nil to "NIL" 
        for odbc/postgresql backend.
index 84046fcdd20167045e0c5d411cbde4ec8356f8ac..9969abde55dc504ac479eedd358a7eda907a9730 100644 (file)
        (slot-value a 'postal-code)))
   nil "" "no city" 0)
 
+(deftest :oodml/select/10 
+    (mapcar #'(lambda (e) (slot-value e 'married)) 
+              (clsql:select 'employee :flatp t :order-by [emplid]))
+  (T T T NIL NIL NIL NIL NIL NIL NIL))
+
 ;; tests update-records-from-instance 
 (deftest :oodml/update-records/1
     (values