[ opensips-Bugs-2558584 ] broken prepared statements in mysql / siptrace

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

[ opensips-Bugs-2558584 ] broken prepared statements in mysql / siptrace

SourceForge.net
Bugs item #2558584, was opened at 2009-02-02 22:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2558584&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: modules
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: broken prepared statements in mysql / siptrace

Initial Comment:
Recent commits to the devel/head version of OpenSIPS 1.5 have broken my sip trace. I believe this is due to new prepared statement functionality included with the db_mysql module.

Below is a except from syslog

Feb  2 16:23:43 sip opensips[10558]: DBG:siptrace:trace_onreply_out: storing info...
Feb  2 16:23:43 sip opensips[10558]: DBG:db_mysql:has_stmt_ctx: ctx found for sip_trace
Feb  2 16:23:43 sip opensips[10558]: DBG:db_mysql:db_mysql_do_prepared_query: set values for the statement run
Feb  2 16:23:43 sip opensips[10558]: ERROR:db_mysql:db_mysql_val2str_nq: destination buffer too short
Feb  2 16:23:43 sip opensips[10558]: ERROR:db_mysql:db_mysql_do_prepared_query: val2str() failed for i=0 (1)
Feb  2 16:23:43 sip opensips[10558]: ERROR:siptrace:trace_onreply_out: error storing trace


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

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

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