Skip to content

Commit

Permalink
cleanup: MY_STRNNCOLLSP_NCHARS_EMULATE_TRIMMED_TRAILING_SPACES
Browse files Browse the repository at this point in the history
no need to use it when both arguments have the same length
  • Loading branch information
vuvova committed Jan 23, 2024
1 parent 8bb4648 commit 14d00fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/field.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7562,7 +7562,7 @@ int Field_string::cmp(const uchar *a_ptr, const uchar *b_ptr) const
a_ptr, field_length,
b_ptr, field_length,
Field_string::char_length(),
MY_STRNNCOLLSP_NCHARS_EMULATE_TRIMMED_TRAILING_SPACES);
0);
}


Expand Down

0 comments on commit 14d00fd

Please sign in to comment.