MySQL Forums
Forum List  »  General

Re: Lock wait timeout exceeded; try restarting transaction
Posted by: Rick James
Date: March 13, 2012 08:36PM

Is this the statement you are executing?
DELETE FROM fdreason WHERE tranunkid = NULL
?
If so, that is wrong. It should be
DELETE FROM fdreason WHERE tranunkid IS NULL

How many rows in fdreason? How many are NULL?

I see a lot of copies of
UPDATE  chchannelupdates SET
 inventory= NAME_CONST('v_inventory',3),
 baserate= NAME_CONST('v_baserate', 89.0000),
 adultrate= NAME_CONST('v_adultrate',0.0000),
 childrate= NAME_CONST('v_childrate', 12.5000),
 minimumlengthofstay= NAME_CONST('v_minnights', 1),
 operationstatus='Y'
    WHERE  requestunkid= NAME_CONST('v_requestunkid',8500000000022440)
A bug in the app?

Options: ReplyQuote




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.