Comment 1 for bug 950294

Revision history for this message
Daniel Nichter (daniel-nichter) wrote : Re: pt-table-checksum should create the percona schema by default

Confirmed. In check_repl_table():

   # If the repl db doesn't exit, auto-create it, maybe.
   my ($db, $tbl) = $q->split_unquote($repl_table);
   my $sql = "SHOW DATABASES LIKE '$db'";
   ...
   if ( !$tbl_exists ) {
      if ( $o->get('create-replicate-table') ) {
         create_repl_table(%args)
      }