The "verbose" part was not visible in the context.
Old code:
if ( $o->got('verbose') ) { print_all_keys($keys, $tbl, \%seen_tbl) if $keys; print_all_keys($fks, $tbl, \%seen_tbl) if $fks; } else { PTDEBUG && _d('Getting duplicate keys on', $tbl->{db}, $tbl->{tbl}); ....etc New code:
if ( $o->got('verbose') ) { print_all_keys($keys, $tbl, \%seen_tbl) if $keys; print_all_keys($fks, $tbl, \%seen_tbl) if $fks; } PTDEBUG && _d('Getting duplicate keys on', $tbl->{db}, $tbl->{tbl}); ....etc
« Back to merge proposal
The "verbose" part was not visible in the context.
Old code:
if ( $o->got('verbose') ) {
print_ all_keys( $keys, $tbl, \%seen_tbl) if $keys;
print_ all_keys( $fks, $tbl, \%seen_tbl) if $fks;
PTDEBUG && _d('Getting duplicate keys on',
$tbl- >{db}, $tbl->{tbl});
....etc
}
else {
New code:
if ( $o->got('verbose') ) {
print_ all_keys( $keys, $tbl, \%seen_tbl) if $keys;
print_ all_keys( $fks, $tbl, \%seen_tbl) if $fks;
$tbl-> {db}, $tbl->{tbl});
....etc
}
PTDEBUG && _d('Getting duplicate keys on',