We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
try { } catch(Throwable $e){ $e }
mysql的错误码 ...
...
The text was updated successfully, but these errors were encountered:
3f6eb03
Sorry, something went wrong.
No branches or pull requests
Describe Your Environment (描述你的环境)
How to Reproduce the Problem? (如何重现问题)
try {
} catch(Throwable $e){
$e
}
看代码是MysqlProxy -》onClientReceive
//ERROR Packet
if ($binaryPacket->data[4] == ErrorPacket::$FIELD_COUNT) {
$errorPacket = new ErrorPacket();
$errorPacket->read($binaryPacket);
$errorPacket->errno = ErrorCode::ER_SYNTAX_ERROR;
$data = getString($errorPacket->write());
}
请问和这样处理,而不是直接转发mysql的错误?
Expected Behavior (预期行为)
mysql的错误码
...
Actual Behavior (实际行为)
...
More Information (更多信息)
...
The text was updated successfully, but these errors were encountered: