Skip to content

Commit

Permalink
Fix a bug of MinusMerger. (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
s-yata committed Sep 24, 2014
1 parent 1c387ec commit 3aba2e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/grnxx/merger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ bool MinusMerger::finish(Error *error) {
record.row_id = it.first;
switch (operator_type) {
case PLUS_MERGER_OPERATOR: {
record.score = it.second;
break;
}
case MINUS_MERGER_OPERATOR: {
Expand Down

0 comments on commit 3aba2e0

Please sign in to comment.