MySQL Forums
Forum List  »  Triggers

ERROR 1415 (0A000): Not allowed to return a result set from a trigger
Posted by: tim z
Date: October 10, 2017 03:18PM

I've created a procedure in MySQL that processes a row of data. When executed MySQL responds with the result of the query as shown below.

mysql> call process_deferred_container_targeted('ABCD7100791');
Query OK, 1 row affected (0.00 sec)

My problem is that I'd like to call this procedure to execute from a trigger, but the "Query OK" response (apparently) causes the trigger to respond with "ERROR 1415 (0A000): Not allowed to return a result set from a trigger". The trigger itself contains no instructions other than a call to the procedure.

Is there a way to silence the "Query OK" statement or to work around this issue?

TIA.

Options: ReplyQuote


Subject
Views
Written By
Posted
ERROR 1415 (0A000): Not allowed to return a result set from a trigger
2660
October 10, 2017 03:18PM


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.