MySQL Forums
Forum List  »  Stored Procedures

Re: newbie: Stored proc silently fails
Posted by: 7 reeds
Date: June 25, 2012 11:52PM

Peter Brawley Wrote:
-------------------------------------------------------
> >> You saw that where?
>
> >"The trigger cannot use statements that
> explicitly or implicitly begin or
> > end a transaction such as START TRANSACTION,
> COMMIT, or ROLLBACK."
>
> >
> http://dev.mysql.com/doc/refman/5.0/en/trigger-syn
> tax.html
>
> Read that sentence again again. It is about
> triggers and functions, not stored procedures.

But I am calling a stored procedure from a trigger. That would seem to be at least "indirect" but I am here asking for help, not debating what I get. Thanks.


> But why not implement this simple logic within the
> Trigger?

Mainly because I had not considered it until I read your question :)

Thanks again, I'll try that in the morning.

Options: ReplyQuote


Subject
Views
Written By
Posted
2448
June 25, 2012 02:28PM
1228
June 25, 2012 05:15PM
Re: newbie: Stored proc silently fails
1172
June 25, 2012 11:52PM


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.