• Nayuta Yanagisawa's avatar
    MDEV-27730 Add PLUGIN_VAR_DEPRECATED flag to plugin variables · 66f55a01
    Nayuta Yanagisawa authored
    The sys_var class has the deprecation_substitute member to mark the
    deprecated variables. As it's set, the server produces warnings when
    these variables are used. However, the plugin has no means to utilize
    that functionality.
    
    So, the PLUGIN_VAR_DEPRECATED flag is introduced to set the
    deprecation_substitute with the empty string. A non-empty string can
    make the warning more informative, but there's no nice way seen to
    specify it, and not that needed at the moment.
    66f55a01
plugin.test 8 KB