Closed A248 closed 2 years ago
@A248 PRs are welcome, and feel free to join the Discord channel https://discord.gg/59bsgZB
FYI, I'm already in the Discord channel if you'd like to speak to me. I had a discussion with you previously about creating a common standard for punishment plugin data in the form of CSV file.
BanManager sets both
useServerPrepStmts
andrewriteBatchedStatements
to true for the database driver:https://github.com/BanManagement/BanManager/blob/e7111d1580419eb0c5966fe88f731c0fb4a0a090/common/src/main/java/me/confuser/banmanager/common/BanManagerPlugin.java#L325-L327
However, as described in the driver documentation,
rewriteBatchedStatements
disablesuseServerPrepStmts
: https://mariadb.com/kb/en/about-mariadb-connector-j/Thus I'd suggest that you remove
rewriteBatchedStatements
in favor ofuseServerPrepStmts
, since the two are mutually exclusive and I would guess thatuseServerPrepStmts
is more valuable in terms of performance.