[BUG] Mysql returner raises decimal.ConversionSyntax / InvalidOperation #65414
Labels
Bug
broken, incorrect, or confusing behavior
info-needed
waiting for more info
needs-triage
Returners
Description
While using
event_return: [mysql]
, some requests are returning exceptiondecimal.ConversionSyntax
.❗ This is reproducible with Python
mysqlclient
package, except withpymysql==1.1.0
which does work.https://github.com/saltstack/salt/blob/v3006.3/salt/returners/mysql.py#L631-L634
https://github.com/saltstack/salt/blob/v3006.3/salt/returners/mysql.py#L376-L377
Setup
Using Docker image https://github.com/saltstack/salt/releases/tag/v3006.3 , customized to install dependencies:
mariadb-dev
drivers to build python packagemysqlclient==2.2.0
📝 Logs
Config
Additional context
Attempting to use https://alcali.dev/ . In the end i could workaround with
pymysql
connector.The text was updated successfully, but these errors were encountered: