Get or set database connection parameters
#include <qdb/qdb.h> int qdb_parameters( qdb_hdl_t *db, int mask, int bits );
qdb
This function queries or modifies the database connection parameters. You can set or unset the QDB_CONN_BLOCK_FOREVER and QDB_CONN_STMT_ASYNC parameters (see the description of the flags argument passed to qdb_connect() for a description of these flags). You can't change the QDB_CONN_DFLT_SHARE flag. The function returns the value of the old flags, so they can be temporarily changed and restored.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |