[CP] [to #45091799]fix bug schema_gaurd not inited
This commit is contained in:
		@ -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,
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user