line |
true |
false |
branch |
77
|
0 |
0 |
if ($self->_using_freetds) { } |
|
0 |
0 |
elsif (not $self->_get_dbh->{'syb_dynamic_supported'}) { } |
|
0 |
0 |
elsif (not $self->_use_typeless_placeholders) { } |
78
|
0 |
0 |
unless $ENV{'DBIC_SYBASE_FREETDS_NOWARN'} |
96
|
0 |
0 |
if (not $self->_use_typeless_placeholders) |
97
|
0 |
0 |
if ($self->_use_placeholders) { } |
125
|
0 |
0 |
if ($self->_using_freetds and (my $ver = $self->_using_freetds_version || 999) > 0.82) |
137
|
0 |
0 |
if $self->_parent_storage |
149
|
0 |
0 |
if ref $self->_dbi_connect_info->[0] eq 'CODE' |
171
|
0 |
2 |
if $self->_writer_storage |
172
|
0 |
2 |
if $self->_bulk_storage |
197
|
0 |
0 |
$on ? : |
209
|
0 |
0 |
if ($self->_is_bulk_storage) |
215
|
0 |
0 |
unless $self->_using_freetds |
277
|
0 |
0 |
if ($op eq 'select' and not $args->[4] and $limit = $args->[3]) |
285
|
0 |
0 |
if $limit |
291
|
0 |
0 |
if (my $identity_col = $self->_perform_autoinc_retrieval) |
341
|
0 |
0 |
if $self->_perform_autoinc_retrieval |
344
|
0 |
0 |
wantarray ? : |
363
|
0 |
0 |
exists $to_insert->{$identity_col} ? : |
368
|
0 |
0 |
$identity_col && !exists $to_insert->{$identity_col} ? : |
377
|
0 |
0 |
unless (%$to_insert) |
379
|
0 |
0 |
if $col eq $identity_col |
384
|
0 |
0 |
if ref $info->{'default_value'} eq 'SCALAR' or exists $info->{'data_type'} and not defined $info->{'data_type'} |
386
|
0 |
0 |
if $info->{'data_type'} and $info->{'data_type'} =~ /^timestamp\z/i |
405
|
0 |
0 |
if ($self->{'transaction_depth'} or not $blob_cols || $need_dumb_last_insert_id) |
433
|
0 |
0 |
$identity_col ? : |
440
|
0 |
0 |
if $blob_cols |
452
|
0 |
0 |
if (my $blob_cols = $self->_remove_blob_cols($source, $fields)) { } |
474
|
0 |
0 |
if (keys %$fields) { } |
479
|
0 |
0 |
&first(sub {
$_->{'is_auto_increment'};
}
, values %{$source->columns_info([keys %$fields]);}) ? : |
497
|
0 |
0 |
&first(sub {
$_->{'is_auto_increment'};
}
, values %{$source->columns_info([keys %$fields]);}) ? : |
517
|
0 |
0 |
&first(sub {
$_ eq $identity_col;
}
, @$cols) ? : |
526
|
0 |
0 |
if (not $use_bulk_api and ref $self->_dbi_connect_info->[0] eq 'CODE') |
533
|
0 |
0 |
unless ($use_bulk_api) |
538
|
0 |
0 |
$self->{'transaction_depth'} == 0 ? : |
545
|
0 |
0 |
if ($blob_cols) |
546
|
0 |
0 |
if ($self->_autoinc_supplied_for_op) { } |
569
|
0 |
0 |
if $guard |
584
|
0 |
0 |
defined $identity_idx ? : |
592
|
0 |
0 |
exists $orig_order{$_} ? : |
613
|
0 |
0 |
if $errno == 36 |
615
|
0 |
0 |
$errmsg ? : |
|
0 |
0 |
$osmsg ? : |
|
0 |
0 |
$blkmsg ? : |
648
|
0 |
0 |
$self->_autoinc_supplied_for_op ? : |
679
|
0 |
0 |
if ($exception =~ /-Y option/) { } |
|
0 |
0 |
elsif ($exception) { } |
683
|
0 |
0 |
if $self->debug |
705
|
0 |
0 |
if ($self->_is_lob_column($source, $col)) |
707
|
0 |
0 |
if (not defined $blob_val) { } |
712
|
0 |
0 |
unless $blob_val eq '' |
717
|
0 |
0 |
%blob_cols ? : |
729
|
0 |
0 |
if ($self->_is_lob_column($source, $col)) |
732
|
0 |
0 |
if (not defined $blob_val) { } |
737
|
0 |
0 |
unless $blob_val eq '' |
744
|
0 |
0 |
@blob_cols ? : |
757
|
0 |
0 |
if (ref $where eq 'HASH' and @primary_cols == grep({defined $where->{$_};} @primary_cols)) { } |
792
|
0 |
0 |
if grep({defined $row{$_};} @primary_cols) != @primary_cols |
797
|
0 |
0 |
if $self->_perform_autoinc_retrieval |
808
|
0 |
0 |
unless ($sth) |
817
|
0 |
0 |
unless $sth->func('CS_GET', 1, 'ct_data_info') |
820
|
0 |
0 |
unless $sth->func('ct_prepare_send') |
823
|
0 |
0 |
unless defined $log_on_update |
825
|
0 |
0 |
unless $sth->func('CS_SET', 1, {'total_txtlen', length $blob, 'log_on_update', $log_on_update}, 'ct_data_info') |
830
|
0 |
0 |
unless $sth->func($blob, length $blob, 'ct_send_data') |
832
|
0 |
0 |
unless $sth->func('ct_finish_send') |
835
|
0 |
0 |
if ($self->_using_freetds) { } |
845
|
0 |
0 |
if $sth |
861
|
0 |
0 |
if (exists $blob_cols->[$i][$j]) |
917
|
0 |
0 |
if $self->_is_bulk_storage and $self->_dbh and $self->_began_bulk_work |
921
|
0 |
0 |
if $self->_is_bulk_storage |