[CP][FEAT MERGE]SDO_GEOMETRY & MYSQL GIS EXPR IMPLEMENT
This commit is contained in:
@ -221,9 +221,16 @@ int ObExprCollectionConstruct::eval_collection_construct(const ObExpr &expr,
|
||||
const pl::ObCollectionType *collection_type = NULL;
|
||||
pl::ObElemDesc elem_desc;
|
||||
pl::ObPLPackageGuard package_guard(session->get_effective_tenant_id());
|
||||
ObSchemaGetterGuard *schema_guard = NULL;
|
||||
// if called by check_default_value in ddl resolver, no sql ctx, get guard from session cache
|
||||
if (OB_ISNULL(exec_ctx.get_sql_ctx()) || OB_ISNULL(exec_ctx.get_sql_ctx()->schema_guard_)) {
|
||||
schema_guard = &session->get_cached_schema_guard_info().get_schema_guard();
|
||||
} else {
|
||||
schema_guard = exec_ctx.get_sql_ctx()->schema_guard_;
|
||||
}
|
||||
pl::ObPLResolveCtx resolve_ctx(alloc,
|
||||
*session,
|
||||
*(exec_ctx.get_sql_ctx()->schema_guard_),
|
||||
*(schema_guard),
|
||||
package_guard,
|
||||
*(exec_ctx.get_sql_proxy()),
|
||||
false);
|
||||
|
||||
Reference in New Issue
Block a user