[Groonga-mysql-commit] mroonga/mroonga at 664deda [master] Fix wrong disabled keys detection

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Sep 26 10:01:43 JST 2013


Kouhei Sutou	2013-09-26 10:01:43 +0900 (Thu, 26 Sep 2013)

  New Revision: 664dedabd4f4c02aa2f46a67f305a6a18b03d558
  https://github.com/mroonga/mroonga/commit/664dedabd4f4c02aa2f46a67f305a6a18b03d558

  Message:
    Fix wrong disabled keys detection
    
    If grn_index_tables is NULL, it shows disabled keys.

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -1)
===================================================================
--- ha_mroonga.cpp    2013-09-25 19:26:02 +0900 (6bb4a94)
+++ ha_mroonga.cpp    2013-09-26 10:01:43 +0900 (78495cc)
@@ -4538,7 +4538,7 @@ void ha_mroonga::wrapper_set_keys_in_use()
         share->disable_keys = TRUE;
       }
     } else {
-      if (grn_index_tables && !grn_index_tables[i]) {
+      if (!grn_index_tables || !grn_index_tables[i]) {
         /* disabled */
         table_share->keys_in_use.clear_bit(i);
         share->disable_keys = TRUE;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index