v.23.7Experimental Feature

Fixed crash in MaterializedMySQL when using disconnected mysqlxx::Pool::Entry

(experimental MaterializedMySQL) Fixed crash when mysqlxx::Pool::Entry is used after it was disconnected. #52063 (Val Doroshchuk).
MaterializedMySQL: Fixed a crash caused by using mysqlxx::Pool::Entry after disconnection.

Why it matters

This fix addresses stability issues in the experimental MaterializedMySQL engine by preventing crashes that occur when a MySQL connection pool entry is accessed after it has been disconnected, improving reliability during MySQL replication and synchronization.

How to use it

No special action is required; the fix is applied internally. Users of the experimental MaterializedMySQL engine will benefit from improved stability when upgrading to this version.