Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def check_prerequisites(self):
return replicate.test.check_prerequisites(self)
def check_prerequisites(self):
# Check MySQL server version - Must be 5.1.0 or higher
if not self.servers.get_server(0).check_version_compat(5, 1, 0):
raise MUTLibError("Test requires server version 5.1.0 or higher")
return replicate.test.check_prerequisites(self)
def check_prerequisites(self):
if self.servers.get_server(0).check_version_compat(5, 6, 5):
raise MUTLibError("Test requires server version prior to 5.6.5")
return replicate.test.check_prerequisites(self)
def check_prerequisites(self):
# Check MySQL server version - Must be 5.1.0 or higher
if not self.servers.get_server(0).check_version_compat(5, 1, 0):
raise MUTLibError("Test requires server version 5.1.0 or higher")
self.check_gtid_unsafe()
return replicate.test.check_prerequisites(self)
def check_prerequisites(self):
# Check MySQL server version - Must be 5.1.0 or higher
if not self.servers.get_server(0).check_version_compat(5, 1, 0):
raise MUTLibError("Test requires server version 5.1.0 or higher")
self.check_gtid_unsafe()
return replicate.test.check_prerequisites(self)
def check_prerequisites(self):
return replicate.test.check_prerequisites(self)
def check_prerequisites(self):
if not self.servers.get_server(0).check_version_compat(5, 6, 5):
raise MUTLibError("Test requires server version 5.6.5 or later.")
return replicate.test.check_prerequisites(self)