Skip to content

Commit

Permalink
Merge pull request #1360 from Barenboim/master
Browse files Browse the repository at this point in the history
Fix MySQL bug when a trasaction's connection reset.
  • Loading branch information
Barenboim authored Aug 19, 2023
2 parents b05368a + 3d9789d commit 8ee775f
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 8ee775f

Please sign in to comment.