diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-09-05 19:45:04 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2020-09-06 09:55:27 -0400 |
commit | b0e9083eb2a786670a1a129d7968d768d1c4ab42 (patch) | |
tree | e13e21eb1743258c8a376ab8c816f998bab0abb8 /lib/sqlalchemy/sql/compiler.py | |
parent | fc612d17145453ad95e5f9ba6a40ba70d2f507c3 (diff) | |
download | sqlalchemy-b0e9083eb2a786670a1a129d7968d768d1c4ab42.tar.gz |
Don't rely on string col name in adapt_to_context
fixed an issue where even though the method claims to be
matching up columns positionally, it was failing on that by
looking in "keymap" based on string name.
Adds a new member to the _keymap recs MD_RESULT_MAP_INDEX
so that we can efficiently link from the generated keymap
back to the compiled._result_columns structure without
any ambiguity.
Fixes: #5559
Change-Id: Ie2fa9165c16625ef860ffac1190e00575e96761f
Diffstat (limited to 'lib/sqlalchemy/sql/compiler.py')
0 files changed, 0 insertions, 0 deletions