mirror of
https://github.com/sogou/workflow.git
synced 2026-10-28 02:56:43 +08:00
Close connection if auth or set name failed.
This commit is contained in:
@@ -368,6 +368,8 @@ int ComplexMySQLTask::keep_alive_timeout()
|
||||
error_ = WFT_ERR_MYSQL_ACCESS_DENIED;
|
||||
else
|
||||
error_ = WFT_ERR_MYSQL_INVALID_CHARACTER_SET;
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user