| 1 |
disable_query_log; |
| 2 |
|
| 3 |
# |
| 4 |
# Check if the variable TEST_UDF_REGISTRATION is set |
| 5 |
# |
| 6 |
if (!$TEST_UDF_REGISTRATION) { |
| 7 |
--skip component requires the environment variable \$TEST_UDF_REGISTRATION to be set (normally done by mtr), see the file plugin.defs |
| 8 |
} |
| 9 |
|
| 10 |
# |
| 11 |
## Check if --plugin-dir was setup for component_test |
| 12 |
# |
| 13 |
if (`SELECT CONCAT('--plugin-dir=', REPLACE(@@plugin_dir, '\\\\', '/')) != '$TEST_UDF_REGISTRATION_OPT/'`) { |
| 14 |
--skip component_test requires that --plugin-dir is set to the component_test dir (the .opt file does not contain \$TEST_UDF_REGISTRATION_OPT) |
| 15 |
} |
| 16 |
|
| 17 |
enable_query_log; |