eclipse-vertx / vertx-sql-client

High performance reactive SQL Client written in Java
Apache License 2.0
894 stars 200 forks source link

Clear MySQL prepared statements cache on connection reset #1428

Closed tsegismont closed 8 months ago

tsegismont commented 8 months ago

See #1424

Otherwise, the client emits an error such as:

io.vertx.mysqlclient.MySQLException: {errorMessage=Unknown prepared statement handler (1) given to mysql_stmt_precheck, errorCode=1243, sqlState=HY000}
tsegismont commented 8 months ago

@vietj I'll backport this to 4.x after the PR is merged

vietj commented 8 months ago

@tsegismont can you rebase on latest master ? there have been code changes wrt to SSL that are needed to check CI on this branch

tsegismont commented 8 months ago

Done