}
sub source_bind_attributes {
- my ($self, $source) = @_;
+ my $self = shift;
+ my ($source) = @_;
- my $bind_attributes;
- foreach my $column ($source->columns) {
+ my $bind_attributes = $self->next::method(@_);
- my $data_type = $source->column_info($column)->{data_type} || '';
- $bind_attributes->{$column} = $self->bind_attribute_by_data_type($data_type)
- if $data_type;
+ foreach my $column ($source->columns) {
$bind_attributes->{$column}{ado_size} ||= 8000; # max VARCHAR
}