![]() |
![]() |
![]() |
![]() |
Return last error
#include <qdb/qdb.h> const char * qdb_geterrmsg(qdb_hdl_t *hdl);
qdb
This function returns a pointer to a string containing an error message from the server for the most recent call to:
You typically call this function after one of the above functions fails. If the error occurred within the SQL library, the returned string is an SQLite error message. If the error occurred in the QDB system, the returned string is a POSIX errno message.
A pointer to string if there is an error message, or a pointer to an empty string if there is no error.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
qdb_backup(), qdb_getdbsize(), qdb_getoption(), qdb_getresult(), qdb_setoption(), qdb_statement(), qdb_vacuum(),
![]() |
![]() |
![]() |
![]() |