projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update to debhelper 5
[clsql.git]
/
sql
/
expressions.lisp
diff --git
a/sql/expressions.lisp
b/sql/expressions.lisp
index 91a46d7fb2c6c30592056c6ea98c2c25e260aee7..746ed001ee608232be7f24e6f78d9591b62ac4bc 100644
(file)
--- a/
sql/expressions.lisp
+++ b/
sql/expressions.lisp
@@
-114,7
+114,7
@@
(write-string
(etypecase name
(string name)
(write-string
(etypecase name
(string name)
- (symbol (symbol-name name)
database
))
+ (symbol (symbol-name name)))
*sql-stream*))
t)
*sql-stream*))
t)
@@
-571,7
+571,8
@@
uninclusive, and the args from that keyword to the end."
(write-string "ON " *sql-stream*)
(output-sql distinct database)
(write-char #\Space *sql-stream*)))
(write-string "ON " *sql-stream*)
(output-sql distinct database)
(write-char #\Space *sql-stream*)))
- (output-sql (apply #'vector selections) database)
+ (let ((*in-subselect* t))
+ (output-sql (apply #'vector selections) database))
(when from
(write-string " FROM " *sql-stream*)
(flet ((ident-table-equal (a b)
(when from
(write-string " FROM " *sql-stream*)
(flet ((ident-table-equal (a b)