commit b02e9c1089503dee99e303229d40d4917505243e
Author: Fei Long Wang <email address hidden>
Date: Tue Jul 8 16:50:58 2014 +1200
limit=0 in sqlalchemy means 0 instead of unlimited
We're using limit=0 to query unlimited records. Unfornuately,
it doesn't work when a sql based database is used as pool
management database. In sqlalchemy, it means 0. This patch
will check if the limit is 0 to decide if applying the
limit() query for sqlalchemy.
Reviewed: https:/ /review. openstack. org/105353 /git.openstack. org/cgit/ openstack/ marconi/ commit/ ?id=b02e9c10895 03dee99e303229d 40d4917505243e
Committed: https:/
Submitter: Jenkins
Branch: master
commit b02e9c1089503de e99e303229d40d4 917505243e
Author: Fei Long Wang <email address hidden>
Date: Tue Jul 8 16:50:58 2014 +1200
limit=0 in sqlalchemy means 0 instead of unlimited
We're using limit=0 to query unlimited records. Unfornuately,
it doesn't work when a sql based database is used as pool
management database. In sqlalchemy, it means 0. This patch
will check if the limit is 0 to decide if applying the
limit() query for sqlalchemy.
Closes-Bug: 1337191
Change-Id: Iefc07ac41b17f5 2f7aa6607b0eb83 dbc4cdef088