projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r10268: add compatibility for sbcl-amd64
[clsql.git]
/
sql
/
expressions.lisp
diff --git
a/sql/expressions.lisp
b/sql/expressions.lisp
index 3a2532aafbb18e8c8e8d7ef502583deb42ab50a9..96013deaae1a25883dbb497cd7a3e5138907ad57 100644
(file)
--- a/
sql/expressions.lisp
+++ b/
sql/expressions.lisp
@@
-356,7
+356,7
@@
(defmethod collect-table-refs ((sql sql-function-exp))
(let ((tabs nil))
(defmethod collect-table-refs ((sql sql-function-exp))
(let ((tabs nil))
- (dolist (exp (slot-value sql '
component
s))
+ (dolist (exp (slot-value sql '
arg
s))
(let ((refs (collect-table-refs exp)))
(if refs (setf tabs (append refs tabs)))))
(remove-duplicates tabs
(let ((refs (collect-table-refs exp)))
(if refs (setf tabs (append refs tabs)))))
(remove-duplicates tabs
@@
-694,7
+694,7
@@
uninclusive, and the args from that keyword to the end."
stmt
(write-string "DELETE FROM " *sql-stream*)
(typecase from
stmt
(write-string "DELETE FROM " *sql-stream*)
(typecase from
- (
symbol
(write-string (sql-escape from) *sql-stream*))
+ (
(or symbol string)
(write-string (sql-escape from) *sql-stream*))
(t (output-sql from database)))
(when where
(write-string " WHERE " *sql-stream*)
(t (output-sql from database)))
(when where
(write-string " WHERE " *sql-stream*)
@@
-830,8
+830,8
@@
uninclusive, and the args from that keyword to the end."
;;
(defmethod database-output-sql ((str string) database)
;;
(defmethod database-output-sql ((str string) database)
- (declare (
ignore database
)
-
(optimize (speed 3) (safety 1)
#+cmu (extensions:inhibit-warnings 3))
+ (declare (
optimize (speed 3) (safety 1
)
+
#+cmu (extensions:inhibit-warnings 3))
(simple-string str))
(let ((len (length str)))
(declare (type fixnum len))
(simple-string str))
(let ((len (length str)))
(declare (type fixnum len))