Skip to content

Commit

Permalink
Rawlins comment on using group by to enforce order which is not handl…
Browse files Browse the repository at this point in the history
…ed properly in GOLang implementation
  • Loading branch information
Vijayanand Subramanian authored and elsloo committed Jun 14, 2018
1 parent a7f8b0b commit 5be4909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic_ops/traffic_ops_golang/crconfig/edgelocations.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ and (st.name = 'REPORTED' or st.name = 'ONLINE' or st.name = 'ADMIN_DOWN')
} else {
q := `select cachegroup.name from cachegroup_fallbacks
join cachegroup on cachegroup_fallbacks.backup_cg = cachegroup.id
and cachegroup_fallbacks.primary_cg = $1
and cachegroup_fallbacks.primary_cg = $1 order by cachegroup_fallbacks.set_order
`
dbRows, err := db.Query(q, primaryCacheID)

Expand Down

0 comments on commit 5be4909

Please sign in to comment.