update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8446 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
36320b9248
commit
22cb7b134a
|
@ -96,7 +96,7 @@ SWITCH_DECLARE(int) switch_core_db_exec(switch_core_db_t *db, const char *sql, s
|
||||||
|
|
||||||
if (errmsg) {
|
if (errmsg) {
|
||||||
*errmsg = err;
|
*errmsg = err;
|
||||||
} else {
|
} else if (err) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SQL ERR [%s]\n", err);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "SQL ERR [%s]\n", err);
|
||||||
switch_core_db_free(err);
|
switch_core_db_free(err);
|
||||||
err = NULL;
|
err = NULL;
|
||||||
|
|
Loading…
Reference in New Issue