…se node-mysql-queues without node-mysql. :)
Minor performance improvement (thanks to dimatron)
…a callback function. Addresses issue #14
…rogress. This fixes a bug described in issue #12. The gist of the issue is that Queue.commit() calls Queue.resume(), which calls Queue.execute(). Therefore, execute() gets called one too many times. What ends up happening is that execute() incorrectly returns control to the main queue too early. Then, the next transaction starts to execute in the callback of the first transaction. Finally, the first commit's callback finishes, which returns control back to the main queue again... again, too early, which causes the second transaction to auto-commit. This is unexpected, though, so when you finally "really" commit() or rollback(), an exception occurs. Phew! But, now it's fixed, so no worries. Thanks to @myndzi for uncovering the bug.
Fixes a bug when using multiple MySQL clients by replacing module-scoped variables with local variables. This allows different pieces of memory for each instance of node-mysql-queues used on a MySQL client.
…in all caps. >:O
…commit() was changed to fix issue #5. API did not really change at all. Documentation updated slightly.