default the default_inside_alias in case of a full SELECT list of ASed things
Matt S Trout [Mon, 7 Oct 2013 03:03:12 +0000 (03:03 +0000)]
lib/Data/Query/Renderer/SQL/Slice/SubqueryRemap.pm

index 7f70046..26ee629 100644 (file)
@@ -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',
   );
 }