Skip to content

Commit

Permalink
Fix the SQL parser to parse quoted-strings correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Feb 12, 2024
1 parent 4111b56 commit 53250af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/migration/sql-parse.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
(and #\\ #\$)))
pg-dollar-sign))
(:destructure (d1 content d2)
(format nil "~{~A~}~{~A~}~{~A~}" d1 content d2)))
(format nil "~A~A~A" d1 (coerce content 'string) d2)))

(defrule space (or #\Space #\Newline #\Return #\Tab))

Expand Down

0 comments on commit 53250af

Please sign in to comment.