File Coverage

blib/lib/DBD/CSV/TypeInfo.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             #!/usr/bin/perl
2              
3             # Don't forget to add version and intellectual property control information.
4              
5             # The %type_info_all hash was automatically generated by
6             # DBI::DBD::Metadata::write_typeinfo_pm v2.014214.
7              
8             package DBD::CSV::TypeInfo;
9              
10             {
11             require Exporter;
12             require DynaLoader;
13             @ISA = qw(Exporter DynaLoader);
14             @EXPORT = qw(type_info_all);
15 1     1   7 use DBI qw(:sql_types);
  1         2  
  1         537  
16              
17             $type_info_all = [
18             { TYPE_NAME => 0,
19             DATA_TYPE => 1,
20             COLUMN_SIZE => 2,
21             LITERAL_PREFIX => 3,
22             LITERAL_SUFFIX => 4,
23             CREATE_PARAMS => 5,
24             NULLABLE => 6,
25             CASE_SENSITIVE => 7,
26             SEARCHABLE => 8,
27             UNSIGNED_ATTRIBUTE => 9,
28             FIXED_PREC_SCALE => 10,
29             AUTO_UNIQUE_VALUE => 11,
30             LOCAL_TYPE_NAME => 12,
31             MINIMUM_SCALE => 13,
32             MAXIMUM_SCALE => 14,
33             SQL_DATA_TYPE => 15,
34             SQL_DATETIME_SUB => 16,
35             NUM_PREC_RADIX => 17,
36             INTERVAL_PRECISION => 18,
37             },
38             [ "VARCHAR", SQL_VARCHAR, undef, "'", "'", undef, 0, 1, 1, 0, undef,
39             undef, undef, 1, 999999, undef, undef, undef, undef,
40             ],
41             [ "CHAR", SQL_CHAR, undef, "'", "'", undef, 0, 1, 1, 0,
42             undef, undef, undef, 1, 999999, undef, undef, undef, undef,
43             ],
44             [ "INTEGER", SQL_INTEGER, undef, "", "", undef, 0, 0, 1, 0, undef,
45             undef, undef, 0, 0, undef, undef, undef, undef,
46             ],
47             [ "REAL", SQL_REAL, undef, "", "", undef,
48             0, 0, 1, 0, undef, undef,
49             undef, 0, 0, undef, undef, undef,
50             undef,
51             ],
52             [ "BLOB", SQL_LONGVARBINARY, undef, "'", "'", undef, 0, 1, 1, 0,
53             undef, undef, undef, 1, 999999, undef, undef, undef, undef,
54             ],
55             [ "BLOB", SQL_LONGVARBINARY, undef, "'", "'", undef, 0, 1, 1, 0,
56             undef, undef, undef, 1, 999999, undef, undef, undef, undef,
57             ],
58             [ "TEXT", SQL_LONGVARCHAR, undef, "'", "'", undef, 0, 1, 1, 0, undef,
59             undef, undef, 1, 999999, undef, undef, undef, undef,
60             ],
61             ];
62              
63             1;
64             }