bminer / node-mysql-queues

Wraps 'node-mysql' to provide mulitple query queues, allowing support for multiple statements and transactions.
MIT License
92 stars 11 forks source link

When Queue is not empty, cannot call commit() in a query callback to queue COMMIT #5

Closed bminer closed 12 years ago

bminer commented 12 years ago

When Queue is not empty, cannot call commit() in a query callback to queue COMMIT. That is, COMMIT is executed immediately, without waiting for the Queue to clear completely. This is because the original query callback causes the Queue to re-execute, causing the COMMIT query to be executed, as well.

This should be fixed in 0.3.2