Fix: session verify log time not correct

This commit is contained in:
yaojing624
2023-05-17 14:41:49 +00:00
committed by ob-robot
parent e556c2117c
commit 2aa05a2a71

View File

@ -294,9 +294,12 @@ int ObSessInfoVerify::fetch_verify_session_info(sql::ObSQLSessionInfo &sess,
}
}
}
result.assign_ptr(buf, size);
LOG_TRACE("fetch serialize buf", KPHEX(buf + pos -size, size), K(pos), K(size), K(result));
if (OB_FAIL(ret)) {
// do nothing
} else {
result.assign_ptr(buf, size);
LOG_TRACE("fetch serialize buf", KPHEX(buf, size), K(pos), K(size), K(result));
}
return ret;
}