Lua filter clientReply on statement error

Is there a way to determine if an error occurred in the database (i.e. on an insert statement) in the Lua filter? The parameter in the clientReply function outlined in the Lua filter documentation is always nil.


Answer Answered by Markus Mäkelä in this comment.

Currently this is not possible. The API for the script would have to be extended to expose the actual result of the query.


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.