libattachsql/libattachsql — pull request #22 by LinuxJedi (2014-08-07 21:29:13+00:00)
Title: Check buffer before poll

Sometimes we may already have the data we are polling for in the buffer.
A common example is multi-statement result sets. Check the buffer for
packets before trying to pull more off the network.

Fixes #21