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

--- Comment #28 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 196069
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196069&action=edit
Bug 40136: (follow-up) Avoid DateTime inflation in _unblessed_for_log

Switch from unblessed() to get_column() so that date/datetime column
values are returned as raw ISO strings directly from DBIC's internal
storage, without constructing DateTime objects that would only be
immediately stringified. This makes _unblessed_for_log cheaper on every
call, which is particularly noticeable in the test suite where
BorrowersLog defaults to enabled and patron stores are frequent.

Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to