[FEAT MERGE]优化器技术改造

Co-authored-by: JinmaoLi <ljm.csmaster@gmail.com>
Co-authored-by: jingtaoye35 <1255153887@qq.com>
Co-authored-by: chimyue <chimyue@gmail.com>
This commit is contained in:
zzg19950727
2024-11-19 13:14:39 +00:00
committed by ob-robot
parent dab7652eee
commit 8aff09f2cd
226 changed files with 15647 additions and 9415 deletions

View File

@ -437,7 +437,7 @@ void TestSqlUtils::do_resolve(
resolver_ctx.expr_factory_ = &expr_factory_;
resolver_ctx.stmt_factory_ = &stmt_factory_;
resolver_ctx.query_ctx_ = stmt_factory_.get_query_ctx();
resolver_ctx.query_ctx_->question_marks_count_ = param_store.count();
resolver_ctx.query_ctx_->set_questionmark_count(param_store.count());
ObResolver resolver(resolver_ctx);
ret = resolver.resolve(ObResolver::IS_NOT_PREPARED_STMT, *parse_result.result_tree_->children_[0], stmt);
if (OB_SUCC(ret)) {