[CP] [to #45091799]fix bug schema_gaurd not inited

This commit is contained in:
seuwebber
2022-11-23 13:35:36 +00:00
committed by wangzelin.wzl
parent 8129d41b24
commit 69c03f5790
3 changed files with 7 additions and 2 deletions

View File

@ -425,6 +425,7 @@ public:
static int spi_build_record_type_by_result_set(common::ObIAllocator &allocator,
ObSQLSessionInfo &session,
share::schema::ObSchemaGetterGuard &schema_guard,
const sql::ObResultSet &result_set,
int64_t hidden_column_count,
pl::ObRecordType *&record_type,
@ -577,6 +578,7 @@ private:
static int spi_resolve_prepare(common::ObIAllocator &allocator,
ObSQLSessionInfo &session,
ObMySQLProxy &sql_proxy,
share::schema::ObSchemaGetterGuard &schema_guard,
sql::ObRawExprFactory &expr_factory,
const ObString &sql,
bool is_cursor,