Deprecate mqfilter

This commit is contained in:
Johan Wikman
2019-06-26 09:56:12 +03:00
parent d41d4021a8
commit 59e7b2b09d
4 changed files with 16 additions and 0 deletions

View File

@ -570,6 +570,9 @@ char** parse_optstr(const char* str, const char* tok, int* szstore)
*/
static MXS_FILTER* createInstance(const char* name, MXS_CONFIG_PARAMETER* params)
{
MXS_WARNING("The mqfilter has been DEPRECATED in MaxScale 2.4 "
"and it will be removed in a future release of MaxScale.");
MQ_INSTANCE* my_instance = static_cast<MQ_INSTANCE*>(MXS_CALLOC(1, sizeof(MQ_INSTANCE)));
if (my_instance)