MXS-1200: Document and increase line length limitations

The line length limitation is now increased to 16384 bytes. It is now
clearly documented in the limitations document.

The configuration parser now uses memory from the heap instead of the
stack. This should remove any problems caused by the larger line length.
This commit is contained in:
Markus Mäkelä 2017-04-03 09:58:21 +03:00
parent f3c8377090
commit e650597eb5
2 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,12 @@ This document lists known issues and limitations in MariaDB MaxScale and its
plugins. Since limitations are related to specific plugins, this document is
divided into several sections.
## Configuration limitations
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.
## Protocol limitations
### Limitations with MySQL Protocol support (MySQLClient)

View File

@ -1,2 +1,2 @@
add_definitions(-DINI_MAX_LINE=1024 -DINI_ALLOW_MULTILINE)
add_definitions(-DINI_MAX_LINE=16384 -DINI_USE_STACK=0 -DINI_ALLOW_MULTILINE)
add_library(inih ini.c)