MXS-1997: Increase object name length limits

Updated the limits to 1023 characters and documented the old value.
This commit is contained in:
Markus Mäkelä 2018-08-02 22:12:06 +03:00
parent a6afc7fcbd
commit 1f5e23c674
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -17,8 +17,8 @@ http://code.google.com/p/inih/
#include <stdlib.h>
#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)