diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-06-24 22:50:06 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-06-26 15:41:00 -0400 |
commit | f243c00dda1484da97e706b7237670cdce6f10b9 (patch) | |
tree | 217a8209e012abd07d72dfdf3559a5832c0cd902 /lib/sqlalchemy/dialects/mysql/pymysql.py | |
parent | 677818707471db670d5c3a83b10ebbc65f871881 (diff) | |
download | sqlalchemy-f243c00dda1484da97e706b7237670cdce6f10b9.tar.gz |
Ensure BakedQuery is cloned before we add options to it
Fixed bug in new polymorphic selectin loading where the BakedQuery used
internally would be mutated by the given loader options, which would both
inappropriately mutate the subclass query as well as carry over the effect
to subsequent queries.
Change-Id: Iaceecb50557f78484d09e55b3029a0483dfe873f
Fixes: #4286
Diffstat (limited to 'lib/sqlalchemy/dialects/mysql/pymysql.py')
0 files changed, 0 insertions, 0 deletions