Files
sqlalchemy/test
Mike Bayer caef13d8cf - A rare case which occurs when a :meth:.Session.rollback fails in the
scope of a :meth:`.Session.flush` operation that's raising an
exception, as has been observed in some MySQL SAVEPOINT cases, prevents
the original  database exception from being observed when it was
emitted during  flush, but only on Py2K because Py2K does not support
exception  chaining; on Py3K the originating exception is chained.  As
a workaround, a warning is emitted in this specific case showing at
least the string message of the original database error before we
proceed to raise  the rollback-originating exception.
fixes #2696

(cherry picked from commit a6fe4dc0c8)
2015-11-19 15:45:47 -05:00
..
2015-09-27 12:13:48 -04:00
2015-05-01 17:59:11 -04:00