declinatio mortuus obfirmo

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15472 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-11-14 21:00:51 +00:00
parent 31b7fff64e
commit 4e91bc95eb
1 changed files with 2 additions and 3 deletions

View File

@ -4240,10 +4240,9 @@ char *sofia_glue_execute_sql2str(sofia_profile_t *profile, switch_mutex_t *mutex
if (switch_odbc_available() && dbh->odbc_dbh) {
if (switch_odbc_handle_exec_string(dbh->odbc_dbh, sql, resbuf, len) == SWITCH_ODBC_SUCCESS) {
return resbuf;
} else {
goto end;
ret = resbuf;
}
goto end;
}
if (switch_core_db_prepare(dbh->db, sql, -1, &stmt, 0)) {