diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-07-02 22:25:48 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-07-02 22:25:48 +0300 |
commit | a946b36601368265188811b3fdf31d443ab25484 (patch) | |
tree | 32c52d407add25e5f09341ca6a7a0afcae6f123c | |
parent | c1cb5c17beee1258c6390e132b817012a4572559 (diff) | |
download | mariadb-git-a946b36601368265188811b3fdf31d443ab25484.tar.gz |
Fix the compilation after the parent commit
Up to MariaDB 10.2, field_name is still a C-style string.
-rw-r--r-- | storage/innobase/handler/ha_innodb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc index 31601ae2930..36d507d652c 100644 --- a/storage/innobase/handler/ha_innodb.cc +++ b/storage/innobase/handler/ha_innodb.cc @@ -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; |