Add optimization that correctly allows resultset to iterate row by row, rather than buffering the entire thing into memory.  Not sure why MySQL defaults to this behavior...