| 1 |
--source include/have_udf.inc |
| 2 |
if (!$DIALOG_EXAMPLES_SO) { skip requires dialog_examples.so; } |
| 3 |
if (!$HA_EXAMPLE_SO) { skip requires ha_examples.so; } |
| 4 |
if (!$LIBDAEMON_EXAMPLE_SO) { skip requires libdaemon_examples.so; } |
| 5 |
if (!$EXAMPLE_KEY_MANAGEMENT_SO) { skip requires example_key_management.so; } |
| 6 |
if (`SELECT VERSION() LIKE '%embedded%'`) { skip Disabled for embedded until MDEV-8664 is resolved; } |
| 7 |
--source include/not_asan.inc # because of STB_GNU_UNIQUE symbols |
| 8 |
|
| 9 |
flush global status; |
| 10 |
show status like '%libraries%'; |
| 11 |
#--sorted_result |
| 12 |
#select * from information_schema.all_plugins; |
| 13 |
#show status like '%libraries%'; |
| 14 |
--replace_result .dll .so |
| 15 |
--replace_column 5 MYSQL_VERSION_ID |
| 16 |
--disable_ps2_protocol |
| 17 |
eval select * from information_schema.all_plugins where plugin_library='$HA_EXAMPLE_SO'; |
| 18 |
--enable_ps2_protocol |
| 19 |
show status like '%libraries%'; |
| 20 |
--sorted_result |
| 21 |
--replace_result .dll .so |
| 22 |
eval show plugins soname '$HA_EXAMPLE_SO'; |
| 23 |
show status like '%libraries%'; |
| 24 |
--sorted_result |
| 25 |
--replace_result .dll .so |
| 26 |
show plugins soname like '%example%'; |
| 27 |
--replace_result 8 7 |
| 28 |
show status like '%libraries%'; |
| 29 |
--sorted_result |
| 30 |
--replace_result .dll .so |
| 31 |
eval show plugins soname where library = '$HA_EXAMPLE_SO'; |
| 32 |
select variable_value > 10 from information_schema.global_status where variable_name like '%libraries%'; |
| 33 |
|