Navigation Menu

Skip to content

Commit

Permalink
enabled secondary key again (for fulltext index).
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Jun 14, 2010
1 parent 91c65f8 commit 783b306
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions ha_mroonga.cc
Expand Up @@ -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];

Expand Down

0 comments on commit 783b306

Please sign in to comment.