]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
use deleted = False, not 0 for update
authorSean Dague <sdague@linux.vnet.ibm.com>
Wed, 2 Jan 2013 19:16:19 +0000 (14:16 -0500)
committerSean Dague <sdague@linux.vnet.ibm.com>
Wed, 2 Jan 2013 19:16:19 +0000 (14:16 -0500)
commit5f6cb2f1c19687ef3a40cf6988f12b25c5269193
tree8e906cb0921af1a1bd3b1f5722bc4b9ae5e05bd3
parent18269eaad82bae89a21929ece49f145f299e4632
use deleted = False, not 0 for update

Fixes bug #1095401

When running tempest on cinder on postgresql we get a number
of errors because this call was trying to set deleted = 0.
On mysql 0 == False, but on postgresql this is a type error.

Change-Id: Ice85550e8138e0656c93a8a800afdbc5935e4bcc
cinder/db/sqlalchemy/api.py