Fix writeq_low_water

The value was never updated. Also amended the documentation to point out
that the parameter accepts size type values.
This commit is contained in:
Markus Mäkelä
2018-10-19 11:26:03 +03:00
parent 7d03bee648
commit 0862c724d8
2 changed files with 5 additions and 5 deletions

View File

@ -2500,9 +2500,9 @@ static int handle_global_item(const char* name, const char* value)
}
else if (strcmp(name, CN_WRITEQ_LOW_WATER) == 0)
{
if (!get_suffixed_size(value, &gateway.writeq_high_water))
if (!get_suffixed_size(value, &gateway.writeq_low_water))
{
MXS_ERROR("Invalid value for %s: %s", CN_WRITEQ_HIGH_WATER, value);
MXS_ERROR("Invalid value for %s: %s", CN_WRITEQ_LOW_WATER, value);
return 0;
}