Navigation Menu

Skip to content

Commit

Permalink
[wrapper] support geo index open.
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 3, 2011
1 parent b5b6a86 commit b619d46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ha_mroonga.cc
Expand Up @@ -2150,7 +2150,8 @@ int ha_mroonga::wrapper_open_indexes(const char *name)
for (i = 0; i < n_keys; i++) {
KEY key_info = table->s->key_info[i];

if (key_info.algorithm != HA_KEY_ALG_FULLTEXT) {
if (!(key_info.algorithm == HA_KEY_ALG_FULLTEXT ||
mrn_is_geo_key(&key_info))) {
continue;
}

Expand Down

0 comments on commit b619d46

Please sign in to comment.