mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Temporary commit of 10.0-merge
This commit is contained in:
@ -134,7 +134,7 @@ char *sql_strmake_with_convert(const char *str, size_t arg_length,
|
||||
if ((from_cs == &my_charset_bin) || (to_cs == &my_charset_bin))
|
||||
{
|
||||
// Safety if to_cs->mbmaxlen > 0
|
||||
new_length= min(arg_length, max_res_length);
|
||||
new_length= MY_MIN(arg_length, max_res_length);
|
||||
memcpy(pos, str, new_length);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user