drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::Ha_data Struct Reference

#include <ha_data.h>

Collaboration diagram for drizzled::Ha_data:
[legend]

Public Attributes

void * ha_ptr
drizzled::ResourceContext resource_context [2]

Detailed Description

Storage engine specific thread local data.

Definition at line 31 of file ha_data.h.

Constructor & Destructor Documentation

◆ Ha_data()

drizzled::Ha_data::Ha_data ( )
inline

Definition at line 58 of file ha_data.h.

Member Data Documentation

◆ ha_ptr

void* drizzled::Ha_data::ha_ptr

Storage engine specific thread local data. Lifetime: one user connection.

Definition at line 37 of file ha_data.h.

◆ resource_context

drizzled::ResourceContext drizzled::Ha_data::resource_context[2]

Resource contexts for both the "statement" and "normal" transactions.

Resource context at index 0:

Life time: one statement within a transaction. If @autocommit is on, also represents the entire transaction.

Resource context at index 1:

Life time: one transaction within a connection.

Note

If the storage engine does not participate in a transaction, there will not be a resource context.

Definition at line 56 of file ha_data.h.


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