FSX/momoko — pull request #28 by stevearc (2012-09-07 21:57:38+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.