Re: Execute shell script from trigger/procedure
Hi Peter,
I have written a trigger code which will run after update, but when im doing this im getting below error.
delimiter ;;
create trigger mytrigger1 after update on flag
for each row
begin
STOP SLAVE IO_THREAD;
end;
;;delimiter ;
The Flag table is getting locked and STOP SLAVE doesnt work giving error stating below
Error 'Can't execute the given command because you have active locked tables or an active transaction' on query. Default database: 'test1'. Query: 'update flag set flag_value='1' where flag_value='0''
Regrds,
Ravi
Subject
Views
Written By
Posted
2816
April 08, 2015 05:21AM
8400
April 08, 2015 11:08AM
Re: Execute shell script from trigger/procedure
3166
April 10, 2015 06:05AM
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.