From: Arthur Axel 'fREW' Schmidt Date: Tue, 29 Mar 2011 14:37:50 +0000 (-0500) Subject: take out useless _table option X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a0d6d3230359880681d5d328d6b1775c0fbe5983;p=scpubgit%2FQ-Branch.git take out useless _table option --- diff --git a/lib/SQL/Abstract.pm b/lib/SQL/Abstract.pm index 45d0425..2041fa6 100644 --- a/lib/SQL/Abstract.pm +++ b/lib/SQL/Abstract.pm @@ -599,7 +599,7 @@ sub _where_op_ANDOR { SCALARREF => sub { puke "-$op => \\\$scalar makes little sense, use " . - ($op =~ /^or/i + ($op =~ /^or/i ? '[ \$scalar, \%rest_of_conditions ] instead' : '-and => [ \$scalar, \%rest_of_conditions ] instead' ); @@ -607,7 +607,7 @@ sub _where_op_ANDOR { ARRAYREFREF => sub { puke "-$op => \\[...] makes little sense, use " . - ($op =~ /^or/i + ($op =~ /^or/i ? '[ \[...], \%rest_of_conditions ] instead' : '-and => [ \[...], \%rest_of_conditions ] instead' ); @@ -1148,7 +1148,6 @@ sub _table { ARRAYREF => sub {join ', ', map { $self->_quote($_) } @$from;}, SCALAR => sub {$self->_quote($from)}, SCALARREF => sub {$$from}, - ARRAYREFREF => sub {join ', ', @$from;}, }); }