[fix](forward) set error code for query state to handle exception of (#31975)
This commit is contained in:
@ -93,8 +93,7 @@ public class QueryState {
|
||||
}
|
||||
|
||||
public void setError(String errorMsg) {
|
||||
this.stateType = MysqlStateType.ERR;
|
||||
this.errorMessage = errorMsg;
|
||||
this.setError(ErrorCode.ERR_UNKNOWN_ERROR, errorMsg);
|
||||
}
|
||||
|
||||
public void setError(ErrorCode code, String msg) {
|
||||
|
||||
Reference in New Issue
Block a user