[to #43532098]for loop cursor dup column name check

This commit is contained in:
LiuYoung00
2023-05-19 03:41:20 +00:00
committed by ob-robot
parent ba8b4b7203
commit a4607065ee
6 changed files with 56 additions and 32 deletions

View File

@ -236,6 +236,7 @@ public:
uint64_t rowid_table_id_;
ObString ps_sql_; // sql prepare过后的参数化sql
bool is_bulk_;
bool has_dup_column_name_;
};
struct PLPrepareCtx
@ -573,7 +574,8 @@ public:
int64_t hidden_column_count,
pl::ObRecordType *&record_type,
uint64_t &rowid_table_id,
pl::ObPLBlockNS *secondary_namespace);
pl::ObPLBlockNS *secondary_namespace,
bool &has_dup_column_name);
static int spi_construct_collection(
pl::ObPLExecCtx *ctx, uint64_t package_id, ObObjParam *result);