MySQL 9.1.0
Source Code Documentation
Archive_share Class Reference

#include <ha_archive.h>

Inheritance diagram for Archive_share:
[legend]

Public Member Functions

 Archive_share ()
 
 ~Archive_share () override
 
int init_archive_writer ()
 
void close_archive_writer ()
 
int write_v1_metafile ()
 Write version 1 meta file (5.0 compatibility routine). More...
 
int read_v1_metafile ()
 Read version 1 meta file (5.0 compatibility routine). More...
 

Public Attributes

mysql_mutex_t mutex
 
THR_LOCK lock
 
azio_stream archive_write
 
ha_rows rows_recorded
 
char table_name [FN_REFLEN]
 
char data_file_name [FN_REFLEN]
 
bool in_optimize
 
bool archive_write_open
 
bool dirty
 
bool crashed
 

Constructor & Destructor Documentation

◆ Archive_share()

Archive_share::Archive_share ( )

◆ ~Archive_share()

Archive_share::~Archive_share ( )
inlineoverride

Member Function Documentation

◆ close_archive_writer()

void Archive_share::close_archive_writer ( )

◆ init_archive_writer()

int Archive_share::init_archive_writer ( )

◆ read_v1_metafile()

int Archive_share::read_v1_metafile ( )

Read version 1 meta file (5.0 compatibility routine).

Returns
Completion status
Return values
0Success
!0Failure

◆ write_v1_metafile()

int Archive_share::write_v1_metafile ( )

Write version 1 meta file (5.0 compatibility routine).

Returns
Completion status
Return values
0Success
!0Failure

Member Data Documentation

◆ archive_write

azio_stream Archive_share::archive_write

◆ archive_write_open

bool Archive_share::archive_write_open

◆ crashed

bool Archive_share::crashed

◆ data_file_name

char Archive_share::data_file_name[FN_REFLEN]

◆ dirty

bool Archive_share::dirty

◆ in_optimize

bool Archive_share::in_optimize

◆ lock

THR_LOCK Archive_share::lock

◆ mutex

mysql_mutex_t Archive_share::mutex

◆ rows_recorded

ha_rows Archive_share::rows_recorded

◆ table_name

char Archive_share::table_name[FN_REFLEN]

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