Return the value for a database session option when a SELECT command was issued
#include <qdb/qdb.h> int qdb_getresultoption( qdb_result_t *result, int option );
This function indicates whether the specified database session option was on or off when a SELECT statement was run. You must first call qdb_getresult() to get the result of the statement. Then, you can call qdb_getresultoption() to determine what setting a certain option had. You must pass in the qdb_result_t structure returned by qdb_getresult() as well as a constant indicating which option you're querying.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |