MCPcopy Create free account
hub / github.com/MariaDB/server / check_key_for_blob

Method check_key_for_blob

sql/sql_class.cc:128–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126
127
128bool Key_part_spec::check_key_for_blob(const handler *file) const
129{
130 if (!(file->ha_table_flags() & HA_CAN_INDEX_BLOBS))
131 {
132 my_error(ER_BLOB_USED_AS_KEY, MYF(0), field_name.str, file->table_type());
133 return true;
134 }
135 return false;
136}
137
138
139bool Key_part_spec::check_key_length_for_blob() const

Calls 3

my_errorFunction · 0.85
ha_table_flagsMethod · 0.80
table_typeMethod · 0.45

Tested by

no test coverage detected