[CP] fix not database feedback while .net driver connect
This commit is contained in:
@ -632,13 +632,17 @@ int ObMPPacketSender::send_ok_packet(ObSQLSessionInfo &session, ObOKPParam &ok_p
|
|||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
if (conn_->is_normal_client()) {
|
if (conn_->is_normal_client()) {
|
||||||
okp.set_use_standard_serialize(true);
|
okp.set_use_standard_serialize(true);
|
||||||
if (OB_FAIL(ObMPUtils::add_nls_format(okp, session, true))) {
|
if (OB_FAIL(ObMPUtils::add_changed_session_info(okp, session))) {
|
||||||
|
SERVER_LOG(WARN, "fail to add changed session info", K(ret));
|
||||||
|
} else if (OB_FAIL(ObMPUtils::add_nls_format(okp, session, true))) {
|
||||||
LOG_WARN("fail to add_nls_format", K(ret));
|
LOG_WARN("fail to add_nls_format", K(ret));
|
||||||
}
|
}
|
||||||
} else if (conn_->is_driver_client()) {
|
} else if (conn_->is_driver_client()) {
|
||||||
// will not track session variables, do nothing
|
// will not track session variables, do nothing
|
||||||
okp.set_use_standard_serialize(true);
|
okp.set_use_standard_serialize(true);
|
||||||
if (OB_FAIL(ObMPUtils::add_nls_format(okp, session, true))) {
|
if (OB_FAIL(ObMPUtils::add_changed_session_info(okp, session))) {
|
||||||
|
SERVER_LOG(WARN, "fail to add changed session info", K(ret));
|
||||||
|
} else if (OB_FAIL(ObMPUtils::add_nls_format(okp, session, true))) {
|
||||||
LOG_WARN("fail to add_nls_format", K(ret));
|
LOG_WARN("fail to add_nls_format", K(ret));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user