commit e687098cf14e7e83e2c7c4252c895324e6735e24
Author: Wen Cheng Ma <email address hidden>
Date: Mon Mar 3 17:49:15 2014 +0800
Fix glance db migration failed on 031
In fact, the first where expression has filtered the duplicated locations,
and the second filters the locations which have more than 1 rows, so the
second result set is included in the first.
In DB2, if the boolean of where expression is true, it will throw error.
So remove the second where expression to fix glance db migration failed on 031.
Reviewed: https:/ /review. openstack. org/77546 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=e687098cf14 e7e83e2c7c4252c 895324e6735e24
Committed: https:/
Submitter: Jenkins
Branch: master
commit e687098cf14e7e8 3e2c7c4252c8953 24e6735e24
Author: Wen Cheng Ma <email address hidden>
Date: Mon Mar 3 17:49:15 2014 +0800
Fix glance db migration failed on 031
In fact, the first where expression has filtered the duplicated locations,
and the second filters the locations which have more than 1 rows, so the
second result set is included in the first.
In DB2, if the boolean of where expression is true, it will throw error.
So remove the second where expression to fix glance db migration failed on 031.
Fixes bug #1287087
Change-Id: Id485b6d20696e9 89d10f375901138 7137543918a