Merge pull request #1360 from Barenboim/master

Fix MySQL bug when a trasaction's connection reset.
This commit is contained in:
xiehan
2023-08-19 17:21:20 +08:00
committed by GitHub

View File

@@ -249,6 +249,7 @@ CommMessageOut *ComplexMySQLTask::message_out()
* the target was reconnected. */
if (target->state)
{
is_user_request_ = true;
errno = ECONNRESET;
return NULL;
}