summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/orm/interfaces.py
diff options
context:
space:
mode:
authorJohn Bodley <4567245+john-bodley@users.noreply.github.com>2022-09-29 21:58:58 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2022-10-03 18:08:08 -0400
commit9829bc43d69ea5e714014f5ac5f036a94d13bc08 (patch)
tree059391d5d165b1840588ad83eee50035f1e05c68 /lib/sqlalchemy/orm/interfaces.py
parentbb76f256fc235e2ffcdfa79cdf33a810eac8f7b2 (diff)
downloadsqlalchemy-9829bc43d69ea5e714014f5ac5f036a94d13bc08.tar.gz
adjust MySQL view reflection for non-standard MySQL variants
Adjusted the regular expression used to match "CREATE VIEW" when testing for views to work more flexibly, no longer requiring the special keyword "ALGORITHM" in the middle, which was intended to be optional but was not working correctly. The change allows view reflection to work more completely on MySQL-compatible variants such as StarRocks. Pull request courtesy John Bodley. Fixes: #8588 Closes: #8589 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/8589 Pull-request-sha: d85b2c5b51e45cec543c9ae9d62d6d659b063354 Change-Id: I173137f0bf68639cad0d5c329055475b40ddb5e4
Diffstat (limited to 'lib/sqlalchemy/orm/interfaces.py')
0 files changed, 0 insertions, 0 deletions