Navigation Menu

Skip to content

Commit

Permalink
Fix a bug that MRBContains() doesn't use index
Browse files Browse the repository at this point in the history
GitHub: fix #73

Reported by Petri Rautiainen. Thanks!!!
  • Loading branch information
kou committed Oct 22, 2015
1 parent 44f323a commit 2908d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -2766,7 +2766,7 @@ ulong ha_mroonga::index_flags(uint idx, uint part, bool all_parts) const
DBUG_RETURN(HA_ONLY_WHOLE_INDEX | HA_KEY_SCAN_NOT_ROR);
}
if (mrn_is_geo_key(key)) {
DBUG_RETURN(HA_ONLY_WHOLE_INDEX | HA_KEY_SCAN_NOT_ROR);
DBUG_RETURN(HA_ONLY_WHOLE_INDEX | HA_KEY_SCAN_NOT_ROR | HA_READ_RANGE);
}

int error = 0;
Expand Down

0 comments on commit 2908d38

Please sign in to comment.