[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] [wrapper] remove needless multiple column key check.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:26:37 JST 2012


Kouhei Sutou	2011-07-05 00:08:28 +0900 (Tue, 05 Jul 2011)

  New Revision: d7f90c2ff9794e3073ca8d22612c55e86d7f6520
  https://github.com/mroonga/mroonga/commit/d7f90c2ff9794e3073ca8d22612c55e86d7f6520

  Log:
    [wrapper] remove needless multiple column key check.

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+0 -10)
===================================================================
--- ha_mroonga.cc    2011-07-05 00:07:26 +0900 (200ea58)
+++ ha_mroonga.cc    2011-07-05 00:08:28 +0900 (806c708)
@@ -1160,16 +1160,6 @@ int ha_mroonga::wrapper_create_index(const char *name, TABLE *table,
       continue;
     }
 
-    // must be single column key
-    int key_parts = key_info.key_parts;
-    if (key_parts != 1) {
-      GRN_LOG(ctx, GRN_LOG_ERROR,
-              "complex key is not supported yet: n-keys=<%d>", key_parts);
-      error = ER_NOT_SUPPORTED_YET;
-      my_message(error, "complex key is not supported yet.", MYF(0));
-      DBUG_RETURN(error);
-    }
-
     char index_name[MRN_MAX_PATH_SIZE];
     mrn_index_name_gen(grn_table_name, i, index_name);
 
-------------- next part --------------
HTML����������������������������...
Download 



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