Drizzled Public API Documentation

drizzled::Ha_data Struct Reference

#include <ha_data.h>

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.

Member Data Documentation

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.

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: