mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
fix build failure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13941 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
770e6a05b1
commit
1c3dc48401
@ -215,9 +215,9 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_connect(switch_odbc_hand
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SWITCH_HAVE_ODBC
|
||||||
static int db_is_up(switch_odbc_handle_t *handle)
|
static int db_is_up(switch_odbc_handle_t *handle)
|
||||||
{
|
{
|
||||||
#ifdef SWITCH_HAVE_ODBC
|
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
SQLHSTMT stmt = NULL;
|
SQLHSTMT stmt = NULL;
|
||||||
SQLLEN m = 0;
|
SQLLEN m = 0;
|
||||||
@ -316,10 +316,8 @@ static int db_is_up(switch_odbc_handle_t *handle)
|
|||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
#else
|
|
||||||
return SWITCH_ODBC_FAIL;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_statement_handle_free(switch_odbc_statement_handle_t * stmt)
|
SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_statement_handle_free(switch_odbc_statement_handle_t * stmt)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user