~chuck-bell/mysql-utilities/mysql-utilities

« back to all changes in this revision

Viewing changes to mysql/utilities/command/userclone.py

  • Committer: chuck.bell at oracle
  • Date: 2011-09-29 14:14:38 UTC
  • Revision ID: chuck.bell@oracle.com-20110929141438-clzfl7m2769wt2jm
WL#5983 : allow user to specify binary log file and position (mysqlreplicate)

This patch adds new features to mysqlreplicate to permit starting replication
from the beginning, starting from a specific log file, and starting from a
specific log file and position.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        destination = servers[0]
125
125
 
126
126
    # Create an instance of the user class for source.
127
 
    user_source = User(source, base_user, verbosity >= 1)
 
127
    user_source = User(source, base_user, verbosity)
128
128
 
129
129
    # Create an instance of the user class for destination.
130
 
    user_dest = User(destination, base_user, verbosity >= 1)
 
130
    user_dest = User(destination, base_user, verbosity)
131
131
 
132
132
    # Check to ensure base user exists.
133
133
    if not user_source.exists(base_user):