[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Pre-load alias.c within JoinedEagerLoader cached Al
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-03-26 23:08:50
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/f214f4d4f46d/ Changeset: f214f4d4f46d Branch: master User: zzzeek Date: 2017-03-26 02:17:17+00:00 Summary: Pre-load alias.c within JoinedEagerLoader cached AliasedClass Fixed a race condition which could occur under threaded environments as a result of the caching added via :ticket:`3915`. An internal collection of ``Column`` objects could be regenerated on an alias object inappropriately, confusing a joined eager loader when it attempts to render SQL and collect results and resulting in an attribute error. The collection is now generated up front before the alias object is cached and shared among threads. Change-Id: I97d5b205992d38af8d2b4307178a15c086ef9993 Fixes: #3947 Affected #: 2 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. |