mysql-native v1.2.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.

http

//www.mysqlperformanceblog.com/2007/07/08/mysql-net_write_timeout-vs-wait_timeout-and-protocol-notes/