Navigation Menu

Skip to content

Commit

Permalink
Specify GRN_CURSOR_GE and GRN_CURSOR_ASCENDING explicitly.
Browse files Browse the repository at this point in the history
They are the default.

I don't know what SQL uses the logic...
  • Loading branch information
kou committed Oct 5, 2012
1 parent 94d0852 commit f6f4475
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ha_mroonga.cpp
Expand Up @@ -6307,6 +6307,9 @@ int ha_mroonga::storage_index_read_map(uchar *buf, const uchar *key,
case HA_READ_AFTER_KEY:
flags |= GRN_CURSOR_GT | GRN_CURSOR_ASCENDING;
break;
case HA_READ_KEY_OR_NEXT:
flags |= GRN_CURSOR_GE | GRN_CURSOR_ASCENDING;
break;
default:
break;
}
Expand Down

0 comments on commit f6f4475

Please sign in to comment.