X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=tests%2Ftest-ooddl.lisp;h=3bbaa2d1d7f44a568660753c82d95aeb958139eb;hp=feb827ba707243859e5e046a6122026d69f8279e;hb=68290f0275c3193cd0413fb247a1395486747338;hpb=7293cac9edb2a3fccc83a99b11333d1762e11793 diff --git a/tests/test-ooddl.lisp b/tests/test-ooddl.lisp index feb827b..3bbaa2d 100644 --- a/tests/test-ooddl.lisp +++ b/tests/test-ooddl.lisp @@ -67,7 +67,8 @@ (clsql:execute-command "set datestyle to 'iso'")) (clsql:update-records [employee] :av-pairs `((birthday ,now)) :where [= [emplid] 1]) - (let ((dbobj (car (clsql:select 'employee :where [= [birthday] now])))) + (let ((dbobj (car (clsql:select 'employee :where [= [birthday] now] + :flatp t)))) (values (slot-value dbobj 'last-name) (clsql-base:time= (slot-value dbobj 'birthday) now)))) @@ -81,7 +82,8 @@ (dotimes (x 40) (clsql:update-records [employee] :av-pairs `((birthday ,now)) :where [= [emplid] 1]) - (let ((dbobj (car (clsql:select 'employee :where [= [birthday] now])))) + (let ((dbobj (car (clsql:select 'employee :where [= [birthday] now] + :flatp t)))) (unless (clsql-base:time= (slot-value dbobj 'birthday) now) (setf fail-index x)) (setf now (clsql-base:roll now :day (* 10 x)))))