sdepold/sequelize — pull request #324 by lmjohns3 (2012-11-14 18:49:23+00:00)
Title: escape strings containing ' in sqlite WHERE clauses

I just ran across a bug where a string containing ' that ended up in a WHERE clause on a Sqlite3 db was getting escaped with \' (the MySQL way) instead of '' (the Sqlite3 way). I added something of a hack to fix this in the smallest place I could find, but if you know more about the overall code flow and can suggest a better fix, please let me know.

Also, as far as I can see, the new test is working. However, a number of tests are currently not working in trunk, so it's possible that this is breaking something that I'm not seeing. Please advise.