[asterisk-addons-commits] tilghman: branch 1.6.0 r613 - in /branches/1.6.0: ./ apps/app_addon_sql_mysql.c

SVN commits to the Asterisk addons project asterisk-addons-commits at lists.digium.com
Fri May 30 11:50:50 CDT 2008


Author: tilghman
Date: Fri May 30 11:50:49 2008
New Revision: 613

URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=613
Log:
Merged revisions 612 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-addons/trunk

........
r612 | tilghman | 2008-05-30 11:49:06 -0500 (Fri, 30 May 2008) | 6 lines

When the result id is invalid, indicate that the fetch returned no rows
(closes issue #12758)
 Reported by: atis
 Patches: 
       mysql_fetch_bad_conn.patch uploaded by atis (license 242)

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/apps/app_addon_sql_mysql.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
--- trunk-merged (original)
+++ trunk-merged Fri May 30 11:50:49 2008
@@ -1,1 +1,1 @@
-/trunk:540-559,575,579,583,586,588,590,592,594,603,607
+/trunk:540-559,575,579,583,586,588,590,592,594,603,607,612

Modified: branches/1.6.0/apps/app_addon_sql_mysql.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.6.0/apps/app_addon_sql_mysql.c?view=diff&rev=613&r1=612&r2=613
==============================================================================
--- branches/1.6.0/apps/app_addon_sql_mysql.c (original)
+++ branches/1.6.0/apps/app_addon_sql_mysql.c Fri May 30 11:50:49 2008
@@ -402,6 +402,7 @@
 			}
 			return 0;
 		} else {
+			set_asterisk_int(chan, args.resultvar, 0);
 			ast_log(LOG_WARNING, "aMYSQL_fetch: Invalid result identifier %d passed\n", resultid);
 		}
 	} else {




More information about the asterisk-addons-commits mailing list