]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Bugfix: MySQL expression: may be bindparam or other expression
authorAnton Kovalevich <kai3341@gmail.com>
Tue, 5 Oct 2021 22:16:02 +0000 (18:16 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 5 Oct 2021 22:44:22 +0000 (18:44 -0400)
commit5177f380c8be607c85fa23657f2e1cec0eabb24b
tree1b14db138cef50ceedc6ad8179084b49f4c00f45
parent5479799e8b3930de706e4ce6a114bad374db245e
Bugfix: MySQL  expression:  may be bindparam or other expression

Fixed issue in MySQL :func:`_mysql.match` construct where passing a clause
expression such as :func:`_sql.bindparam` or other SQL expression for the
"against" parameter would fail. Pull request courtesy Anton Kovalevich.

Fixes: #7144
Closes: #7145
Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/7145
Pull-request-sha: 3757ffa51a3ff5919278165aaf906c8d2f9940c0

Change-Id: I7bb95f338afe3a17296a7b60e8c973f93b4f5e62
doc/build/changelog/unreleased_14/7144.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/mysql/expression.py
test/dialect/mysql/test_compiler.py