Subject: | SQL::Parser->feature does not update "valid_data_types" |
Hi,
I discovered that SQL::Parser->feature() is not updating its parent object's "opts" datastructure when asked to update the list of "valid_data_types"
I have attached a patch.
Cheers,
--- ./Parser.pm.dist Sat Oct 26 12:58:27 2002
+++ ./Parser.pm Wed Feb 4 13:24:48 2004
@@ -152,7 +152,7 @@
$self->set_feature_flags( undef, {$opt_name=>$opt_value} );
}
else {
- $self->{$opt_class}->{$opt_name} = $opt_value;
+ $self->{opts}->{$opt_class}->{$opt_name} = $opt_value;
}
}
else {