summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2017-12-15 13:44:18 +0100
committerYorhel <git@yorhel.nl>2017-12-15 13:44:18 +0100
commit0d2ce1dc3e9b8c49fb16e6d68971c81233a4c557 (patch)
tree66e003623eb344f57e2e22e14973ba70d2ae2c5a /lib
parentcf01120bd931440da0416419bed96f95c7515640 (diff)
TUWF::DB: Suppress "redefined" warning
Diffstat (limited to 'lib')
-rw-r--r--lib/TUWF/DB.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/TUWF/DB.pm b/lib/TUWF/DB.pm
index d72c527..d140f86 100644
--- a/lib/TUWF/DB.pm
+++ b/lib/TUWF/DB.pm
@@ -203,6 +203,7 @@ sub sqlprint { # query, bind values. Returns new query + bind values
# ('private_tuwf' in this case).
sub inject_logging {
require DBI;
+ no warnings 'redefine';
# The measured SQL timing only includes that of the execute() call, but it's
# likely that some query processing also happens during fetching.