[DBIx-Class-Devel] [dbsrgits/dbix-class] clear inflated in update({column => deflated}) (#120)
Andrew Ruder
notifications at github.com
Mon Nov 6 22:30:06 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/120
-- Commit Summary --
* clear inflated in update({column => deflated})
-- File Changes --
M AUTHORS (1)
M lib/DBIx/Class/Row.pm (1)
A t/inflate/datetime.t (94)
-- Patch Links --
https://github.com/dbsrgits/dbix-class/pull/120.patch
https://github.com/dbsrgits/dbix-class/pull/120.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/120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20171106/b5ecc6e3/attachment.htm>
More information about the DBIx-Class-Devel
mailing list