Functions | |
int | sqlo_get_oci_handle (int sqloh, void *ocihp, sqlo_oci_handle_types_e type) |
Get the specified OCI handle. | |
int | sqlo_get_db_handle (sqlo_stmt_handle_t sth) |
Return the database handle of a statement handle. | |
int | sqlo_set_blocking (sqlo_db_handle_t dbh, unsigned int on) |
Set OCI blocking mode on/off. | |
int | sqlo_get_blocking (sqlo_db_handle_t dbh, unsigned int *blocking) |
Get OCI blocking mode. | |
int | sqlo_break (sqlo_db_handle_t dbh) |
Abort all operations in non-blocking mode. | |
int | sqlo_set_prefetch_rows (sqlo_stmt_handle_t sth, unsigned int nrows) |
Set the prefetch row attribute for a statement. | |
int | sqlo_server_version (sqlo_db_handle_t dbh, char *bufp, unsigned int buflen) |
Get the server version string. | |
int | sqlo_get_stmt_state (sqlo_stmt_handle_t sth) |
Get the state of the statement. | |
const char * | sqlo_get_stmt (sqlo_stmt_handle_t sth) |
Get the sql statement text for the statement handle. | |
int | sqlo_get_ocol_dtype (sqlo_stmt_handle_t sth, unsigned int pos) |
Get the datatype of a column in the select list. | |
int | sqlo_trace (sqlo_db_handle_t dbh, int on) |
Switches Oracle trace on/off. | |
int | sqlo_print (sqlo_stmt_handle_t sth) |
Print info about the statement to stdout. | |
int | sqlo_register_int_handler (int *handle, sqlo_signal_handler_t signal_handler) |
Register a signal handler for interrupts. | |
int | sqlo_clear_int_handler (int handle) |
Clear an interrupt handler. |
|
Abort all operations in non-blocking mode. This call performs an immediate (asynchronous) abort of any currently executing OCI function that is associated with a connection. If the connection is in blocking mode, SQLO_SUCCESS is returned without doing an abort. The cursor in "SQLO_STILL_EXECUTING" status is closed.
|
|
Clear an interrupt handler.
|
|
Get OCI blocking mode. Returns the the blocking mode.
|
|
Return the database handle of a statement handle.
|
|
Get the specified OCI handle. You can get the oci handles here, if you want to call other OCI functions.
|
|
Get the datatype of a column in the select list.
|
|
Get the sql statement text for the statement handle.
|
|
Get the state of the statement.
|
|
Print info about the statement to stdout.
|
|
Register a signal handler for interrupts. Because oracle catches SIGINT, you can register here a handler, which is called by oracle, when SIGINT is catched.
|
|
Get the server version string. Returns the server version string which might look like this: Oracle8i Enterprise Edition Release 8.1.5.0.0 - Production With the Partitioning and Java options PL/SQL Release 8.1.5.0.0 - Production.
|
|
Set OCI blocking mode on/off. By default a database connection is in blocking mode. This means the call does not return until the task is finished. With this function you can change to non-blocking mode. In this case some functions can return SQLO_STILL_EXECUTING. The functions are:
|
|
Set the prefetch row attribute for a statement. This functions sets the oci attribute OCI_ATTR_PREFETCH_ROWS to the given value.
|
|
Switches Oracle trace on/off. Use this to switch the Oracle trace facility (tkprof) on or off.
|