* Removed extra parens from the ON expression of JOIN (SQLA::Test now handles it...
Norbert Buchmuller [Thu, 27 Nov 2008 04:07:01 +0000 (05:07 +0100)]
lib/DBIx/Class/Storage/DBI.pm

index c441333..3d23970 100644 (file)
@@ -219,7 +219,7 @@ sub _recurse_from {
     } else {
       push(@sqlf, $self->_make_as($to));
     }
-    push(@sqlf, ' ON (', $self->_join_condition($on), ')');
+    push(@sqlf, ' ON ', $self->_join_condition($on));
   }
   return join('', @sqlf);
 }