zrhoffman commented on a change in pull request #4953:
URL: https://github.com/apache/trafficcontrol/pull/4953#discussion_r470298201



##########
File path: traffic_ops/traffic_ops_golang/deliveryservice/servers/servers.go
##########
@@ -814,7 +814,7 @@ func (dss *TODSSDeliveryService) Read(h http.Header, useIMS 
bool) ([]interface{}
 
 func selectMaxLastUpdatedQuery(where string) string {
        return `SELECT max(t) from (
-               SELECT max(dss.last_updated) as t from deliveryservice_server 
dss ` + where +
+               SELECT max(dss.last_updated) as t from deliveryservice_server 
dss JOIN deliveryservice ds ON ds.id = dss.deliveryservice ` + where +

Review comment:
       I missed that this one was in a completely different file. Sounds good




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to