MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Partition_share Class Reference

#include <ha_partition.h>

Inheritance diagram for Partition_share:
Collaboration diagram for Partition_share:

Public Member Functions

bool init (uint num_parts)
void lock_auto_inc ()
void unlock_auto_inc ()

Public Attributes

bool auto_inc_initialized
mysql_mutex_t auto_inc_mutex
ulonglong next_auto_inc_val
bool partition_name_hash_initialized
HASH partition_name_hash
Parts_share_refspartitions_share_refs

Detailed Description

Partition specific Handler_share.

Definition at line 82 of file ha_partition.h.

Member Data Documentation

mysql_mutex_t Partition_share::auto_inc_mutex

protecting auto_inc val

Definition at line 86 of file ha_partition.h.

ulonglong Partition_share::next_auto_inc_val

first non reserved value

Definition at line 87 of file ha_partition.h.

bool Partition_share::partition_name_hash_initialized

Hash of partition names. Initialized in the first ha_partition::open() for the table_share. After that it is read-only, i.e. no locking required.

Definition at line 92 of file ha_partition.h.

Parts_share_refs* Partition_share::partitions_share_refs

Storage for each partitions Handler_share

Definition at line 95 of file ha_partition.h.


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