MySQL Forums
Forum List  »  Triggers

Re: logging queries conditionally
Posted by: Peter Brawley
Date: June 02, 2011 04:47PM

A MySQL Trigger cannot report the query that elicited it. You would have to add to the table something like an indexical column which your code updates with infoo which identifies the query which is uopdating the row.

PB

Options: Reply• Quote


Subject
Views
Written By
Posted
2206
May 27, 2011 04:29PM
Re: logging queries conditionally
1120
June 02, 2011 04:47PM


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.