| line |
true |
false |
branch |
|
3
|
0 |
1 |
if $] < 5.006 |
|
19
|
0 |
0 |
if $DBD::mysqlPPrawSjis::drh |
|
41
|
0 |
0 |
unless defined $dsn |
|
44
|
0 |
0 |
if ($dsn =~ /([^:;]*)[:;](.*)/) { } |
|
52
|
0 |
0 |
if ($val =~ /([^=]*)=(.*)/) { } |
|
55
|
0 |
0 |
if ($var eq 'hostname' or $var eq 'host') { } |
|
|
0 |
0 |
elsif ($var eq 'db' or $var eq 'dbname') { } |
|
67
|
0 |
0 |
unless (defined $hash->{$var}) |
|
76
|
0 |
0 |
unless defined $hash->{'host'} |
|
128
|
0 |
0 |
if ($@) |
|
141
|
0 |
0 |
if ($character_set{'character_set_server'} eq 'cp932' and $character_set{'character_set_database'} eq 'cp932' and $character_set{'character_set_client'} eq 'cp932') { } |
|
|
0 |
0 |
elsif ($character_set{'character_set_server'} eq 'sjis' and $character_set{'character_set_database'} eq 'sjis' and $character_set{'character_set_client'} eq 'sjis') { } |
|
|
0 |
0 |
elsif ($character_set{'character_set_server'} ne 'cp932') { } |
|
|
0 |
0 |
elsif ($character_set{'character_set_database'} ne 'cp932') { } |
|
|
0 |
0 |
elsif ($character_set{'character_set_client'} ne 'cp932') { } |
|
190
|
0 |
0 |
if ($c_cp932{'1'} ne 'ab') |
|
193
|
0 |
0 |
if ($c_cp932{'2'} ne '\\') |
|
196
|
0 |
0 |
if ($c_cp932{'3'} ne "\266\305") |
|
199
|
0 |
0 |
if ($c_cp932{'4'} ne "\203J\203i") |
|
202
|
0 |
0 |
if ($c_cp932{'5'} ne "\201`\201a") |
|
205
|
0 |
0 |
if ($c_cp932{'6'} ne "\207\@\207b") |
|
208
|
0 |
0 |
if ($c_cp932{'7'} ne "\372B\373\374") |
|
211
|
0 |
0 |
if ($c_cp932{'8'} ne "\370\237") |
|
215
|
0 |
0 |
if ($c_cp932{'9'} ne "\000") |
|
218
|
0 |
0 |
if ($c_cp932{'10'} ne "\n") |
|
221
|
0 |
0 |
if ($c_cp932{'11'} ne "\r") |
|
224
|
0 |
0 |
if ($c_cp932{'12'} ne "\cZ") |
|
227
|
0 |
0 |
if ($c_cp932{'13'} ne '\\') |
|
230
|
0 |
0 |
if ($c_cp932{'14'} ne q[']) |
|
233
|
0 |
0 |
if ($c_cp932{'15'} ne '"') |
|
236
|
0 |
0 |
if ($c_cp932{'16'} ne "\203\\") |
|
266
|
0 |
0 |
unless defined $statement |
|
313
|
0 |
0 |
if $1 eq '?' |
|
356
|
0 |
0 |
if ($dbh->FETCH('Warn')) |
|
366
|
0 |
0 |
if ($dbh->FETCH('Warn')) |
|
382
|
0 |
0 |
if $mysql->is_error |
|
383
|
0 |
0 |
if ($mysql->has_selected_record) |
|
390
|
0 |
0 |
if ($@) |
|
393
|
0 |
0 |
$mysql->is_error ? : |
|
408
|
0 |
0 |
if $mysql->is_error |
|
409
|
0 |
0 |
if ($mysql->has_selected_record) |
|
416
|
0 |
0 |
if ($@) |
|
419
|
0 |
0 |
$mysql->is_error ? : |
|
443
|
0 |
0 |
if $key eq 'AutoCommit' |
|
444
|
0 |
0 |
if $key =~ /^(?:mysqlpprawsjis_.*|thread_id|mysql_insertid)$/ |
|
454
|
0 |
0 |
if ($key eq 'AutoCommit') { } |
|
|
0 |
0 |
elsif ($key =~ /^(?:mysqlpprawsjis_.*|thread_id|mysql_insertid)$/) { } |
|
455
|
0 |
0 |
unless $value |
|
485
|
0 |
0 |
ref $attr ? : |
|
486
|
0 |
0 |
if ($type) |
|
499
|
0 |
0 |
@bind_values ? : |
|
502
|
0 |
0 |
if (@$params != $num_param) |
|
528
|
0 |
0 |
if ($element =~ /\A \s+ [Ll][Ii][Mm][Ii][Tt] \s+ [?] \s* , \s* [?] \z/x and defined $$params[$i + 1] and $$params[$i + 0] =~ /^[0-9]+$/ and $$params[$i + 1] =~ /^[0-9]+$/) { } |
|
|
0 |
0 |
elsif ($element =~ /\A \s+ [Ll][Ii][Mm][Ii][Tt] \s+ /x and defined $params->[$i] and $params->[$i] =~ /^[0-9]+$/) { } |
|
|
0 |
0 |
elsif ($element =~ /\A \s+ [Oo][Ff][Ff][Ss][Ee][Tt] \s+ /x and defined $params->[$i] and $params->[$i] =~ /^[0-9]+$/) { } |
|
|
0 |
0 |
elsif ($element eq '?' and defined $params->[$i]) { } |
|
583
|
0 |
0 |
if $mysql->is_error |
|
590
|
0 |
0 |
if ($mysql->has_selected_record) |
|
598
|
0 |
0 |
if ($@) |
|
605
|
0 |
0 |
$result ? : |
|
|
0 |
0 |
$mysql->is_error ? : |
|
617
|
0 |
0 |
unless $row |
|
619
|
0 |
0 |
if ($sth->FETCH('ChopBlanks')) |
|
640
|
0 |
0 |
if $key eq 'AutoCommit' |
|
641
|
0 |
0 |
if $key eq 'NAME' |
|
642
|
0 |
0 |
if $key =~ /^mysqlpprawsjis_/ |
|
652
|
0 |
0 |
if ($key eq 'AutoCommit') { } |
|
|
0 |
0 |
elsif ($key eq 'NAME') { } |
|
|
0 |
0 |
elsif ($key =~ /^mysqlpprawsjis_/) { } |
|
653
|
0 |
0 |
unless $value |