1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-23 03:33:48 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4928 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-04-13 22:59:07 +00:00
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);