r10094: removed obsolete clisp work-around
[clsql.git] / sql / expressions.lisp
index bcf1383189ff83a8c3ef47ce4a83ef4a674b6462..3a2532aafbb18e8c8e8d7ef502583deb42ab50a9 100644 (file)
@@ -67,7 +67,8 @@
 (defmethod print-object ((self %sql-expression) stream)
   (print-unreadable-object
    (self stream :type t)
-   (write-string (sql-output self) stream)))
+   (write-string (sql-output self) stream))
+  self)
 
 ;; For straight up strings
 
@@ -91,7 +92,8 @@
 (defmethod print-object ((ident sql) stream)
   (format stream "#<~S \"~A\">"
           (type-of ident)
-          (sql-output ident nil)))
+          (sql-output ident nil))
+  ident)
 
 ;; For SQL Identifiers of generic type