1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

cleanup: MY_STRNNCOLLSP_NCHARS_EMULATE_TRIMMED_TRAILING_SPACES

no need to use it when both arguments have the same length
This commit is contained in:
Sergei Golubchik
2024-01-22 18:17:05 +01:00
parent 8bb464899f
commit 14d00fdb15

View File

@ -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);
}