From: Peter Rabbitson Date: Sat, 20 Jun 2009 22:22:23 +0000 (+0000) Subject: whoops X-Git-Tag: v0.08108~12^2~19 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dbf57cc3306fa68b5e098710d765c723543c087b;p=dbsrgits%2FDBIx-Class.git whoops --- diff --git a/lib/DBIx/Class/ResultSet.pm b/lib/DBIx/Class/ResultSet.pm index b8b7701..72b0c79 100644 --- a/lib/DBIx/Class/ResultSet.pm +++ b/lib/DBIx/Class/ResultSet.pm @@ -2713,7 +2713,7 @@ sub _resolved_attrs { # Although this is needed only if the order_by is not defined, it is # actually cheaper to just populate this rather than properly examining # order_by (stuf like [ {} ] and the like) - my $prefix = $alias . ($source->schema->storage->_sql_maker_opts->{name_sep} || '.'); + my $prefix = $alias . ($source->schema->storage->sql_maker->{name_sep} || '.'); $attrs->{_virtual_order_by} = [ map { $prefix . $_ } ($source->primary_columns) ];