libdballe  6.8
Data Structures | Macros | Enumerations | Functions
internals.h File Reference

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 DBA_DB_QUIRK_NO_ROWCOUNT_IN_DIAG   (1 << 0)
 
#define TRACE(...)   do { } while (0)
 Trace macros internally used for debugging. More...
 
#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

std::ostream & dballe::db::operator<< (std::ostream &o, const SQL_TIMESTAMP_STRUCT &t)
 

Detailed Description

Database functions and data structures used by the db module, but not exported as official API.

Macro Definition Documentation

#define TRACE (   ...)    do { } while (0)

Trace macros internally used for debugging.

Ouput a trace message