[DBIx-Class-Devel] [dbix-class] Add test for update with literal bind for ARRAY (#44)

Dmitry Latin notifications at github.com
Wed Apr 9 19:07:33 GMT 2014


> @@ -116,7 +116,15 @@ sub _deflated_column {
>    my ($self, $col, $value) = @_;
>  #  return $value unless ref $value && blessed($value); # If it's not an object, don't touch it
>    ## Leave scalar refs (ala SQL::Abstract literal SQL), untouched, deflate all other refs
> -  return $value unless (ref $value && ref($value) ne 'SCALAR');
> +  ## Also leave ref refs if it is ARRAY
> +  return $value

Probably the same changes should be here: https://github.com/dim0xff/dbix-class/blob/bug/literal_bind_inflate_on_update/lib/DBIx/Class/InflateColumn.pm#L193

---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/44/files#r11453568
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20140409/f47eaf9c/attachment.htm>


More information about the DBIx-Class-Devel mailing list