X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=sql%2Fmetaclasses.lisp;h=d942c6ddc9a0e10d51ee3c4f0391459bd5188de4;hb=4871b9ef13ed1cf4f7ef927bd026ca19e845f53c;hp=f6bbd3f68369ca2e065741e5abbccb92989893c2;hpb=008ef476827e2b4ec81829f1e204e9f954017678;p=clsql.git diff --git a/sql/metaclasses.lisp b/sql/metaclasses.lisp index f6bbd3f..d942c6d 100644 --- a/sql/metaclasses.lisp +++ b/sql/metaclasses.lisp @@ -314,7 +314,13 @@ column definition in the database.") :accessor specified-type :initarg specified-type :initform nil - :documentation "Internal slot storing the :type specified by user."))) + :documentation "Internal slot storing the :type specified by user.") + (autoincrement-sequence + :accessor view-class-slot-autoincrement-sequence + :initarg :autoincrement-sequence + :initform nil + :documentation "A string naming the (possibly automatically generated) sequence +for a slot with an :auto-increment constraint."))) (defparameter *db-info-lambda-list* '(&key join-class @@ -530,7 +536,9 @@ implementations." ;; defclass expansion, which is too early for the CLSQL type ;; conversion to take place. This gets rid of it. It's ugly ;; but it's better than nothing -wcp10/4/10. - #+(and sbcl #.(cl:if (cl:find-symbol "%TYPE-CHECK-FUNCTION" :sb-pcl) '(and) '(or))) + #+(and sbcl #.(cl:if (cl:and (cl:find-package :sb-pcl) + (cl:find-symbol "%TYPE-CHECK-FUNCTION" :sb-pcl)) + '(list 'cl:and) '(list 'cl:or))) (setf (slot-value esd 'sb-pcl::%type-check-function) nil) )