In SchemeQL v.0.05, in the file sql.ss, a portion of the
macro "(define-syntax (insert stx) ..." that deals with
(_ table cols query-or-vals)
contains an incorrect argument in the call to
make-insertion (on line 900). The clause
((list? v) #cs(format "VALUES ( ~a )" (join-values (cons v rest)
should simply be
((list? v) #cs(format "VALUES ( ~a )" (join-values v #\,)))
At present, using the relevant "(insert ...)" form
causes the error "reference to undefined identifier: rest".
Altering the line as I have shown above makes the
I'd appreciate it if someone could drop me a note telling
me whether, having made this change to sql.ss, I should
recompile SchemeQL. And if so, how to do it. Cheers,
"Things ain't been the same since the blues walked into town."
-- Larry Love