FSX/momoko — pull request #29 by stevearc (2012-09-07 22:39:19+00:00)
Title: Bug fix for large queries

Commit comments say it all. There's two commits here, one to fix the broken behavior on large queries, and one to handle database connections going down temporarily. If you don't like the implementation feel free to decline the pull request and make the changes however you see fit, but I thought I'd pass on this fix in the hope of preventing other people from running into the same issue.