[patch] make-load-form for sql-relational-exp
Alan Shields <[email protected]> Tue, 4 Oct 2005 17:56:07 -0500
| Newsgroups | gmane.lisp.clsql.devel |
|---|---|
| Message-ID | <[email protected]> |
While writing a macro, this bit me. Here's the fix. I think.
Thanks,
Alan
--- expressions.lisp.old 2005-10-04 17:51:04.000000000 -0500
+++ expressions.lisp 2005-10-04 17:53:01.000000000 -0500
@@ -229,6 +229,11 @@
:initform nil))
(:documentation "An SQL relational expression."))
+(defmethod make-load-form ((self sql-relational-exp) &optional environment)
+ (make-load-form-saving-slots self
+ :slot-names '(operator sub-expressions)
+ :environment environment))
+
(defmethod collect-table-refs ((sql sql-relational-exp))
(let ((tabs nil))
(dolist (exp (slot-value sql 'sub-expressions))