Re: Locking problem with triggers
Hello:
I'm having a similar problem. I have a BEFORE UPDATE trigger on table A with the following definition:
CREATE TRIGGER `BEFORE_UPDATE_A` BEFORE UPDATE ON `A`
FOR EACH ROW
BEGIN
SET new.LAST_UPDATE = now();
END;
The trigger works fine as long as no other action is made on the table while the trigger is running, if I try to make a select on table A while updating a row I get an error message "Lock wait timeout exceeded".
¿Has anybody reported this bug to MySQL?
Thank you very much,
Jaime
Subject
Views
Written By
Posted
2963
May 25, 2006 12:48PM
2006
May 29, 2006 03:31PM
1795
May 31, 2006 12:19PM
1834
June 02, 2006 06:29AM
Re: Locking problem with triggers
1846
July 14, 2006 03:17AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.