weavejester / ragtime

Database-independent migration library
Eclipse Public License 1.0
610 stars 85 forks source link

Ignore SQL comments. #73

Closed sendai closed 9 years ago

sendai commented 9 years ago

Unescaped single quotes can be used in comments now. Also, warn if a non-blank SQL string results in an empty statement vector, since that probably means the SQL parser failed. Add addition test cases.

I know you're thinking of switch to edn, but this might still be useful.

weavejester commented 9 years ago

Fixed in 0.4 by having explicit SQL dividers