[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] enabled secondary key again (for fulltext index).

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 10:20:46 JST 2012


Tetsuro IKEDA	2010-06-14 18:26:07 +0900 (Mon, 14 Jun 2010)

  New Revision: 783b3061ffa795b211c790e03e61129e0253747c
  https://github.com/mroonga/mroonga/commit/783b3061ffa795b211c790e03e61129e0253747c

  Log:
    enabled secondary key again (for fulltext index).

  Modified files:
    ha_mroonga.cc

  Modified: ha_mroonga.cc (+0 -7)
===================================================================
--- ha_mroonga.cc    2010-06-11 16:14:24 +0900 (48a03a7)
+++ ha_mroonga.cc    2010-06-14 18:26:07 +0900 (a1d24c1)
@@ -673,13 +673,6 @@ int ha_mroonga::create(const char *name, TABLE *table, HA_CREATE_INFO *info)
       continue; // pkey is already handled
     }
 
-    // disable secondary key
-    if (i != pkeynr) {
-      GRN_LOG(ctx, GRN_LOG_ERROR, "secondary key is not supported (%s)", db_path);
-      grn_obj_remove(ctx, tbl_obj);
-      DBUG_RETURN(-1);
-    }
-
     grn_obj *idx_tbl_obj, *idx_col_obj, *col_obj, *col_type, buf;
     KEY key_info = table->s->key_info[i];
 
-------------- next part --------------
HTML����������������������������...
Download 



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