fix slow query did not record specific SQL information
This commit is contained in:
parent
d7ecc1332d
commit
03e4c379f6
@ -196,7 +196,7 @@ int ObSql::stmt_query(const common::ObString &stmt, ObSqlCtx &context, ObResultS
|
||||
"tenant_id", result.get_session().get_effective_tenant_id(),
|
||||
"execution_id", result.get_session().get_current_execution_id());
|
||||
#endif
|
||||
//NG_TRACE_EXT(parse_begin, OB_ID(stmt), trunc_stmt.string(), OB_ID(stmt_len), stmt.length());
|
||||
NG_TRACE_EXT(parse_begin, OB_ID(stmt), trunc_stmt.string(), OB_ID(stmt_len), stmt.length());
|
||||
//1 check inited
|
||||
if (OB_FAIL(sanity_check(context))) {
|
||||
LOG_WARN("Failed to do sanity check", K(ret));
|
||||
|
Loading…
x
Reference in New Issue
Block a user