Navigation Menu

Skip to content

Commit

Permalink
Specify GRN_CURSOR_ASCENDING explicitly.
Browse files Browse the repository at this point in the history
It is the default order.
  • Loading branch information
kou committed Oct 5, 2012
1 parent 7466659 commit cc1a00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -6834,7 +6834,7 @@ int ha_mroonga::storage_read_range_first(const key_range *start_key,
}
}
if (end_key && end_key->flag == HA_READ_BEFORE_KEY) {
flags |= GRN_CURSOR_LT;
flags |= GRN_CURSOR_LT | GRN_CURSOR_ASCENDING;
}

uint pkey_nr = table->s->primary_key;
Expand Down

0 comments on commit cc1a00d

Please sign in to comment.