Kouhei Sutou
null+****@clear*****
Tue Oct 9 15:37:05 JST 2012
Kouhei Sutou 2012-10-09 15:37:05 +0900 (Tue, 09 Oct 2012) New Revision: 77682a8312c2adf1d9f7689b5e206cdbc01d731e https://github.com/groonga/groonga/commit/77682a8312c2adf1d9f7689b5e206cdbc01d731e Log: Use suitable name key -> term Modified files: lib/proc.c Modified: lib/proc.c (+2 -2) =================================================================== --- lib/proc.c 2012-10-09 15:36:00 +0900 (3755f1f) +++ lib/proc.c 2012-10-09 15:37:05 +0900 (45be247) @@ -93,11 +93,11 @@ exit : static grn_rc substitute_term(grn_ctx *ctx, grn_obj *table, grn_obj *column, - const char *key, size_t key_size, grn_obj *dest) + const char *term, size_t term_size, grn_obj *dest) { grn_id id; grn_rc rc = GRN_END_OF_DATA; - if ((id = grn_table_get(ctx, table, (const void *)key, (unsigned int)key_size))) { + if ((id = grn_table_get(ctx, table, (const void *)term, (unsigned int)term_size))) { if ((column->header.type == GRN_COLUMN_VAR_SIZE) && ((column->header.flags & GRN_OBJ_COLUMN_TYPE_MASK) == GRN_OBJ_COLUMN_VECTOR)) { unsigned int i, n; -------------- next part -------------- HTML����������������������������...Download