[FEAT MERGE]Query Interface Enhancement

Co-authored-by: chinaxing <chen.yack@gmail.com>
This commit is contained in:
obdev
2023-04-28 02:41:45 +00:00
committed by ob-robot
parent d48cc591bd
commit 23b365a0a7
74 changed files with 2611 additions and 330 deletions

View File

@ -259,7 +259,14 @@ int ObVariableSetExecutor::execute(ObExecContext &ctx, ObVariableSetStmt &stmt)
"Compatibility mode be changed not in session scope");
}
} else {}
if (OB_SUCC(ret) && 0 == set_var.var_name_.case_compare(OB_SV_ENABLE_SHOW_TRACE)) {
// if set enable show trace, resend control info
if (OB_NOT_NULL(ctx.get_my_session())) {
ctx.get_my_session()->set_send_control_info(false);
}
}
if (OB_SUCC(ret) && 0 == set_var.var_name_.case_compare(OB_SV_SECURE_FILE_PRIV)) {
ObAddr addr = OBSERVER.get_self();
char buf[MAX_IP_ADDR_LENGTH + 1];