Merge branch 'current/for_cpan_index' into current/dq
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / mysql.pm
index 0605983..c241749 100644 (file)
@@ -114,7 +114,7 @@ sub sql_maker {
   my $sm = $self->next::method(@_);
 
   # mysql 3 does not understand a bare JOIN
-  $sm->{_default_jointype} = 'INNER' if $mysql_ver < 4;
+  $sm->needs_inner_join(1) if $mysql_ver < 4;
 
   $sm;
 }