From fca8fd02a6353e9944cc23e7097503f0f85b50c8 Mon Sep 17 00:00:00 2001 From: Bogdan Popescu <68062990+bopopescu@users.noreply.github.com> Date: Thu, 23 Jul 2020 21:57:50 +0300 Subject: [PATCH] Removing the master and slave lingo --- VoltechPM1000Plus/Python34/Lib/mysql/connector/constants.py | 2 +- .../Python34/Lib/mysql/connector/locales/eng/client_error.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VoltechPM1000Plus/Python34/Lib/mysql/connector/constants.py b/VoltechPM1000Plus/Python34/Lib/mysql/connector/constants.py index f3728d6..2396822 100644 --- a/VoltechPM1000Plus/Python34/Lib/mysql/connector/constants.py +++ b/VoltechPM1000Plus/Python34/Lib/mysql/connector/constants.py @@ -458,7 +458,7 @@ class RefreshOption(_Constants): 'HOSTS': (1 << 3, 'Flush host cache'), 'STATUS': (1 << 4, 'Flush status variables'), 'THREADS': (1 << 5, 'Flush thread cache'), - 'SLAVE': (1 << 6, 'Reset master info and restart slave thread'), + 'SLAVE': (1 << 6, 'Reset main info and restart subordinate thread'), } diff --git a/VoltechPM1000Plus/Python34/Lib/mysql/connector/locales/eng/client_error.py b/VoltechPM1000Plus/Python34/Lib/mysql/connector/locales/eng/client_error.py index c448d03..76e551e 100644 --- a/VoltechPM1000Plus/Python34/Lib/mysql/connector/locales/eng/client_error.py +++ b/VoltechPM1000Plus/Python34/Lib/mysql/connector/locales/eng/client_error.py @@ -52,8 +52,8 @@ CR_EMBEDDED_CONNECTION = u"Embedded server" CR_PROBE_SLAVE_STATUS = u"Error on SHOW SLAVE STATUS:" CR_PROBE_SLAVE_HOSTS = u"Error on SHOW SLAVE HOSTS:" -CR_PROBE_SLAVE_CONNECT = u"Error connecting to slave:" -CR_PROBE_MASTER_CONNECT = u"Error connecting to master:" +CR_PROBE_SLAVE_CONNECT = u"Error connecting to subordinate:" +CR_PROBE_MASTER_CONNECT = u"Error connecting to main:" CR_SSL_CONNECTION_ERROR = u"SSL connection error: %-.100s" CR_MALFORMED_PACKET = u"Malformed packet" CR_WRONG_LICENSE = u"This client library is licensed only for use with MySQL servers having '%s' license"