mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-07 21:44:51 +00:00
declinatio mortuus obfirmo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15472 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
31b7fff64e
commit
4e91bc95eb
@ -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_available() && dbh->odbc_dbh) {
|
||||||
if (switch_odbc_handle_exec_string(dbh->odbc_dbh, sql, resbuf, len) == SWITCH_ODBC_SUCCESS) {
|
if (switch_odbc_handle_exec_string(dbh->odbc_dbh, sql, resbuf, len) == SWITCH_ODBC_SUCCESS) {
|
||||||
return resbuf;
|
ret = resbuf;
|
||||||
} else {
|
|
||||||
goto end;
|
|
||||||
}
|
}
|
||||||
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (switch_core_db_prepare(dbh->db, sql, -1, &stmt, 0)) {
|
if (switch_core_db_prepare(dbh->db, sql, -1, &stmt, 0)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user