MXS-1997: Increase object name length limits
Updated the limits to 1023 characters and documented the old value.
This commit is contained in:
@ -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
|
characters per line. This limitation was increased to 16384 characters in
|
||||||
MaxScale 2.1.3.
|
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
|
## Security limitiations
|
||||||
|
|
||||||
### MariaDB 10.2
|
### MariaDB 10.2
|
||||||
|
@ -17,8 +17,8 @@ http://code.google.com/p/inih/
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MAX_SECTION 50
|
#define MAX_SECTION 1024
|
||||||
#define MAX_NAME 50
|
#define MAX_NAME 1024
|
||||||
|
|
||||||
/* Strip whitespace chars off end of given string, in place. Return s. */
|
/* Strip whitespace chars off end of given string, in place. Return s. */
|
||||||
static char* rstrip(char* s)
|
static char* rstrip(char* s)
|
||||||
|
Reference in New Issue
Block a user