libdballe
5.18
|
Database functions and data structures used by the db module, but not exported as official API. More...
#include <dballe/db/querybuf.h>
#include <dballe/db/odbcworkarounds.h>
#include <wreport/error.h>
#include <sqltypes.h>
Go to the source code of this file.
Data Structures | |
struct | dballe::db::error_odbc |
Report an ODBC error, using informations from the ODBC diagnostic record. More... | |
struct | dballe::db::Environment |
ODBC environment. More... | |
struct | dballe::db::Connection |
Database connection. More... | |
struct | dballe::db::Transaction |
RAII transaction. More... | |
struct | dballe::db::Statement |
ODBC statement. More... | |
struct | dballe::db::Sequence |
ODBC statement to read a sequence. More... |
Macros | |
#define | DBA_USE_TRANSACTIONS |
#define | TRACE(...) do { } while (0) |
Trace macros internally used for debugging. | |
#define | IFTRACE if (0) |
Prefix a block of code to compile only if trace is enabled. |
Enumerations | |
enum | ServerType { MYSQL, SQLITE, ORACLE, POSTGRES } |
Supported SQL servers. |
Functions | |
const char * | dballe::db::default_repinfo_file () |
Return the default repinfo file pathname. |
Database functions and data structures used by the db module, but not exported as official API.
#define TRACE | ( | ... | ) | do { } while (0) |
Trace macros internally used for debugging.
Ouput a trace message