From: Matt S Trout Date: Mon, 7 Oct 2013 03:03:12 +0000 (+0000) Subject: default the default_inside_alias in case of a full SELECT list of ASed things X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=912a19a259013e70538da5f2657c5998270d52e9;p=dbsrgits%2FData-Query.git default the default_inside_alias in case of a full SELECT list of ASed things --- diff --git a/lib/Data/Query/Renderer/SQL/Slice/SubqueryRemap.pm b/lib/Data/Query/Renderer/SQL/Slice/SubqueryRemap.pm index 7f70046..26ee629 100644 --- a/lib/Data/Query/Renderer/SQL/Slice/SubqueryRemap.pm +++ b/lib/Data/Query/Renderer/SQL/Slice/SubqueryRemap.pm @@ -35,7 +35,7 @@ sub _subquery_remap_select { return ( inside_select_list => \@inside_select_list, outside_select_list => \@outside_select_list, - default_inside_alias => $default_inside_alias, + default_inside_alias => $default_inside_alias||'me', ); }