| 1 |
|
| 2 |
|
| 3 |
# Test requires: sp-protocol/ps-protocol/view-protocol/cursor-protocol disabled |
| 4 |
--source include/no_protocol.inc |
| 5 |
--source include/no_opt_trace_protocol.inc |
| 6 |
--source include/no_explain_protocol.inc |
| 7 |
--source include/no_json_explain_protocol.inc |
| 8 |
|
| 9 |
if ( `SELECT @@have_dynamic_loading != 'YES'` ) { |
| 10 |
skip Rewriter plugin requires dynamic loading; |
| 11 |
} |
| 12 |
|
| 13 |
if ( !$REWRITER ) { |
| 14 |
skip Rewriter plugin requires the environment variable \$REWRITER to be set (normally done by mtr); |
| 15 |
} |
| 16 |
|
| 17 |
if ( `SELECT CONCAT('--plugin-dir=', REPLACE(@@plugin_dir, '\\\\', '/')) != |
| 18 |
'$REWRITER_OPT/'` ) { |
| 19 |
skip Rewriter plugin requires that --plugin-dir is set to the tree plugin dir (either the .opt file does not contain \$REWRITER_OPT or another plugin is in use); |
| 20 |
} |
| 21 |
enable_query_log; |