| Class | Innodb::LogBlock |
| In: |
lib/innodb/log_block.rb
|
| Parent: | Object |
An InnoDB transaction log block.
| BLOCK_SIZE | = | 512 | Log blocks are fixed-length at 512 bytes in InnoDB. | |
| HEADER_OFFSET | = | 0 | Offset of the header within the log block. | |
| HEADER_SIZE | = | 4 + 2 + 2 + 4 | The size of the block header. | |
| TRAILER_OFFSET | = | BLOCK_SIZE - 4 | Offset of the trailer within ths log block. | |
| TRAILER_SIZE | = | 4 | The size of the block trailer. | |
| DATA_OFFSET | = | HEADER_SIZE | Offset of the start of data in the block. | |
| DATA_SIZE | = | BLOCK_SIZE - HEADER_SIZE - TRAILER_SIZE | Size of the space available for log records. | |
| HEADER_FLUSH_BIT_MASK | = | 0x80000000 | Mask used to get the flush bit in the header. |