Open MichaelCurrie opened 3 days ago
To fix this, luckily we can just set self._mariatonydbcn.auto_reconnect = False
since we already have an elegant reconnection callback implemented so don't need to rely on the buggy one provided by mariadb's python connector.
Fixed with 8dea31c
This repo has no issue tracker available so I will record this here:
https://github.com/mariadb-corporation/mariadb-connector-python
We have identified an issue with the mariadb connector for python: even if a connection is made with
local_infile=True
:if
auto_reconnect = True
, then on reconnect, it will reset thelocal_infile
toFalse
.Minimal example of reproducing the bad behaviour: