MySQL Forums
Forum List  »  PHP

Re: Stored procedure, stored function and signals
Posted by: Peter Brawley
Date: August 06, 2012 12:51PM

MySQL signals aren't converted to exceptions in the PHP client.

SIGNAL SET MESSAGE_TEXT='...' does not populate $mysqli->error. The docs say it populates mysql_error() in the C API, but I haven't tried it. There is not a working SIGNAL example in the Connector/J docs or forum.



Edited 1 time(s). Last edit at 08/06/2012 12:57PM by Peter Brawley.

Options: ReplyQuote




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.