sequelize/sequelize — pull request #2380 by little-big-h (2014-10-02 14:20:53+00:00)
Title: Prevent closing connections on transaction commit on sqlite in-memory databases

When committing transactions on in-memory (:memory:) sqlite databases the connection should not be closed - closing the connection causes the database to be dropped/reset. This request contains a test as well as a (somewhat hacky) solution to this problem.