[to #48644798] fix mysql errno for creating views with questionmarks in PL

This commit is contained in:
0xacc
2023-05-25 18:11:48 +00:00
committed by ob-robot
parent 6076783094
commit 6de40b6e88
9 changed files with 46 additions and 5 deletions

View File

@ -1041,6 +1041,8 @@ int ObParser::parse(const ObString &query,
parse_result.question_mark_ctx_.count_ = def_name_ctx_->count_;
}
parse_result.pl_parse_info_.is_inner_parse_ = is_pl_inner_parse;
if (INS_MULTI_VALUES == parse_mode) {
void *buffer = nullptr;
if (OB_ISNULL(buffer = allocator_->alloc(sizeof(InsMultiValuesResult)))) {