[Koha-bugs] [Bug 16044] Define a L1 cache for all objects set in cache

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 24 20:07:54 CET 2016


Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
  Attachment #49493|0                           |1
        is obsolete|                            |

--- Comment #35 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 49548
Bug 16044: Add deep cloning

To avoid the cache to be modified unfortunately, the default behavior of
get_from_cache will be to deep copy if we are getting a structure.
If the item is a scalar, it's simply returned.

Signed-off-by: Jesse Weaver <jweaver at bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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

More information about the Koha-bugs mailing list