From: Jesse Vincent Date: Sat, 28 Jul 2007 22:38:19 +0000 (-0500) Subject: * Removed bind_param support from update. that should be handled at the DBIC layer X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7060b44591af6cb1c3c2e420c4a878c22621305d;p=dbsrgits%2FDBIx-Class-Historic.git * Removed bind_param support from update. that should be handled at the DBIC layer --- diff --git a/lib/DBIx/Class/JDBICompat/Record.pm b/lib/DBIx/Class/JDBICompat/Record.pm index 52f51ab..8334ec8 100755 --- a/lib/DBIx/Class/JDBICompat/Record.pm +++ b/lib/DBIx/Class/JDBICompat/Record.pm @@ -852,15 +852,6 @@ sub __set { return ( $ret ) if not ( $ret ); } - # The blob handling will destroy $args{'value'}. But we assign - # that back to the object at the end. this works around that - my $unmunged_value = $args{'value'}; - - if ( $column->type =~ /^(text|longtext|clob|blob|lob|bytea)$/i ) { - my $bhash = $self->_handle->blob_params( $column->name, $column->type ); - $bhash->{'value'} = $args{'value'}; - $args{'value'} = $bhash; - } my $val = $self->_handle->update_record_value( %args,