line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package URI::exasol; |
2
|
2
|
|
|
2
|
|
2983
|
use base 'URI::_odbc'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
496
|
|
3
|
|
|
|
|
|
|
our $VERSION = '0.21'; |
4
|
|
|
|
|
|
|
|
5
|
21
|
|
|
21
|
1
|
9286
|
sub default_port { 8563 } |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub _dbi_param_map { |
8
|
20
|
|
|
20
|
|
80
|
my $self = shift; |
9
|
20
|
|
|
|
|
52
|
my $host = $self->host; |
10
|
20
|
|
|
|
|
555
|
my $port = $self->_port; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
# Just return the DSN if no host or port. |
13
|
20
|
100
|
66
|
|
|
367
|
return [ DSN => scalar $self->dbname ] unless $host || $port; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
return ( |
16
|
9
|
|
66
|
|
|
47
|
[ EXAHOST => $host ], |
17
|
|
|
|
|
|
|
[ EXAPORT => $port || $self->default_port ], |
18
|
|
|
|
|
|
|
); |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |