[Sqlalchemy-tickets] Issue #4036: mysql decimal cast on bind parameters (zzzeek/sqlalchemy)
Brought to you by:
zzzeek
From: Michael B. <iss...@bi...> - 2017-07-28 19:30:22
|
New issue 4036: mysql decimal cast on bind parameters https://bitbucket.org/zzzeek/sqlalchemy/issues/4036/mysql-decimal-cast-on-bind-parameters Michael Bayer: as in https://bitbucket.org/zzzeek/sqlalchemy/src/2ae2c25c5d24c26fdca979b091cd432c64be822d/lib/sqlalchemy/testing/suite/test_types.py?at=master&fileviewer=file-view-default#test_types.py-442, decimals are sent as strings to MySQL which doesn't know to interpret them with numeric accuracy. ensure #3981 is done using "method two" to allow for dialect-level bind expressions and implement a cast in bind_expression(). |