# Threaded/connection mode parser.add_option("--threads", action="store", dest="threads", default=1, help="use multiple threads (connections) " "for insert") # Add the exclude database option parser.add_option("-x", "--exclude", action="append", dest="exclude", type="string", default=None, help="exclude one or more " "objects from the operation using either a specific name " "(e.g. db1.t1), a LIKE pattern (e.g. db1.t% or db%.%) or a " "REGEXP search pattern. To use a REGEXP search pattern for " "all exclusions, you must also specify the --regexp option. " "Repeat the --exclude option for multiple exclusions.") # Add the all database options add_all(parser, "databases") # Add the skip common options add_skip_options(parser) # Add verbosity and quiet (silent) mode add_verbosity(parser, True) # Add engine options add_engines(parser) # Add locking options add_locking(parser) # Add regexp add_regexp(parser)
# Add the exclude database option parser.add_option("-x", "--exclude", action="append", dest="exclude", type="string", default=None, help="exclude one or more " "objects from the operation using either a specific name " "(e.g. db1.t1), a LIKE pattern (e.g. db1.t% or db%.%) or a " "REGEXP search pattern. To use a REGEXP search pattern for " "all exclusions, you must also specify the --regexp option. " "Repeat the --exclude option for multiple exclusions.") # Add the all database options add_all(parser, "databases") # Add the skip common options add_skip_options(parser) # Add verbosity and quiet (silent) mode add_verbosity(parser, True) # Add regexp add_regexp(parser) # Add locking add_locking(parser) # Replication user and password add_rpl_user(parser, None)