Showing 2 changed files with 3 additions and 5 deletions
+1
Changes
... ...
@@ -1,4 +1,5 @@
1 1
 0.1744
2
+    - improved performance
2 3
     - moved DBIx::Custom::Guide to wiki
3 4
 0.1733
4 5
     - select method join option can receive string.
+2 -5
lib/DBIx/Custom.pm
... ...
@@ -1,7 +1,7 @@
1 1
 package DBIx::Custom;
2 2
 use Object::Simple -base;
3 3
 
4
-our $VERSION = '0.1733';
4
+our $VERSION = '0.1734';
5 5
 use 5.008001;
6 6
 
7 7
 use Carp 'croak';
... ...
@@ -1399,10 +1399,7 @@ sub _push_join {
1399 1399
 
1400 1400
 sub _quote {
1401 1401
     my $self = shift;
1402
-    
1403
-    return defined $self->reserved_word_quote ? $self->reserved_word_quote
1404
-         : defined $self->quote ? $self->quote
1405
-         : '';
1402
+    return $self->{reserved_word_quote} || $self->quote || '';
1406 1403
 }
1407 1404
 
1408 1405
 sub _q {