| line |
!l |
l&&!r |
l&&r |
condition |
|
245
|
372 |
110 |
10 |
not $size[0] and $f->data_type =~ /char$/ |
|
419
|
4 |
0 |
2 |
exists $extra->{'mysql_algorithm'} and defined(my $algorithm = $extra->{'mysql_algorithm'}) |
|
426
|
4 |
0 |
2 |
exists $extra->{'mysql_definer'} and defined(my $user = $extra->{'mysql_definer'}) |
|
432
|
4 |
0 |
2 |
exists $extra->{'mysql_security'} and defined(my $security = $extra->{'mysql_security'}) |
|
547
|
65 |
0 |
0 |
$mysql_table_type and not $table_type_defined |
|
580
|
212 |
67 |
24 |
$data_type =~ /char/i and $size[0] > 255 |
|
583
|
0 |
4 |
2 |
$size[0] and $size[0] >= 12 |
|
|
0 |
2 |
2 |
$size[0] and $size[0] <= 1 |
|
598
|
6 |
12 |
6 |
$size[0] <= 65535 and $mysql_version >= "5.000003" |
|
615
|
308 |
3 |
0 |
$data_type =~ /(double|float)/ and scalar @size == 1 |
|
621
|
49 |
62 |
184 |
defined $size[0] and $size[0] > 0 |
|
|
111 |
10 |
174 |
defined $size[0] and $size[0] > 0 and not grep((lc $data_type eq $_), @no_length_attr) |
|
760
|
0 |
6 |
28 |
defined $c->name && $c->name |
|
909
|
8 |
24 |
3 |
$diff_hash->{'rename_table'} and @{$diff_hash->{'rename_table'};} |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
190
|
239 |
0 |
0 |
$value || $extra_type |
|
260
|
83 |
8 |
0 |
$quoting_generator ||= "SQL::Translator::Generator::DDL::MySQL"->new |
|
|
372 |
5 |
0 |
normalize_quote_options($options) ? $quoting_generator ||= "SQL::Translator::Generator::DDL::MySQL"->new : $nonquoting_generator ||= "SQL::Translator::Generator::DDL::MySQL"->new("quote_chars", []) |
|
276
|
0 |
22 |
0 |
$producer_args->{'mysql_max_id_length'} || $DEFAULT_MAX_ID_LENGTH |
|
499
|
41 |
61 |
32 |
$indexed_fields{($c->fields)[0]} or $c->type ne "FOREIGN KEY" |
|
530
|
47 |
0 |
12 |
uc $key eq "ENGINE" or uc $key eq "TYPE" |
|
621
|
4 |
12 |
295 |
lc $data_type eq "enum" or lc $data_type eq "set" |
|
633
|
3 |
6 |
924 |
$extra{$qual} || $extra{uc $qual} |
|
637
|
24 |
0 |
909 |
$extra{$qual} || $extra{uc $qual} |
|
702
|
43 |
6 |
0 |
$options->{'max_id_length'} || $DEFAULT_MAX_ID_LENGTH |
|
712
|
4 |
0 |
0 |
$index->name || $index->fields |
|
760
|
18 |
10 |
0 |
$options->{'max_id_length'} || $DEFAULT_MAX_ID_LENGTH |
|
769
|
45 |
8 |
0 |
$options->{'max_id_length'} || $DEFAULT_MAX_ID_LENGTH |
|
809
|
0 |
2 |
0 |
$options->{'max_id_length'} || $DEFAULT_MAX_ID_LENGTH |