summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-07-02 21:41:40 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-07-02 21:41:40 +0300
commit1d45b3b055511d58c1e820ad497793f30871586e (patch)
tree58e41c04ab412635f48d20aba81c9a4a402975ae /storage
parente82fe21e3ac3141c92b7c4fb2d1fc3c083d834e8 (diff)
parentc1cb5c17beee1258c6390e132b817012a4572559 (diff)
downloadmariadb-git-1d45b3b055511d58c1e820ad497793f30871586e.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'storage')
-rw-r--r--storage/innobase/handler/ha_innodb.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index a2217ae8725..c950cc9f138 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -9531,9 +9531,9 @@ ha_innobase::change_active_index(
since FT search returns rank only. In addition engine should
be able to retrieve FTS_DOC_ID column value if necessary. */
if (m_prebuilt->index->type & DICT_FTS) {
- for (ulint i = 0; i < table->s->fields; i++) {
+ for (uint i = 0; i < table->s->fields; i++) {
if (m_prebuilt->read_just_key
- && bitmap_get_next_set(table->read_set, i)
+ && bitmap_is_set(table->read_set, i)
&& !strcmp(table->s->field[i]->field_name.str,
FTS_DOC_ID_COL_NAME)) {
m_prebuilt->fts_doc_id_in_read_set = true;