diff options
author | Dan Prince <dprince@redhat.com> | 2012-05-25 12:25:23 -0400 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2012-05-30 12:41:19 -0400 |
commit | d26ed3aee130646be0e042f29f3af64f1d73608e (patch) | |
tree | fd4b103d490f70d30554c287ea476f4b02d160ec /nova/context.py | |
parent | f06624ef9415dfb3343a357c156f035c29fa01ef (diff) | |
download | nova-d26ed3aee130646be0e042f29f3af64f1d73608e.tar.gz nova-d26ed3aee130646be0e042f29f3af64f1d73608e.tar.xz nova-d26ed3aee130646be0e042f29f3af64f1d73608e.zip |
Fix reservation_commit so it works w/ PostgreSQL.
Update the Reservation model so that the 'usage' relationship is
explicitly forced to use an inner join. This fixes an issue on
PostgreSQL which doesn't support 'SELECT FOR UPDATE' on outer
joined queries.
Fixes LP Bug #1003756.
Change-Id: I3c40bd8481855a18391e12d7411762e91b1ef8b0
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions