mysql - Rows are deleted without using delete query -


i have strange problem in database. rows deleted when updated. don't use delete query anywhere. have history log logs data updation. can find particular row after updation on log (i have old data , updated data). after happens. can't figure out. particular row missing.

i have update trigger:

    if (new.plandatevisite<>old.plandatevisite)then     begin         -- insert reportplanhisto (report_id,plandatevisite) values(old.id,new.plandatevisite); -- commented     end;     end if; 

please help. in advance


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

node.js - Node - Passport Auth - Authed Post Route hangs on form submission -

Does Firefox offer AppleScript support to get URL of windows? -