Use of rewriteBatchedStatements disables useServerPrepStmts
A248 opened this issue ยท 2 comments
BanManager sets both useServerPrepStmts
and rewriteBatchedStatements
to true for the database driver:
However, as described in the driver documentation, rewriteBatchedStatements
disables useServerPrepStmts
: https://mariadb.com/kb/en/about-mariadb-connector-j/
Thus I'd suggest that you remove rewriteBatchedStatements
in favor of useServerPrepStmts
, since the two are mutually exclusive and I would guess that useServerPrepStmts
is more valuable in terms of performance.
@A248 PRs are welcome, and feel free to join the Discord channel https://discord.gg/59bsgZB