diff --git a/Documentation/About/Limitations.md b/Documentation/About/Limitations.md index 478664fb0..98eff7d46 100644 --- a/Documentation/About/Limitations.md +++ b/Documentation/About/Limitations.md @@ -10,6 +10,10 @@ In versions 2.1.2 and earlier, the configuration files are limited to 1024 characters per line. This limitation was increased to 16384 characters in MaxScale 2.1.3. +In versions 2.2.12 and earlier, the section names in the configuration files +were limited to 49 characters. This limitation was increased to 1023 characters +in MaxScale 2.2.13. + ## Security limitiations ### MariaDB 10.2 diff --git a/server/inih/ini.c b/server/inih/ini.c index ac185fb55..68614df2d 100644 --- a/server/inih/ini.c +++ b/server/inih/ini.c @@ -17,8 +17,8 @@ http://code.google.com/p/inih/ #include #endif -#define MAX_SECTION 50 -#define MAX_NAME 50 +#define MAX_SECTION 1024 +#define MAX_NAME 1024 /* Strip whitespace chars off end of given string, in place. Return s. */ static char* rstrip(char* s)