• unknown's avatar
    BUG#21490 - No warning issued for deprecated replication parameters · f0afdde9
    unknown authored
    This patch deprecates the replication startup options in the configuration
    file and on the command line. The options deprecated include:
    
    MASTER_HOST, MASTER_USER, MASTER_PASSWORD, MASTER_PORT, MASTER_CONNECT_RETRY,
    MASTER_SSL, MASTER_SSL_CA, MASTER_SSL_CAPATH, MASTER_SSL_CERT, MASTER_SSL_KEY,
    and MASTER_SSL_CIPHER
    
    The code is designed to print the warning message once.
    
    
    sql/mysql_priv.h:
      BUG#21490 - No warning issued for deprecated replication parameters
      This patch modifies the WARN_DEPRECATED macro to permit displaying a deprecated 
      warning to the user at startup when the replication startup options are detected.
      It displays the same messae as the original version of the macro but allows the 
      macro to be called before a thread is created and the ER() macro is defined.
    f0afdde9
mysql_priv.h 79.6 KB