Skip to content

Commit

Permalink
Fix MySQL bug when a trasaction's connection reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed Aug 19, 2023
1 parent 67931f0 commit 649bf3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/factory/MySQLTaskImpl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ CommMessageOut *ComplexMySQLTask::message_out()
* the target was reconnected. */
if (target->state)
{
is_user_request_ = true;
errno = ECONNRESET;
return NULL;
}
Expand Down

0 comments on commit 649bf3a

Please sign in to comment.