summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorBrian Elliott <brian.elliott@rackspace.com>2013-01-28 22:06:06 +0000
committerBrian Elliott <brian.elliott@rackspace.com>2013-01-30 16:09:37 +0000
commitc5c1eb43724c243d3e43735b6817346cae22f9b5 (patch)
tree97a37e67f0025893b5f2de21015ec3386d454ac4 /nova/utils.py
parented267da3ee15337e4a40b1c1f3dac88674954138 (diff)
downloadnova-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/utils.py')
0 files changed, 0 insertions, 0 deletions