line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package UR::Namespace::Command::Define::Datasource::Mysql; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
1159
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
56
|
|
4
|
2
|
|
|
2
|
|
8
|
use warnings; |
|
2
|
|
|
|
|
2
|
|
|
2
|
|
|
|
|
43
|
|
5
|
2
|
|
|
2
|
|
7
|
use UR; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
11
|
|
6
|
|
|
|
|
|
|
our $VERSION = "0.46"; # UR $VERSION; |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
UR::Object::Type->define( |
9
|
|
|
|
|
|
|
class_name => __PACKAGE__, |
10
|
|
|
|
|
|
|
is => "UR::Namespace::Command::Define::Datasource::RdbmsWithAuth", |
11
|
|
|
|
|
|
|
); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub help_brief { |
14
|
0
|
|
|
0
|
0
|
|
"Add a MySQL data source to the current namespace." |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
sub _data_source_sub_class_name { |
18
|
0
|
|
|
0
|
|
|
'UR::DataSource::MySQL' |
19
|
|
|
|
|
|
|
} |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
1; |
22
|
|
|
|
|
|
|
|