From: Matt S Trout Date: Sat, 11 Feb 2006 17:04:08 +0000 (+0000) Subject: Trivial optimisation in Storage::DBI X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=41728a6e2731ef7915bd201681764f5562979eb8;p=dbsrgits%2FDBIx-Class-Historic.git Trivial optimisation in Storage::DBI --- diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index c218ef1..4a72a95 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -130,6 +130,7 @@ sub _join_condition { sub _quote { my ($self, $label) = @_; return '' unless defined $label; + return $label unless $self->{quote_char}; return $self->SUPER::_quote($label); }