Ver originaldeclare exit handler for sqlwarning rollback;declare exit handler for sqlexception rollback; start transaction; # codigo commit;