# File lib/innodb/system.rb, line 86
  def space(space_id)
    return spaces[space_id] if spaces[space_id]

    unless table_record = data_dictionary.table_by_space_id(space_id)
      raise "Table with space ID #{space_id} not found"
    end

    add_table(table_record["NAME"])

    spaces[space_id]
  end