From a0642039b7941aa952ba7c5dc855596b201798a5 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sun, 14 Jul 2019 21:12:18 -0400 Subject: [PATCH] add prepare_cached to the list of delegated methods. This was added in bug 340160 --- Bugzilla/DB.pm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm index e3bbff6187..092f870ca4 100644 --- a/Bugzilla/DB.pm +++ b/Bugzilla/DB.pm @@ -37,9 +37,10 @@ has [qw(dsn user pass attrs)] => (is => 'ro', required => 1,); # time we need a DBI handle to ensure the connection is alive. { my @DBI_METHODS = qw( - begin_work column_info commit disconnect do errstr get_info last_insert_id ping prepare - primary_key quote_identifier rollback selectall_arrayref selectall_hashref - selectcol_arrayref selectrow_array selectrow_arrayref selectrow_hashref table_info + begin_work column_info commit disconnect do errstr get_info last_insert_id + ping prepare prepare_cached primary_key quote_identifier rollback + selectall_arrayref selectall_hashref selectcol_arrayref selectrow_array + selectrow_arrayref selectrow_hashref table_info ); my $stash = Package::Stash->new(__PACKAGE__); -- 2.47.2