Navigation Menu

Skip to content

Commit

Permalink
added column pruning to fulltext (ft_read).
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Jun 21, 2010
1 parent 62e8c3e commit a9077fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ha_mroonga.cc
Expand Up @@ -1198,8 +1198,10 @@ int ha_mroonga::ft_read(uchar *buf)
int n_columns = table->s->fields;
for (i=0; i < n_columns; i++) {
Field *field = table->field[i];
bitmap_set_bit(table->write_set, field->field_index);
mrn_store_field(ctx, field, col[i], row_id);
if (bitmap_is_set(table->read_set, field->field_index)) {
bitmap_set_bit(table->write_set, field->field_index);
mrn_store_field(ctx, field, col[i], row_id);
}
}
DBUG_RETURN(0);
}
Expand Down

0 comments on commit a9077fe

Please sign in to comment.