[Koha-bugs] [Bug 28276] Do not fetch config ($KOHA_CONF) from memcached

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 4 11:12:16 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28276

--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 120352
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120352
Bug 28276: Do not fetch config ($KOHA_CONF) from memcached

Review of attachment 120352:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=28276&attachment=120352)
-----------------------------------------------------------------

::: Koha/Database.pm
@@ +49,4 @@
>  
>      require Koha::Schema;
>  
> +    my $db_driver = C4::Context::db_scheme2dbi(C4::Context->config('db_scheme'));;

This change looks reasonable to me, but is worth highlighting to whoever does
QA as worth digging into.. I'm not 100% sure if there's some background reason
this used to call $context->{db_driver} instead of passing db_scheme into
db_scheme2dbi.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list