MXS-1647: Detect API version mismatch

If the API versions do not match, MaxScale will treat this as an
error. The API versioning would allow backwards compatible changes but the
functionality to handle that is not implemented in MaxScale.

Updated API versions based on changes done to module APIs in 2.2.
This commit is contained in:
Markus Mäkelä
2018-02-06 08:31:16 +02:00
parent 6132ebd24f
commit 4089b6b6fd
7 changed files with 68 additions and 6 deletions

View File

@ -214,7 +214,7 @@ typedef struct mxs_filter_object
* is changed these values must be updated in line with the rules in the
* file modinfo.h.
*/
#define MXS_FILTER_VERSION {2, 2, 0}
#define MXS_FILTER_VERSION {3, 0, 0}
/**
* MXS_FILTER_DEF represents a filter definition from the configuration file.