Commit a946b366 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix the compilation after the parent commit

Up to MariaDB 10.2, field_name is still a C-style string.
parent c1cb5c17
......@@ -9691,7 +9691,7 @@ ha_innobase::change_active_index(
for (uint i = 0; i < table->s->fields; i++) {
if (m_prebuilt->read_just_key
&& bitmap_is_set(table->read_set, i)
&& !strcmp(table->s->field[i]->field_name.str,
&& !strcmp(table->s->field[i]->field_name,
FTS_DOC_ID_COL_NAME)) {
m_prebuilt->fts_doc_id_in_read_set = true;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment