# File lib/innodb/page/index.rb, line 771
  def max_record
    # Since the records are only singly-linked in the forward direction, in
    # order to do find the last record, we must create a cursor and walk
    # backwards one step.
    unless max_cursor = record_cursor(supremum.offset, :backward)
      raise "Couldn't position cursor"
    end
    # Note the deliberate use of prev_record rather than record; we want
    # to skip over supremum itself.
    max = max_cursor.prev_record
    max if max != infimum
  end