[Groonga-mysql-commit] mroonga/mroonga at 9d4b0d3 [master] mysql8 wrapper: fulltext index is always supported

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Fri Aug 10 16:59:15 JST 2018


Kouhei Sutou	2018-08-10 16:59:15 +0900 (Fri, 10 Aug 2018)

  New Revision: 9d4b0d3f42899ece352c408412a06d5f94d30b67
  https://github.com/mroonga/mroonga/commit/9d4b0d3f42899ece352c408412a06d5f94d30b67

  Message:
    mysql8 wrapper: fulltext index is always supported

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+6 -1)
===================================================================
--- ha_mroonga.cpp    2018-08-10 16:51:02 +0900 (5e10458d)
+++ ha_mroonga.cpp    2018-08-10 16:59:15 +0900 (b424a68f)
@@ -14150,7 +14150,12 @@ enum ha_key_alg ha_mroonga::get_default_index_algorithm() const
 bool ha_mroonga::wrapper_is_index_algorithm_supported(enum ha_key_alg algorithm) const
 {
   MRN_DBUG_ENTER_METHOD();
-  bool supported = wrap_handler_for_create->is_index_algorithm_supported(algorithm);
+  bool supported;
+  if (algorithm == HA_KEY_ALG_FULLTEXT) {
+    supported = true;
+  } else {
+    supported = wrap_handler_for_create->is_index_algorithm_supported(algorithm);
+  }
   DBUG_RETURN(supported);
 }
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20180810/c58d73c7/attachment-0001.htm 



More information about the Groonga-mysql-commit mailing list
アーカイブの一覧に戻る