[OpenSIPS-Devel] [ opensips-Patches-2621299 ] Enhance MySQL prepare statment diagnostics

SourceForge.net noreply at sourceforge.net
Fri Feb 20 22:15:36 CET 2009


Patches item #2621299, was opened at 2009-02-20 21:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2621299&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Norm Brandinger (norm_brandinger)
Assigned to: Nobody/Anonymous (nobody)
Summary: Enhance MySQL prepare statment diagnostics

Initial Comment:
Enhance the diagnostics produced then the mysql_stmt_prepare() function fails.

For example, the unknown column that caused the failure is now provided.

ERROR:db_mysql:get_new_stmt_ctx: mysql_stmt_prepare() failed: Unknown column 'bad_column' in 'field list'

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2621299&group_id=232389



More information about the Devel mailing list