# File lib/innodb/data_dictionary.rb, line 579 def clustered_index_name_by_table_name(table_name) unless table_record = table_by_name(table_name) raise "Table #{table_name} not found" end if index_record = object_by_two_fields(:each_index, "TABLE_ID", table_record["ID"], "TYPE", 3) index_record["NAME"] end end