Reviewed: https://review.openstack.org/165069 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=19c01509ca261c1153fefb447305c0a31740b712 Submitter: Jenkins Branch: master
commit 19c01509ca261c1153fefb447305c0a31740b712 Author: liyingjun <email address hidden> Date: Tue Mar 17 21:16:35 2015 +0800
Validate maximum limit for quota
Currently, when updating quota using limit larger than 2**31 -1, there will be a DBError. The maximum limit needs to be validated. And the maximum value is defined by SQL integer type INT, which is a general value: http://dev.mysql.com/doc/refman/5.0/en/integer-types.html http://www.postgresql.org/docs/9.1/static/datatype-numeric.html
Change-Id: Idf890c57342378d0a71f6b18eb42425d463b13ef Closes-bug: #1433052
Reviewed: https:/ /review. openstack. org/165069 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=19c01509ca2 61c1153fefb4473 05c0a31740b712
Committed: https:/
Submitter: Jenkins
Branch: master
commit 19c01509ca261c1 153fefb447305c0 a31740b712
Author: liyingjun <email address hidden>
Date: Tue Mar 17 21:16:35 2015 +0800
Validate maximum limit for quota
Currently, when updating quota using limit larger than 2**31 -1, dev.mysql. com/doc/ refman/ 5.0/en/ integer- types.html www.postgresql. org/docs/ 9.1/static/ datatype- numeric. html
there will be a DBError. The maximum limit needs to be validated.
And the maximum value is defined by SQL integer type INT, which
is a general value:
http://
http://
Change-Id: Idf890c57342378 d0a71f6b18eb424 25d463b13ef
Closes-bug: #1433052