[Freeswitch-svn] [commit] r4928 - freeswitch/trunk/src/mod/event_handlers/mod_cdr

Freeswitch SVN mikej at freeswitch.org
Fri Apr 13 18:59:07 EDT 2007


Author: mikej
Date: Fri Apr 13 18:59:07 2007
New Revision: 4928

Modified:
   freeswitch/trunk/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp

Log:
commit patch from http://jira.freeswitch.org/browse/MODAPP-7, thanks Marcel.

Modified: freeswitch/trunk/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp	(original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp	Fri Apr 13 18:59:07 2007
@@ -245,7 +245,10 @@
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot connect to MySQL Server.  The error was: %s\n", error1);
 	}
 	else
+	{
 		connectionstate = 1;
+		conn->reconnect = false;
+	}
 	
 	mysql_autocommit(conn,0);
 	stmt = mysql_stmt_init(conn);



More information about the Freeswitch-svn mailing list