diff options
author | Brian Elliott <brian.elliott@rackspace.com> | 2013-02-04 15:30:32 +0000 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2013-02-07 15:25:28 -0500 |
commit | 195ab59a3a53f636a43b13dc933ca63f1a62cd1a (patch) | |
tree | 975f62f923d903db4cb94b9d9f89624c4340d541 /openstack/common/db/sqlalchemy/utils.py | |
parent | 307b2df090a25258f3d2591a7b0c3bcc93ca5496 (diff) | |
download | oslo-195ab59a3a53f636a43b13dc933ca63f1a62cd1a.tar.gz oslo-195ab59a3a53f636a43b13dc933ca63f1a62cd1a.tar.xz oslo-195ab59a3a53f636a43b13dc933ca63f1a62cd1a.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 'openstack/common/db/sqlalchemy/utils.py')
0 files changed, 0 insertions, 0 deletions