[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:09:05
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/7a6cc6e897d8/ Changeset: 7a6cc6e897d8 Branch: rel_1_1 User: zzzeek Date: 2017-03-26 02:18:51+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 (cherry picked from commit f214f4d4f46de24008c63f2e034329a64f510833) 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. |