mysql-test/suite/connection_control/inc/have_test_plugin.inc
raw| 1 | disable_query_log; |
| 2 | # |
| 3 | # Check if server has support for loading plugin |
| 4 | # |
| 5 | if (`SELECT @@have_dynamic_loading != 'YES'`) { |
| 6 | --skip The connection_control plugin requires dynamic loading |
| 7 | } |
| 8 | |
| 9 | # |
| 10 | # Check if the variable PLUGIN_AUTH is set |
| 11 | # |
| 12 | if (!$PLUGIN_AUTH) { |
| 13 | --skip The connection_control plugin requires the environment variable \$PLUGIN_AUTH to be set (normally done by mtr) |
| 14 | } |
| 15 | |
| 16 | enable_query_log; |