Fix MySQL bug when a trasaction's connection reset.

This commit is contained in:
Xie Han
2023-08-19 17:16:01 +08:00
parent 8fb40d67db
commit 3d9789df97

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;
}