You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we'd already taken some locks and then later get a lock error, only the statement that got the error is rolled back (I think this only applies to the readcurrent case). The other locks are kept until the transaction is rolled back. But if the client is busy, that could take some time. We should catch and handle that in the proc and immediately roll back.
MySQL condition handlers can't do much so the code will be ugly, and we'll have to explicitly SIGNAL to "reraise" the exception, I think.
If we'd already taken some locks and then later get a lock error, only the statement that got the error is rolled back (I think this only applies to the readcurrent case). The other locks are kept until the transaction is rolled back. But if the client is busy, that could take some time. We should catch and handle that in the proc and immediately roll back.
MySQL condition handlers can't do much so the code will be ugly, and we'll have to explicitly
SIGNAL
to "reraise" the exception, I think.See also #310.
The text was updated successfully, but these errors were encountered: