MASTER_PORT variable for CHANGE MASTER TO command can only accept integer value

pull/6305/head
amree 11 years ago
parent 25cf215f54
commit 1d731e5c30

@ -325,7 +325,7 @@ def main():
if master_password: if master_password:
chm.append("MASTER_PASSWORD='" + master_password + "'") chm.append("MASTER_PASSWORD='" + master_password + "'")
if master_port: if master_port:
chm.append("MASTER_PORT='" + master_port + "'") chm.append("MASTER_PORT=" + master_port)
if master_connect_retry: if master_connect_retry:
chm.append("MASTER_CONNECT_RETRY='" + master_connect_retry + "'") chm.append("MASTER_CONNECT_RETRY='" + master_connect_retry + "'")
if master_log_file: if master_log_file:

Loading…
Cancel
Save