Revert "MXS-2920: Allow max_slave_replication_lag=0"

This reverts commit ca69da49911074a9d218f05936282fd72a674af5 and removes
the bug from the release notes.
This commit is contained in:
Markus Mäkelä
2020-03-17 06:57:45 +02:00
parent f5b61e169b
commit 9609f5d180
4 changed files with 2 additions and 11 deletions

View File

@ -124,9 +124,6 @@ static const char gtid_wait_stmt[] =
"SET @maxscale_secret_variable=(SELECT CASE WHEN %s('%s', %s) = 0 "
"THEN 1 ELSE (SELECT 1 FROM INFORMATION_SCHEMA.ENGINES) END);";
static const char DEFAULT_MAX_SLAVE_REPLICATION_LAG_STR[] = "2147483647s";
static const int DEFAULT_MAX_SLAVE_REPLICATION_LAG = 2147483647;
/** Function that returns a "score" for a server to enable comparison.
* Smaller numbers are better.
*/