MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Dblqh::LogFileOperationRecord Struct Reference

#include <Dblqh.hpp>

Public Types

enum  LfoState {
  IDLE = 0, INIT_WRITE_AT_END = 1, INIT_FIRST_PAGE = 2, WRITE_GCI_ZERO = 3,
  WRITE_INIT_MBYTE = 4, WRITE_DIRTY = 5, READ_SR_FRONTPAGE = 6, READ_SR_LAST_FILE = 7,
  READ_SR_NEXT_FILE = 8, READ_SR_LAST_MBYTE = 9, READ_EXEC_SR = 10, READ_EXEC_LOG = 11,
  READ_SR_FOURTH_PHASE = 12, READ_SR_FOURTH_ZERO = 13, FIRST_PAGE_WRITE_IN_LOGFILE = 14, LAST_WRITE_IN_FILE = 15,
  WRITE_PAGE_ZERO = 16, ACTIVE_WRITE_LOG = 17, READ_SR_INVALIDATE_PAGES = 18, WRITE_SR_INVALIDATE_PAGES = 19,
  WRITE_SR_INVALIDATE_PAGES_UPDATE_PAGE0 = 20, READ_SR_INVALIDATE_SEARCH_FILES = 21
}

Public Attributes

UintR logPageArray [16]
UintR firstLfoPage
UintR lfoTimer
UintR lfoWordWritten
LfoState lfoState
UintR logFileRec
UintR nextLfo
Uint16 lfoPageNo
Uint16 noPagesRw

Detailed Description

This record contains a currently active file operation that has started by the log module.

Definition at line 1640 of file Dblqh.hpp.

Member Enumeration Documentation

Enumerator:
IDLE 

Operation is not used at the moment.

INIT_WRITE_AT_END 

Write in file so that it grows to 16 Mbyte

INIT_FIRST_PAGE 

Initialise the first page in a file.

READ_SR_FRONTPAGE 

Read page zero in file zero during system restart

READ_SR_LAST_FILE 

Read page zero in last file open before system crash

READ_SR_NEXT_FILE 

Read 60 files backwards to find further information GCPs in page zero

ACTIVE_WRITE_LOG 

writing of log

A write operation during

Definition at line 1641 of file Dblqh.hpp.

Member Data Documentation

UintR Dblqh::LogFileOperationRecord::firstLfoPage

A list of the pages that are part of this active operation.

Definition at line 1680 of file Dblqh.hpp.

Uint16 Dblqh::LogFileOperationRecord::lfoPageNo

The page number of the first read/written page during a file read/write.

Definition at line 1706 of file Dblqh.hpp.

LfoState Dblqh::LogFileOperationRecord::lfoState

This variable contains the state of the log file operation.

Definition at line 1693 of file Dblqh.hpp.

UintR Dblqh::LogFileOperationRecord::lfoTimer

A timer to ensure that records are not lost.

Definition at line 1684 of file Dblqh.hpp.

UintR Dblqh::LogFileOperationRecord::lfoWordWritten

The word number of the last written word in the last during a file write.

Definition at line 1689 of file Dblqh.hpp.

UintR Dblqh::LogFileOperationRecord::logFileRec

The log file that the file operation affects.

Definition at line 1697 of file Dblqh.hpp.

UintR Dblqh::LogFileOperationRecord::logPageArray[16]

We have to remember the log pages read. Otherwise we cannot build the linked list after the pages have arrived to main memory.

Definition at line 1676 of file Dblqh.hpp.

UintR Dblqh::LogFileOperationRecord::nextLfo

The log file operations on a file are kept in a linked list.

Definition at line 1701 of file Dblqh.hpp.

Uint16 Dblqh::LogFileOperationRecord::noPagesRw

The number of pages written or read during an operation to the log file.

Definition at line 1711 of file Dblqh.hpp.


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