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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

SourceForge.net
Patches item #2621299, was opened at 2009-02-20 21:15
Message generated for change (Comment added) made by norm_brandinger
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'

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

>Comment By: Norm Brandinger (norm_brandinger)
Date: 2009-02-23 13:27

Message:
Updated the patch to add the enhanced diagnostic output for both prepare
statements located in the dbase.c file.  The original patch only updated
the first prepare statement.
File Added: dbase.c.patch2

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

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

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel