[DBIx-Class-Devel] [dbsrgits/dbix-class] $row->copy doesn't work with Sybase and datetime fields (#84)

Peter Rabbitson notifications at github.com
Wed Apr 13 07:57:15 GMT 2016


Ok, given the clusterfuck the best solution I could come up with is [this workaround](https://github.com/dbsrgits/dbix-class/blob/11f335cd/t/icdt/engine_specific/sybase.t#L126-L134). I made it into a test so it is exercised going forward. Refer to the [commit message](https://github.com/dbsrgits/dbix-class/commit/11f335cd8) for the gory details (though you already know most of them).

I do not have a more general solution in mind, short of "just make a new set of inflators/datetime_setup routines for the affected storages". 

This is more or less the limit of what the current misdesigned system can do :/

---
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/84#issuecomment-209291527
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20160413/95f70291/attachment.htm>


More information about the DBIx-Class-Devel mailing list