Skip to content

Commit 64f5eb5

Browse files
committed
Bug#21650801: HAVE_GROUP_REPLICATION_PLUGIN.INC IS NOT SAFE AGAINST RELEASE BUILDS
In release builds, group replication tests that depend on the $GROUP_REPLICATION variable are failing as the associated "have plugin" include does not verifies if it is declared or not. This is now fixed, as the have_group_replication_plugin.inc file now tests the $GROUP_REPLICATION variable.
1 parent 6880350 commit 64f5eb5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mysql-test/include/have_group_replication_plugin.inc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ if (`SELECT @@have_dynamic_loading != 'YES'`) {
1818
--skip Requires dynamic loading
1919
}
2020

21+
if (!$GROUP_REPLICATION)
22+
{
23+
--skip Need Group Replication plugin
24+
}
25+
2126
if (!`select count(*) from information_schema.plugins where PLUGIN_NAME like 'group_replication'`)
2227
{
2328
--skip Need Group Replication plugin

0 commit comments

Comments
 (0)