Lets back this out since we should not be using this call for a UPDATE or DELETE query
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12152 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
d27a71a680
commit
fcd6944f5d
|
@ -366,7 +366,6 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_callback_exec_detailed(c
|
||||||
SQLNumResultCols(stmt, &c);
|
SQLNumResultCols(stmt, &c);
|
||||||
SQLRowCount(stmt, &m);
|
SQLRowCount(stmt, &m);
|
||||||
|
|
||||||
if (m > 0) {
|
|
||||||
for (t = 0 ;; t++) {
|
for (t = 0 ;; t++) {
|
||||||
int name_len = 256;
|
int name_len = 256;
|
||||||
char **names;
|
char **names;
|
||||||
|
@ -418,7 +417,6 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_callback_exec_detailed(c
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
SQLFreeHandle(SQL_HANDLE_STMT, stmt);
|
SQLFreeHandle(SQL_HANDLE_STMT, stmt);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue