mysql-native v3.0.0
API Reference Home: [This Version] [Latest Version] [Other Versions]
Function Connection.purgeResult
Flush any outstanding result set elements.
ulong purgeResult();
When the server responds to a command that produces a result set, it
queues the whole set of corresponding packets over the current connection.
Before that Connection
can embark on any new command, it must receive
all of those packets and junk them.
As of v1.1.4, this is done automatically as needed. But you can still call this manually to force a purge to occur when you want.