• svoj@mysql.com/april.(none)'s avatar
    BUG#22989 - START SLAVE causes Error on COM_REGISTER_SLAVE: 1105 · 3b5c25ba
    svoj@mysql.com/april.(none) authored
                'Wrong parameters to functi
    
    START SLAVE reports vague error when it fails to register on master:
    "Wrong parameters to function register_slave".
    
    If master failed to register slave because of too long
    'report-host'/'report-user'/'report-password', return better error
    messages:
    "Failed to register slave: too long 'report-host'"
    "Failed to register slave: too long 'report-user'"
    "Failed to register slave; too long 'report-password'"
    
    No test case for this fix.
    3b5c25ba
repl_failsafe.cc 27 KB