]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix query in get_reservations_for_resources
authorAnn Kamyshnikova <akamyshnikova@mirantis.com>
Wed, 19 Aug 2015 11:19:11 +0000 (14:19 +0300)
committerAnn Kamyshnikova <akamyshnikova@mirantis.com>
Wed, 19 Aug 2015 12:40:02 +0000 (12:40 +0000)
commit9ebc9f808316ca249348d2c5cd2b9762373f96dd
treed82fe48f6f2ae6a4e7f4e689823856402ffa1e7c
parentda1ea9a45595c8170e908fc5533a0dace997ed33
Fix query in get_reservations_for_resources

For PostgreSQL if you're using GROUP BY everything in the SELECT
list must be an aggregate SUM(...) or used in the GROUP BY.
For reference:
http://www.postgresql.org/message-id/200402271700.28133.dev@archonet.com
Closes-bug: #1486467

Change-Id: Ieb4ead5c785ff17f580bfbc58f370a491733d96d
neutron/db/quota/api.py