Class: Innodb::Page::SysIbufHeader
Constant Summary
Constants inherited
from Innodb::Page
PAGE_TYPE, PAGE_TYPE_BY_VALUE, SPECIALIZED_CLASSES
Instance Attribute Summary
Attributes inherited from Innodb::Page
#space
Instance Method Summary
collapse
#calculate_checksum, #checksum, #corrupt?, #cursor, #fil_header, handle, #initialize, #inspect, #lsn, maybe_undefined, #name, #next, #offset, parse, #pos_fil_header, #pos_fil_trailer, #pos_page_body, #prev, #size, #size_fil_header, #size_fil_trailer, #type
Constructor Details
This class inherits a constructor from Innodb::Page
Instance Method Details
#dump ⇒ Object
39
40
41
42
43
44
|
# File 'lib/innodb/page/sys_ibuf_header.rb', line 39
def dump
super
puts "ibuf header:"
pp
end
|
#each_region {|{
:offset => pos_ibuf_header,
:length => size_ibuf_header,
:name => :ibuf_header,
:info => "Insert Buffer Header",
}| ... } ⇒ Object
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/innodb/page/sys_ibuf_header.rb', line 22
def each_region
unless block_given?
return enum_for(:each_region)
end
super do |region|
yield region
end
yield({
:offset => ,
:length => ,
:name => :ibuf_header,
:info => "Insert Buffer Header",
})
end
|
12
13
14
15
16
17
18
19
20
|
# File 'lib/innodb/page/sys_ibuf_header.rb', line 12
def
cursor().name("ibuf_header") do |c|
{
:fseg => c.name("fseg") {
Innodb::FsegEntry.get_inode(space, c)
}
}
end
end
|
4
5
6
|
# File 'lib/innodb/page/sys_ibuf_header.rb', line 4
def
pos_page_body
end
|
8
9
10
|
# File 'lib/innodb/page/sys_ibuf_header.rb', line 8
def
Innodb::FsegEntry::SIZE
end
|