Fix parameter option overlap
All duration parameters behaved as if they were deprecated due to the bits overlapping.
This commit is contained in:
@ -110,10 +110,8 @@ enum mxs_module_param_options
|
|||||||
MXS_MODULE_OPT_PATH_CREAT = (1 << 5), /**< PATH: Create path if it doesn't exist */
|
MXS_MODULE_OPT_PATH_CREAT = (1 << 5), /**< PATH: Create path if it doesn't exist */
|
||||||
MXS_MODULE_OPT_ENUM_UNIQUE = (1 << 6), /**< ENUM: Only one value can be defined */
|
MXS_MODULE_OPT_ENUM_UNIQUE = (1 << 6), /**< ENUM: Only one value can be defined */
|
||||||
MXS_MODULE_OPT_DURATION_S = (1 << 7), /**< DURATION: Cannot be specified in milliseconds */
|
MXS_MODULE_OPT_DURATION_S = (1 << 7), /**< DURATION: Cannot be specified in milliseconds */
|
||||||
|
MXS_MODULE_OPT_DEPRECATED = (1 << 8), /**< Parameter is deprecated: Causes a warning to be logged if the
|
||||||
/**< Parameter is deprecated: Causes a warning to be logged if the parameter
|
* parameter is used but will not cause a configuration error. */
|
||||||
* is used but will not cause a configuration error. */
|
|
||||||
MXS_MODULE_OPT_DEPRECATED = (1 << 7),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/** String to enum value mappings */
|
/** String to enum value mappings */
|
||||||
|
Reference in New Issue
Block a user