Skip to content

Commit

Permalink
A cleanup for MDEV-12668 SRID is not preserved in UNION, VIEW, MIN, MAX
Browse files Browse the repository at this point in the history
Fixing storage/mroonga according to MDEV-12668
  • Loading branch information
abarkov committed Apr 29, 2024
1 parent 001f93d commit f582ea4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storage/mroonga/ha_mroonga.cpp
Expand Up @@ -11895,7 +11895,7 @@ int ha_mroonga::storage_encode_key_set(Field *field, const uchar *key,
field->null_bit, field->unireg_check,
&field->field_name,
field->pack_length(),
static_cast<Field_set*>(field)->typelib,
static_cast<Field_set*>(field)->typelib(),
static_cast<Field_set*>(field)->charset());
switch (field->pack_length()) {
case 1:
Expand Down
2 changes: 1 addition & 1 deletion storage/mroonga/lib/mrn_condition_converter.cpp
Expand Up @@ -599,7 +599,7 @@ namespace mrn {
string = const_item->val_str(NULL);
Field_enum *enum_field = static_cast<Field_enum *>(field_item->field);
int enum_value = find_type(string->c_ptr(),
enum_field->typelib,
enum_field->typelib(),
FIND_TYPE_BASIC);
GRN_INT64_SET(ctx_, &value_, enum_value);
} else {
Expand Down

0 comments on commit f582ea4

Please sign in to comment.