[svn-commits] tilghman: branch 1.4 r47526 - in /branches/1.4: ./ res/res_odbc.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Nov 12 22:46:19 MST 2006


Author: tilghman
Date: Sun Nov 12 23:46:18 2006
New Revision: 47526

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47526
Log:
Merged revisions 47525 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47525 | tilghman | 2006-11-12 23:45:11 -0600 (Sun, 12 Nov 2006) | 2 lines

If the execute fails a second time, make sure that we don't pass back a stale handle

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/res/res_odbc.c

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/res/res_odbc.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/res/res_odbc.c?view=diff&rev=47526&r1=47525&r2=47526
==============================================================================
--- branches/1.4/res/res_odbc.c (original)
+++ branches/1.4/res/res_odbc.c Sun Nov 12 23:46:18 2006
@@ -108,6 +108,7 @@
 
 				ast_log(LOG_WARNING, "SQL Execute error %d! Attempting a reconnect...\n", res);
 				SQLFreeHandle(SQL_HANDLE_STMT, stmt);
+				stmt = NULL;
 
 				obj->up = 0;
 				/*



More information about the svn-commits mailing list