$join_type =~ s/^\s+ | \s+$//xg;
}
- $join_type = $self->_default_jointype if not defined $join_type;
+ $join_type = $self->{_default_jointype} if not defined $join_type;
my $join_clause = sprintf ('%s JOIN ',
$join_type ? ' ' . uc($join_type) : ''
return join('', @sqlf);
}
-sub _default_jointype {};
-
sub _fold_sqlbind {
my ($self, $sqlbind) = @_;
}, 'join does not throw (mysql 3 test)';
# induce a jointype override, make sure it works even if we don't have mysql3
- no warnings qw/redefine/;
- local *DBIx::Class::SQLAHacks::MySQL::_default_jointype = sub {'inner'};
+ local $schema->storage->sql_maker->{_default_jointype} = 'inner';
is_same_sql_bind (
$rs->as_query,
'(