_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_pseudoanapseudoana
 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

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

Referenced by dba_db_check_rep_cod(), dba_db_cursor_to_record(), dba_db_delete(), dba_db_need_repinfo(), dba_db_rep_cod_from_memo(), dba_db_reset(), and dba_db_update_repinfo().

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

Referenced by dba_db_delete(), and dba_db_pseudoana_insert().


The documentation for this struct was generated from the following file:

Generated on Fri Aug 1 15:18:42 2008 for libdballe by  doxygen 1.5.6