#1658 - ENH: Add label to ProfileLocation and use as default query label

This commit is contained in:
rob bygrave
2019-03-27 09:37:35 +13:00
parent 54534ea7f3
commit fc032c632b
10 changed files with 65 additions and 8 deletions
@@ -110,7 +110,7 @@ public class CQueryPlan {
this.planKey = request.getQueryPlanKey();
SpiQuery<?> query = request.getQuery();
this.profileLocation = query.getProfileLocation();
this.label = query.getLabel();
this.label = query.getPlanLabel();
this.location = location();
this.autoTuned = query.isAutoTuned();
this.asOfTableCount = query.getAsOfTableCount();
@@ -135,7 +135,7 @@ public class CQueryPlan {
this.beanType = request.getBeanDescriptor().getBeanType();
SpiQuery<?> query = request.getQuery();
this.profileLocation = query.getProfileLocation();
this.label = query.getLabel();
this.label = query.getPlanLabel();
this.location = location();
this.planKey = buildPlanKey(sql, rawSql, rowNumberIncluded, logWhereSql);
this.autoTuned = false;