Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:30:18 JST 2012
Kouhei Sutou 2011-10-03 19:13:22 +0900 (Mon, 03 Oct 2011) New Revision: b619d462efcdecda96c6f45f53f4be89f23e39fb https://github.com/mroonga/mroonga/commit/b619d462efcdecda96c6f45f53f4be89f23e39fb Log: [wrapper] support geo index open. Modified files: ha_mroonga.cc Modified: ha_mroonga.cc (+2 -1) =================================================================== --- ha_mroonga.cc 2011-10-03 18:49:01 +0900 (a3a440b) +++ ha_mroonga.cc 2011-10-03 19:13:22 +0900 (da1ad78) @@ -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; } -------------- next part -------------- HTML����������������������������...Download