Revision history for DBIx::Class
+ - use ref instead of eval to check limit syntax (to avoid issues with
+ Devel::StackTrace)
- remove_columns now deletes columns from _columns
0.07001 2006-08-18 19:55:00
# without digging into things too deeply
sub _find_syntax {
my ($self, $syntax) = @_;
- my $dbhname = eval { $syntax->{Driver}->{Name}} || '';
+ my $dbhname = ref $syntax eq 'HASH' ? $syntax->{Driver}{Name} : '';
if(ref($self) && $dbhname && $dbhname eq 'DB2') {
return 'RowNumberOver';
}