[DBIx-Class-Devel] [dbsrgits/dbix-class] clear inflated in update({column => deflated}) (#121)
Andrew Ruder
notifications at github.com
Fri Nov 10 19:30:50 GMT 2017
If you access an inflated column and then change it with update({column
=> deflated_value}), the cached inflated column isn't cleared out and
returns stale values.
Added a small test exhibiting the problem with a datetime field.
You can view, comment on, or merge this pull request online at:
https://github.com/dbsrgits/dbix-class/pull/121
-- Commit Summary --
* clear inflated in update({column => deflated})
-- File Changes --
M AUTHORS (1)
M lib/DBIx/Class/Row.pm (1)
M t/inflate/datetime.t (50)
-- Patch Links --
https://github.com/dbsrgits/dbix-class/pull/121.patch
https://github.com/dbsrgits/dbix-class/pull/121.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/121
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20171110/e7014b32/attachment.htm>
More information about the DBIx-Class-Devel
mailing list