mariano/node-db-mysql — pull request #74 by Tharit (2012-06-04 11:39:29+00:00)
Title: Problem with multiple result sets

The current release appears to be unable to handle queries returning multiple result sets.
Even a simple stored procedure (with just one select) call can therefore apparently result in all further queries triggering the error "Commands out of sync; you can't run this command now" because not all result sets are processed.

I've added a simple "workaround" to the Results class, that discards all additional sets, so that at least the first one can be used, and the connection remains error free.

P.S.: Had a typo in my first pull request, just ignore that one, sorry :)