Navigation Menu

Skip to content

Commit

Permalink
Add missing section initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 8, 2014
1 parent 2dc565f commit e225506
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/db.c
Expand Up @@ -9141,6 +9141,9 @@ grn_column_index(grn_ctx *ctx, grn_obj *obj, grn_operator op,
break;
}
} else if (GRN_ACCESSORP(obj)) {
if (section) {
*section = 0;
}
switch (op) {
case GRN_OP_EQUAL :
case GRN_OP_TERM_EXTRACT :
Expand Down

0 comments on commit e225506

Please sign in to comment.