Skip to content

Commit

Permalink
fixed the latest commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Mar 1, 2012
1 parent f7e4e7c commit dd0ea86
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/driver.lisp
Expand Up @@ -170,12 +170,11 @@ For example, in case of MySQL and PostgreSQL, backslashes must be escaped by dou
(if params (if params
(with-output-to-string (out) (with-output-to-string (out)
(loop for part in sql-parts (loop for part in sql-parts
for param = (pop params)
do do
(let ((param (pop params))) (let ((param (pop params)))
(write-sequence (write-sequence
(if param (if param
(concatenate 'string part "'" param "'") (concatenate 'string part (param-to-sql param))
part) part)
out)))) out))))
sql))))) sql)))))

0 comments on commit dd0ea86

Please sign in to comment.