line |
!l |
l&&!r |
l&&r |
condition |
548
|
0 |
1 |
4 |
$sh->{'config_file'} and -f $sh->{'config_file'} |
945
|
0 |
0 |
1 |
not $sh->{'debug'} and $err =~ /^DBD::\w+::\w+ \w+/ |
1102
|
9 |
0 |
0 |
defined $user and length $user |
1108
|
9 |
0 |
0 |
$sh->{'user'} and not defined $sh->{'password'} |
1216
|
0 |
24 |
2 |
$num and $num =~ /^\-\d+$/ |
1222
|
0 |
0 |
26 |
$num and $num =~ /^\d+$/ |
|
0 |
0 |
26 |
$num and $num =~ /^\d+$/ and defined $sh->{'chistory'}[$num - 1] |
1253
|
0 |
0 |
0 |
@args and $args[0] =~ /^\d+$/ |
1423
|
0 |
0 |
0 |
exists $sh->{'desc_show_long'} and $sh->{'desc_show_long'} == 1 |
1425
|
0 |
0 |
0 |
exists $sh->{'desc_show_columns'} and defined $sh->{'desc_show_columns'} |
1448
|
0 |
0 |
0 |
exists $sh->{'desc_show_remarks'} and $sh->{'desc_show_remarks'} == 1 |
|
0 |
0 |
0 |
exists $sh->{'desc_show_remarks'} and $sh->{'desc_show_remarks'} == 1 and not grep({/REMARK/i;} @names) |
1490
|
0 |
0 |
0 |
exists $sh->{'desc_show_long'} and $sh->{'desc_show_long'} == 0 |
|
0 |
0 |
0 |
$dcol eq 'TYPE_NAME' and (exists $sh->{'desc_show_long'} and $sh->{'desc_show_long'} == 0) |
1575
|
0 |
0 |
0 |
defined $sth->{'SCALE'}[$c] and $sth->{'SCALE'}[$c] ne 0 |
1617
|
0 |
0 |
47 |
$opt_name and $sh->{'options'}{$opt_name} |
line |
l |
!l |
condition |
253
|
0 |
7 |
$ENV{'VISUAL'} || $ENV{'EDITOR'} || 'vi' |
|
0 |
7 |
$ENV{'DBISH_DEBUG'} || 0 |
469
|
0 |
0 |
shift @args || $ENV{'DBI_DSN'} || '' |
472
|
0 |
7 |
$ENV{'DBI_USER'} || '' |
474
|
0 |
7 |
$ENV{'DBI_PASS'} || undef |
598
|
0 |
0 |
$4 || '' |
609
|
0 |
0 |
$args_string || '' |
895
|
0 |
0 |
$commands->{$cmd}{'hint'} || '' |
905
|
22 |
0 |
$args[0] || '' |
963
|
0 |
53 |
$sth->{'NUM_OF_PARAMS'} || 0 |
998
|
53 |
0 |
$sh->{'display'} || die('panic: no display set') |
999
|
53 |
0 |
$sh->{'out_fh'} || \*STDOUT |
1173
|
0 |
0 |
$sh->{'prev_buffer'} || '' |
1263
|
0 |
0 |
$sh->{'tmp_dir'} || $ENV{'DBISH_TMP'} || $ENV{'TMP'} || $ENV{'TEMP'} || $ENV{'HOME'} || $ENV{'HOMEDRIVE'} . $ENV{'HOMEPATH'} || '.' |
1533
|
0 |
0 |
$sh->{'out_fh'} || \*STDOUT |
1557
|
0 |
0 |
$sth->{'NAME'}[$c] || 0 |
1572
|
0 |
0 |
'(' . $sth->{'PRECISION'}[$c] || '' |
line |
l |
!l&&r |
!l&&!r |
condition |
253
|
7 |
0 |
0 |
$ENV{'HOME'} || "$ENV{'HOMEDRIVE'}$ENV{'HOMEPATH'}" |
545
|
5 |
0 |
0 |
$ENV{'HOME'} || "$ENV{'HOMEDRIVE'}$ENV{'HOMEPATH'}" |
546
|
4 |
1 |
0 |
$ENV{'DBISH_CONFIG'} || "$homedir/.dbish_config" |
961
|
51 |
2 |
0 |
$execute or not $sth->{'Active'} |
1254
|
0 |
0 |
0 |
$sh->{'current_buffer'} ||= $sh->{'prev_buffer'} |
1265
|
0 |
0 |
0 |
$sh->{'tmp_file'} || "dbish$$.sql" |
1475
|
0 |
0 |
0 |
$row->{'TYPE_NAME'} || $row->{'DATA_TYPE'} |
1492
|
0 |
0 |
0 |
$row->{'TYPE_NAME'} || $row->{'DATA_TYPE'} |
1616
|
47 |
0 |
0 |
$options->{$opt_name} || $opt_name |