[asterisk-bugs] [Asterisk 0012758]: [patch] Set fetchid to indicate bad connection id
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri May 30 11:42:53 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12758
======================================================================
Reported By: atis
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12758
Category: Addons/app_addon_sql_mysql
Reproducibility: always
Severity: tweak
Priority: normal
Status: new
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 610
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 05-29-2008 13:11 CDT
Last Modified: 05-30-2008 11:42 CDT
======================================================================
Summary: [patch] Set fetchid to indicate bad connection id
Description:
MySQL(Fetch fetchid connid var1 var2..) is setting fetchid depending on
rows left, but don't touch it in case of bad connection id.
This requires additional check in dialplan to make sure connection id is
correct, if fetchid needs to be used in loops.
This patch sets fetchid to 0 if connection id is wrong.
======================================================================
----------------------------------------------------------------------
svnbot - 05-30-08 11:42
----------------------------------------------------------------------
Repository: asterisk-addons
Revision: 612
U trunk/apps/app_addon_sql_mysql.c
------------------------------------------------------------------------
r612 | tilghman | 2008-05-30 11:42:48 -0500 (Fri, 30 May 2008) | 6 lines
When the result id is invalid, indicate that the fetch returned no rows
(closes issue http://bugs.digium.com/view.php?id=12758)
Reported by: atis
Patches:
mysql_fetch_bad_conn.patch uploaded by atis (license 242)
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk-addons?view=rev&revision=612
Issue History
Date Modified Username Field Change
======================================================================
05-30-08 11:42 svnbot Note Added: 0087558
======================================================================
More information about the asterisk-bugs
mailing list