Skip to content

Commit 22b4536

Browse files
author
Athreya Permunda
committed
Merge branch 'mysql-5.5-cluster-7.2' into mysql-5.6-cluster-7.3
2 parents 438750e + e58cdef commit 22b4536

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

storage/ndb/test/run-test/setup.cpp

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
2+
Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
33
44
This program is free software; you can redistribute it and/or modify
55
it under the terms of the GNU General Public License as published by
@@ -787,12 +787,16 @@ static bool pr_check_replication(Properties& props, proc_rule_ctx& ctx, int) {
787787
}
788788

789789
static bool pr_check_features(Properties& props, proc_rule_ctx& ctx, int) {
790-
int features = 0;
791790
atrt_cluster& cluster = *ctx.m_cluster;
791+
if (cluster.m_name == ".atrt"){
792+
// skip cluster and replication features for atrt
793+
return true;
794+
}
795+
796+
int features = 0;
792797
for (unsigned i = 0; i < cluster.m_processes.size(); i++) {
793798
if (cluster.m_processes[i]->m_type == atrt_process::AP_NDB_MGMD ||
794799
cluster.m_processes[i]->m_type == atrt_process::AP_NDB_API ||
795-
cluster.m_processes[i]->m_type == atrt_process::AP_MYSQLD ||
796800
cluster.m_processes[i]->m_type == atrt_process::AP_NDBD) {
797801
features |= atrt_options::AO_NDBCLUSTER;
798802
break;

0 commit comments

Comments
 (0)