fix late materialization and topk hint bug

This commit is contained in:
wangt1xiuyi
2021-08-26 12:37:17 +08:00
committed by wangzelin.wzl
parent 5462fd51be
commit d1cd5d4780
2 changed files with 5 additions and 3 deletions

View File

@ -3702,7 +3702,6 @@ int ObDMLStmt::copy_query_hint(ObDMLStmt* from, ObDMLStmt* to)
LOG_WARN("get null stmt", K(ret), K(from), K(to));
} else {
to->get_stmt_hint().frozen_version_ = from->get_stmt_hint().frozen_version_;
to->get_stmt_hint().topk_precision_ = from->get_stmt_hint().topk_precision_;
to->get_stmt_hint().use_jit_policy_ = from->get_stmt_hint().use_jit_policy_;
to->get_stmt_hint().force_trace_log_ = from->get_stmt_hint().force_trace_log_;
to->get_stmt_hint().read_consistency_ = from->get_stmt_hint().read_consistency_;