Skip to content

Commit 50d53fb

Browse files
committed
add warning on unregistered driver (RT#93204)
1 parent a32d0b0 commit 50d53fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/DBI/DBD/SqlEngine.pm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ EOI
9595
$dbclass->install_method($method);
9696
}
9797
}
98+
else
99+
{
100+
warn "Using DBI::DBD::SqlEngine with unregistered driver.\n"
101+
. "Reading documentation how to prevent is strongly recommended.\n";
102+
103+
}
98104

99105
# XXX inject DBD::XXX::Statement unless exists
100106

0 commit comments

Comments
 (0)