[Core] Fix wrong switch_odbc_skip_autocommit_flip function declaration.
This commit is contained in:
parent
2b8f59e8ff
commit
060a65601b
|
@ -51,7 +51,7 @@ typedef enum {
|
||||||
SWITCH_ODBC_FAIL = -1
|
SWITCH_ODBC_FAIL = -1
|
||||||
} switch_odbc_status_t;
|
} switch_odbc_status_t;
|
||||||
|
|
||||||
SWITCH_DECLARE(void) switch_odbc_skip_autocommit_flip();
|
SWITCH_DECLARE(void) switch_odbc_skip_autocommit_flip(void);
|
||||||
SWITCH_DECLARE(switch_odbc_handle_t *) switch_odbc_handle_new(const char *dsn, const char *username, const char *password);
|
SWITCH_DECLARE(switch_odbc_handle_t *) switch_odbc_handle_new(const char *dsn, const char *username, const char *password);
|
||||||
SWITCH_DECLARE(void) switch_odbc_set_num_retries(switch_odbc_handle_t *handle, int num_retries);
|
SWITCH_DECLARE(void) switch_odbc_set_num_retries(switch_odbc_handle_t *handle, int num_retries);
|
||||||
SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_disconnect(switch_odbc_handle_t *handle);
|
SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_disconnect(switch_odbc_handle_t *handle);
|
||||||
|
|
|
@ -64,7 +64,7 @@ struct switch_odbc_handle {
|
||||||
|
|
||||||
uint8_t skip_autocommit_flip = 0;
|
uint8_t skip_autocommit_flip = 0;
|
||||||
|
|
||||||
SWITCH_DECLARE(void) switch_odbc_skip_autocommit_flip()
|
SWITCH_DECLARE(void) switch_odbc_skip_autocommit_flip(void)
|
||||||
{
|
{
|
||||||
skip_autocommit_flip = 1;
|
skip_autocommit_flip = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue