Class Innodb::LogReader
In: lib/innodb/log_reader.rb
Parent: Object

Representation of the log group as a seekable stream of log records.

Methods

each_record   new   record   seek   slice   tell  

Classes and Modules

Class Innodb::LogReader::ChecksumError
Class Innodb::LogReader::EOFError

Attributes

checksum  [RW]  Whether to checksum blocks.

Public Class methods

Public Instance methods

Call the given block once for each record in the log until the end of the log (or a corrupted block) is reached. If the follow argument is true, retry.

Seek to record starting position.

Read a slice of log data (that is, log data used for records).

Returns the current LSN starting position.

[Validate]