[Groonga-mysql-commit] mroonga/mroonga [master] [wrapper] remove needless multiple column key check.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 7月 5日 (火) 00:08:28 JST


Kouhei Sutou	2011-07-04 15:08:28 +0000 (Mon, 04 Jul 2011)

  New Revision: 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-04 15:07:26 +0000 (200ea58)
+++ ha_mroonga.cc    2011-07-04 15:08:28 +0000 (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);
 




Groonga-mysql-commit メーリングリストの案内
Back to archive index