]> git.koha-community.org Git - koha.git/commit
Bug 18285: Koha::Database schema cache accessors
authorOlli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Thu, 16 Mar 2017 18:59:35 +0000 (20:59 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 5 Jun 2017 20:26:14 +0000 (17:26 -0300)
commit149d8a6ec2413fc59a8bb51d520adec49b46bbe5
tree9285d852acddf3862b44b5f559d427277b260558
parentdd9da3e8f64ac4eb8fde5a1a58e0d692542ce2e6
Bug 18285: Koha::Database schema cache accessors

Safe way of getting and flushing the $database->{schema} -cache.

This is needed by Test::DBIx::Class to overcome pre-initialization connection
caching from C4::Context and others.

See Bug 18286.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Database.pm