EDIT: Disregard this message, the lock was caused by my mistake. The "non"-problem has been solved.
Hello,
I'm having this problem:
I've started a transaction that does varius update and delete to a couple of tables. Now, when I try to delete a row I've modified with a previuos update (all happens in the same transaction. No concurrent transactions going on, remember!) in the transaction I get the "Lock timeout exceeded, Try restarting transaction" error.
It all happens in a single transaction.
Is update and delete of the same row in the same transaction not allowed?
Forgot to say: mySQL version 5.0.37 (rather outdated but that's what I've to use...)
Thank you.
Hello,
I'm having this problem:
I've started a transaction that does varius update and delete to a couple of tables. Now, when I try to delete a row I've modified with a previuos update (all happens in the same transaction. No concurrent transactions going on, remember!) in the transaction I get the "Lock timeout exceeded, Try restarting transaction" error.
It all happens in a single transaction.
Is update and delete of the same row in the same transaction not allowed?
Forgot to say: mySQL version 5.0.37 (rather outdated but that's what I've to use...)
Thank you.