[Freeswitch-svn] [commit] r5293 - freeswitch/trunk/src
Freeswitch SVN
anthm at freeswitch.org
Fri Jun 8 11:44:00 EDT 2007
Author: anthm
Date: Fri Jun 8 11:43:59 2007
New Revision: 5293
Modified:
freeswitch/trunk/src/switch_core_sqldb.c
Log:
change language in harmless sql warnings and skip one we know happens all the time for no reason
Modified: freeswitch/trunk/src/switch_core_sqldb.c
==============================================================================
--- freeswitch/trunk/src/switch_core_sqldb.c (original)
+++ freeswitch/trunk/src/switch_core_sqldb.c Fri Jun 8 11:43:59 2007
@@ -64,9 +64,10 @@
if (errmsg) {
begin_retries--;
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SQL ERR [%s]\n", errmsg);
if (strstr(errmsg, "cannot start a transaction within a transaction")) {
again = 1;
+ } else {
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "SQL Retry [%s]\n", errmsg);
}
switch_core_db_free(errmsg);
More information about the Freeswitch-svn
mailing list