_dba_db Struct Reference

#include <internals.h>


Detailed Description

DB-ALLe session structure.

Data Fields

SQLHDBC od_conn
 ODBC database connection.
int connected
 True if the connection is open.
enum dba_db_server_type server_type
 Type of SQL server we are connected to.
SQLHSTMT stm_begin
 Precompiled BEGIN SQL statement.
SQLHSTMT stm_commit
 Precompiled COMMIT SQL statement.
SQLHSTMT stm_rollback
 Precompiled ROLLBACK SQL statement.
SQLHSTMT stm_last_insert_id
 Precompiled LAST_INSERT_ID (or equivalent) SQL statement.
DBALLE_SQL_C_SINT_TYPE last_insert_id
 ID of the last autogenerated primary key.
struct _dba_db_repinforepinfo
 Accessors for the various parts of the database.
struct
_dba_db_pseudoana
pseudoana
 Pseudoana station information.
struct _dba_db_contextcontext
 Variable context.
struct _dba_db_datadata
 Variable values.
struct _dba_db_attrattr
 Variable attributes.
struct _dba_db_seq * seq_pseudoana
 Sequence accessors.
struct _dba_db_seq * seq_context
 Context ID sequence.

Field Documentation

struct _dba_db_repinfo* _dba_db::repinfo [read]

Accessors for the various parts of the database.

Warning:
Before using these 5 pointers, ensure they are initialised using one of the dba_db_need_* functions Report information

struct _dba_db_seq* _dba_db::seq_pseudoana [read]

Sequence accessors.

They are NULL for databases such as MySQL that do not use sequences. Pseudoana ID sequence


The documentation for this struct was generated from the following file:
Generated on Thu Aug 30 14:59:08 2007 for libdballe-db by  doxygen 1.5.3