go-sql-driver/mysql — pull request #170 by cxmcc (2013-11-11 11:19:45+00:00)
Title: Replace recursive approach with iterative approach for readPacket()

Possible benefits:
- Less expensive function calls and stack space.
- Probably make it easier for compression implementation since the loop gonna work on the same buffer (uncompressed payload).