mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Temporary commit of 10.0-merge
This commit is contained in:
@ -576,7 +576,7 @@ static int extract_variable_from_show(DYNAMIC_STRING* ds, char* value)
|
||||
if ((value_end= strchr(value_start, '\n')) == NULL)
|
||||
return 1; /* Unexpected result */
|
||||
|
||||
strncpy(value, value_start, min(FN_REFLEN, value_end-value_start));
|
||||
strncpy(value, value_start, MY_MIN(FN_REFLEN, value_end-value_start));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user