File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 97
97
}
98
98
else
99
99
{
100
- warn " Using DBI::DBD::SqlEngine with unregistered driver.\n "
100
+ warn " Using DBI::DBD::SqlEngine with unregistered driver $class .\n "
101
101
. " Reading documentation how to prevent is strongly recommended.\n " ;
102
102
103
103
}
@@ -1699,6 +1699,9 @@ Currently the API of DBI::DBD::SqlEngine is experimental and will
1699
1699
likely change in the near future to provide the table meta data basics
1700
1700
like DBD::File.
1701
1701
1702
+ DBI::DBD::SqlEngine expects that any driver in inheritance chain has
1703
+ a L<DBI prefix|DBI::DBD/The_database_handle_constructor> .
1704
+
1702
1705
=head2 Metadata
1703
1706
1704
1707
The following attributes are handled by DBI itself and not by
Original file line number Diff line number Diff line change @@ -30,8 +30,15 @@ L<DBI::DBD/CREATING A NEW DRIVER>.
30
30
31
31
=head1 CREATING DRIVER CLASSES
32
32
33
- Do you have an entry in DBI's DBD registry? For this guide, a prefix of
34
- C<foo_> is assumed.
33
+ Do you have an entry in DBI's DBD registry? DBI::DBD::SqlEngine expect
34
+ having a unique prefix for every driver class in inheritance chain.
35
+
36
+ It's easy to get a prefix - just drop the DBI team a note
37
+ (L<DBI/GETTING_HELP>). If you want for some reason hide your work, take
38
+ a look at L<Class::Method::Modifiers> how to wrap a private prefix method
39
+ around existing C<driver_prefix>.
40
+
41
+ For this guide, a prefix of C<foo_> is assumed.
35
42
36
43
=head2 Sample Skeleton
37
44
You can’t perform that action at this time.
0 commit comments