The above patch leads to the following compilation error at least on Ubuntu 16.04 for 5.6:
CMake Error at ./cmake/do_abi_check.cmake:79 (MESSAGE):
ABI check found difference between
./include/mysql/plugin_audit.h.pp
and /ps-build-5.6/abi_check.out,
compilation error file can be found here:
/ps-build-5.6/plugin_audit.h.pp.err
Besides, plugins infrastructure was designed to be independent from MySQL code as well as possible, including my_global.h in plugin.h increases code coherence.
The above patch leads to the following compilation error at least on Ubuntu 16.04 for 5.6:
CMake Error at ./cmake/ do_abi_ check.cmake: 79 (MESSAGE): mysql/plugin_ audit.h. pp 5.6/abi_ check.out, 5.6/plugin_ audit.h. pp.err
ABI check found difference between
./include/
and /ps-build-
compilation error file can be found here:
/ps-build-
Besides, plugins infrastructure was designed to be independent from MySQL code as well as possible, including my_global.h in plugin.h increases code coherence.
Currently we are working on another approach.