mirror of
https://github.com/sogou/workflow.git
synced 2026-02-08 01:33:17 +08:00
Merge pull request #1360 from Barenboim/master
Fix MySQL bug when a trasaction's connection reset.
This commit is contained in:
@@ -249,6 +249,7 @@ CommMessageOut *ComplexMySQLTask::message_out()
|
||||
* the target was reconnected. */
|
||||
if (target->state)
|
||||
{
|
||||
is_user_request_ = true;
|
||||
errno = ECONNRESET;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user