Navigation Menu

Skip to content

Commit

Permalink
mysql57: support multiple column key and exact match case
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Mar 25, 2015
1 parent ec78189 commit 4638aa2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ha_mroonga.cpp
Expand Up @@ -7013,6 +7013,10 @@ int ha_mroonga::storage_index_read_map(uchar *buf, const uchar *key,
storage_encode_multiple_column_key(&key_info,
key, key_length,
key_min, &size_min);
if (find_flag == HA_READ_KEY_EXACT) {
key_max = key_min;
size_max = size_min;
}
}
} else {
flags |= GRN_CURSOR_PREFIX;
Expand Down

0 comments on commit 4638aa2

Please sign in to comment.