oslo.db/oslo_db/sqlalchemy/compat
Mike Bayer 8e96b95eb5 Adjust SAVEPOINT cause test for SQLA 1.1
SQLAlchemy 1.1 has repaired some of the failure modes
for Session.rollback(), including the MySQL case where the savepoint
identifier gets lost, such that the Session is in a more usable
state than before.  A side effect of this is that the test
here in oslo.db only hits a single error handler, not two.

SQLAlchemy upstream is described at:

https://docs.sqlalchemy.org/en/latest/changelog/migration_11.html#improved-session-state-when-a-savepoint-is-cancelled-by-the-database

Change-Id: I324f288701e9ffd241de638e0e0419dc8d9c1264
2016-11-16 12:41:40 -05:00
..
__init__.py Remove sqlalchemy < 1.0.0 compatible layer 2016-03-14 22:59:31 +08:00
utils.py Adjust SAVEPOINT cause test for SQLA 1.1 2016-11-16 12:41:40 -05:00