forked from Mirrors/freeswitch
commit patch from http://jira.freeswitch.org/browse/MODAPP-7, thanks Marcel.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4928 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
eb2124ae32
commit
1a4547de25
@ -245,7 +245,10 @@ void MysqlCDR::connect_to_database()
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user