diff options
author | Brian Elliott <brian.elliott@rackspace.com> | 2013-01-28 22:06:06 +0000 |
---|---|---|
committer | Brian Elliott <brian.elliott@rackspace.com> | 2013-01-30 16:09:37 +0000 |
commit | c5c1eb43724c243d3e43735b6817346cae22f9b5 (patch) | |
tree | 97a37e67f0025893b5f2de21015ec3386d454ac4 /nova/context.py | |
parent | ed267da3ee15337e4a40b1c1f3dac88674954138 (diff) | |
download | nova-c5c1eb43724c243d3e43735b6817346cae22f9b5.tar.gz nova-c5c1eb43724c243d3e43735b6817346cae22f9b5.tar.xz nova-c5c1eb43724c243d3e43735b6817346cae22f9b5.zip |
Fix eventlet/mysql db pooling code
Eventlet versions >= 0.10 return a tuple from
db_pool.ConnectionPool().create(), not a scalar.
Also, set the FOUND_ROWS client flag, which sqlalchemy
appears to require to sanity check the number of rows
touch.
bug 1097992
Change-Id: I64e798660c506fcd13947a232cb7832db0318360
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions