[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: ResultProxy won't autoclose connection until state
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-04-04 01:49:06
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/f52fb5282a04/ Changeset: f52fb5282a04 Branch: rel_1_1 User: zzzeek Date: 2017-04-04 01:12:39+00:00 Summary: ResultProxy won't autoclose connection until state flag is set Changed the mechanics of :class:`.ResultProxy` to unconditionally delay the "autoclose" step until the :class:`.Connection` is done with the object; in the case where Postgresql ON CONFLICT with RETURNING returns no rows, autoclose was occurring in this previously non-existent use case, causing the usual autocommit behavior that occurs unconditionally upon INSERT/UPDATE/DELETE to fail. Change-Id: I235a25daf4381b31f523331f810ea04450349722 Fixes: #3955 (cherry picked from commit 8ee363e4917b0dcd64a83b6d26e465c9e61e0ea5) Affected #: 6 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |