Use INT with retain_last_statements

The default value is negative so the type must be INT in order to support
reading of serialized configurations.
This commit is contained in:
Markus Mäkelä 2019-03-11 21:48:33 +02:00
parent b07c53d532
commit 703f65700a
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -313,7 +313,7 @@ const MXS_MODULE_PARAM config_service_params[] =
{CN_LOG_AUTH_WARNINGS, MXS_MODULE_PARAM_BOOL, "true"},
{CN_RETRY_ON_FAILURE, MXS_MODULE_PARAM_BOOL, "true"},
{CN_SESSION_TRACK_TRX_STATE, MXS_MODULE_PARAM_BOOL, "false"},
{CN_RETAIN_LAST_STATEMENTS, MXS_MODULE_PARAM_COUNT, "-1"},
{CN_RETAIN_LAST_STATEMENTS, MXS_MODULE_PARAM_INT, "-1"},
{CN_CLUSTER, MXS_MODULE_PARAM_STRING},
{NULL}
};