| line |
true |
false |
branch |
|
18
|
0 |
0 |
if $DBD::mysqlPPrawSjis::drh |
|
40
|
0 |
0 |
unless defined $dsn |
|
43
|
0 |
0 |
if ($dsn =~ /([^:;]*)[:;](.*)/) { } |
|
51
|
0 |
0 |
if ($val =~ /([^=]*)=(.*)/) { } |
|
54
|
0 |
0 |
if ($var eq 'hostname' or $var eq 'host') { } |
|
|
0 |
0 |
elsif ($var eq 'db' or $var eq 'dbname') { } |
|
66
|
0 |
0 |
unless (defined $hash->{$var}) |
|
75
|
0 |
0 |
unless defined $hash->{'host'} |
|
127
|
0 |
0 |
if ($@) |
|
140
|
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') { } |
|
189
|
0 |
0 |
if ($c_cp932{'1'} ne 'ab') |
|
192
|
0 |
0 |
if ($c_cp932{'2'} ne '\\') |
|
195
|
0 |
0 |
if ($c_cp932{'3'} ne "\266\305") |
|
198
|
0 |
0 |
if ($c_cp932{'4'} ne "\203J\203i") |
|
201
|
0 |
0 |
if ($c_cp932{'5'} ne "\201`\201a") |
|
204
|
0 |
0 |
if ($c_cp932{'6'} ne "\207\@\207b") |
|
207
|
0 |
0 |
if ($c_cp932{'7'} ne "\372B\373\374") |
|
210
|
0 |
0 |
if ($c_cp932{'8'} ne "\370\237") |
|
214
|
0 |
0 |
if ($c_cp932{'9'} ne "\000") |
|
217
|
0 |
0 |
if ($c_cp932{'10'} ne "\n") |
|
220
|
0 |
0 |
if ($c_cp932{'11'} ne "\r") |
|
223
|
0 |
0 |
if ($c_cp932{'12'} ne "\cZ") |
|
226
|
0 |
0 |
if ($c_cp932{'13'} ne '\\') |
|
229
|
0 |
0 |
if ($c_cp932{'14'} ne q[']) |
|
232
|
0 |
0 |
if ($c_cp932{'15'} ne '"') |
|
235
|
0 |
0 |
if ($c_cp932{'16'} ne "\203\\") |
|
265
|
0 |
0 |
unless defined $statement |
|
312
|
0 |
0 |
if $1 eq '?' |
|
355
|
0 |
0 |
if ($dbh->FETCH('Warn')) |
|
365
|
0 |
0 |
if ($dbh->FETCH('Warn')) |
|
381
|
0 |
0 |
if $mysql->is_error |
|
382
|
0 |
0 |
if ($mysql->has_selected_record) |
|
389
|
0 |
0 |
if ($@) |
|
392
|
0 |
0 |
$mysql->is_error ? : |
|
407
|
0 |
0 |
if $mysql->is_error |
|
408
|
0 |
0 |
if ($mysql->has_selected_record) |
|
415
|
0 |
0 |
if ($@) |
|
418
|
0 |
0 |
$mysql->is_error ? : |
|
442
|
0 |
0 |
if $key eq 'AutoCommit' |
|
443
|
0 |
0 |
if $key =~ /^(?:mysqlpprawsjis_.*|thread_id|mysql_insertid)$/ |
|
453
|
0 |
0 |
if ($key eq 'AutoCommit') { } |
|
|
0 |
0 |
elsif ($key =~ /^(?:mysqlpprawsjis_.*|thread_id|mysql_insertid)$/) { } |
|
454
|
0 |
0 |
unless $value |
|
484
|
0 |
0 |
ref $attr ? : |
|
485
|
0 |
0 |
if ($type) |
|
498
|
0 |
0 |
@bind_values ? : |
|
501
|
0 |
0 |
if (@$params != $num_param) |
|
527
|
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]) { } |
|
582
|
0 |
0 |
if $mysql->is_error |
|
589
|
0 |
0 |
if ($mysql->has_selected_record) |
|
597
|
0 |
0 |
if ($@) |
|
604
|
0 |
0 |
$result ? : |
|
|
0 |
0 |
$mysql->is_error ? : |
|
616
|
0 |
0 |
unless $row |
|
618
|
0 |
0 |
if ($sth->FETCH('ChopBlanks')) |
|
639
|
0 |
0 |
if $key eq 'AutoCommit' |
|
640
|
0 |
0 |
if $key eq 'NAME' |
|
641
|
0 |
0 |
if $key =~ /^mysqlpprawsjis_/ |
|
651
|
0 |
0 |
if ($key eq 'AutoCommit') { } |
|
|
0 |
0 |
elsif ($key eq 'NAME') { } |
|
|
0 |
0 |
elsif ($key =~ /^mysqlpprawsjis_/) { } |
|
652
|
0 |
0 |
unless $value |