joereynolds / sql-lint

An SQL linter
MIT License
437 stars 40 forks source link

reader interprets `;` inside of strings as statement end markers #260

Open pjungermann opened 11 months ago

pjungermann commented 11 months ago

putContentIntoLines from src/reader/reader.ts fails on any string 'This is text; with a semicolon.' and will break this into separate queries which will be all invalid.