[MXS-395] Common functionality and poor use of realloc in filter/service options Created: 2015-10-05 Updated: 2017-12-01 Resolved: 2017-03-11 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | Core |
| Affects Version/s: | 1.2.1 |
| Fix Version/s: | 2.1.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | martin brampton (Inactive) | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Any |
||
| Description |
|
The mechanism of having an array of options is common between filter.c and service.c with functions respectively filterAddOption and serviceAddRouterOption that essentially do the same thing. It would be an improvement to make a common function that correctly handles option arrays, including detecting and logging any failures. |
| Comments |
| Comment by Johan Wikman [ 2016-09-07 ] |
|
Closing as this issue covers several unrelated problems, one of which (realloc) has been fixed. |