line |
l |
!l |
condition |
257
|
27 |
0 |
$dbh->get_info($DBIx::OnlineDDL::GetInfoType{'SQL_SEARCH_PATTERN_ESCAPE'}) // '\\' |
440
|
12 |
15 |
$copy_opts->{'target_time'} //= 1 |
443
|
12 |
15 |
$copy_opts->{'sleep'} //= 0.5 |
462
|
12 |
15 |
$copy_opts->{'dbic_retry_opts'} //= {} |
696
|
0 |
0 |
$dbi_attrs->{'Callbacks'} //= {} |
1312
|
27 |
0 |
$dbh->get_info($DBIx::OnlineDDL::GetInfoType{'SQL_SEARCH_PATTERN_ESCAPE'}) // '\\' |
1322
|
0 |
0 |
$vars->{'foreign_keys'}{'definitions'} //= {} |
1455
|
54 |
81 |
$length_info_str ||= 'SQL_MAXIMUM_IDENTIFIER_LENGTH' |
1468
|
135 |
0 |
$self->dbh->get_info($DBIx::OnlineDDL::GetInfoType{$length_info_str}) || 256 |
line |
l |
!l&&r |
!l&&!r |
condition |
295
|
0 |
27 |
0 |
$self->progress_bar || 'Term::ProgressBar'->new({'name', $self->progress_name, 'count', $steps, 'ETA', 'linear', 'silent', !(-t *STDERR && -t *STDIN)}) |
454
|
14 |
13 |
0 |
$copy_opts->{'id_name'} //= $self->dbh_runner('run', set_subname('_pk_finder', sub {
$dbh = $_;
my(@ids) = $dbh->primary_key($catalog, $schema, $orig_table_name);
die "No primary key found for $orig_table_name" unless @ids;
warn "Using the first column of a multi-column primary key for $orig_table_name" if @ids > 1;
$ids[0];
}
)) |
459
|
12 |
15 |
0 |
$copy_opts->{'dbic_storage'} //= $rsrc->storage |
460
|
12 |
15 |
0 |
$copy_opts->{'rsc'} //= $rsrc->resultset->get_column($id_name) |
463
|
12 |
15 |
0 |
$copy_opts->{'dbic_retry_opts'}{'max_attempts'} //= $DEFAULT_MAX_ATTEMPTS |
467
|
0 |
0 |
0 |
$copy_opts->{'dbi_connector'} //= $self->dbi_connector |
468
|
0 |
0 |
0 |
$copy_opts->{'min_stmt'} //= "SELECT MIN($id_name_quote) FROM $orig_table_name_quote" |
469
|
0 |
0 |
0 |
$copy_opts->{'max_stmt'} //= "SELECT MAX($id_name_quote) FROM $orig_table_name_quote" |
479
|
12 |
15 |
0 |
$copy_opts->{'count_stmt'} //= "SELECT COUNT(*) FROM $orig_table_name_quote WHERE $id_name_quote BETWEEN ? AND ?" |
480
|
12 |
15 |
0 |
$copy_opts->{'stmt'} //= $insert_select_stmt |
482
|
12 |
15 |
0 |
$copy_opts->{'progress_name'} //= "Copying $orig_table_name" |
580
|
27 |
0 |
0 |
$dbh->get_info($DBIx::OnlineDDL::GetInfoType{'SQL_DBMS_NAME'}) // $dbh->{'Driver'}{'Name'} |
953
|
0 |
0 |
0 |
$err =~ /Reached max_attempts amount of / or $block_runner->failed_attempt_count >= $block_runner->max_attempts |
1317
|
0 |
0 |
27 |
$helper->dbms_uses_global_fk_namespace or $helper->child_fks_need_adjusting |
1533
|
0 |
0 |
0 |
$DBIx::OnlineDDL::a->{'KEY_SEQ'} // $DBIx::OnlineDDL::a->{'ORDINAL_POSITION'} |
|
0 |
0 |
0 |
$DBIx::OnlineDDL::a->{'KEY_SEQ'} // $DBIx::OnlineDDL::a->{'ORDINAL_POSITION'} |
1538
|
0 |
0 |
0 |
$row->{'PKTABLE_NAME'} or $row->{'UK_TABLE_CAT'} |
1539
|
0 |
0 |
0 |
$row->{'FKTABLE_NAME'} or $row->{'FK_TABLE_NAME'} |
1541
|
0 |
0 |
0 |
$row->{'FK_NAME'} // $row->{'FKCOLUMN_NAME'} |
1542
|
0 |
0 |
0 |
$row->{'FKTABLE_NAME'} // $row->{'FK_TABLE_NAME'} |
1546
|
0 |
0 |
0 |
$row->{'PKTABLE_NAME'} // $row->{'UK_TABLE_CAT'} |
1562
|
0 |
0 |
0 |
$row->{'PKTABLE_NAME'} // $row->{'UK_TABLE_CAT'} |
|
0 |
0 |
0 |
$row->{'PKCOLUMN_NAME'} // $row->{'UK_COLUMN_NAME'} |
|
0 |
0 |
0 |
$row->{'FKCOLUMN_NAME'} // $row->{'FK_COLUMN_NAME'} |
1567
|
0 |
0 |
0 |
$create_table_sql{$fk_table_name} //= $self->_helper->create_table_sql($fk_table_name) |
1590
|
0 |
0 |
0 |
$row->{'PKCOLUMN_NAME'} // $row->{'UK_COLUMN_NAME'} |
1591
|
0 |
0 |
0 |
$row->{'FKCOLUMN_NAME'} // $row->{'FK_COLUMN_NAME'} |