[FEAT MERGE] Fix the error code loss and overwriting issues on the master branch
Co-authored-by: jingtaoye35 <1255153887@qq.com> Co-authored-by: fkuner <784819644@qq.com> Co-authored-by: lucky-sinx <2549261744@qq.com>
This commit is contained in:
@ -4536,6 +4536,7 @@ int64_t ObSqlFatalErrExtraInfoGuard::to_string(char *buf, const int64_t buf_len)
|
||||
ObQueryCtx *query_ctx = nullptr;
|
||||
if (OB_ISNULL(stmt_factory = exec_ctx_->get_stmt_factory())
|
||||
|| OB_ISNULL(query_ctx = stmt_factory->get_query_ctx())) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("fail to get query ctx", K(ret));
|
||||
} else {
|
||||
dep_tables = &(query_ctx->global_dependency_tables_);
|
||||
|
||||
Reference in New Issue
Block a user