[FEAT MERGE]:Merge foreign key feature to master
Co-authored-by: YangEfei <yangyifei96@outlook.com>
This commit is contained in:
@ -88,7 +88,8 @@ int ObDASUtils::check_nested_sql_mutating(ObTableID ref_table_id, ObExecContext
|
||||
FOREACH_X(node, parent_das_ctx.get_table_loc_list(), OB_SUCC(ret)) {
|
||||
ObDASTableLoc *table_loc = *node;
|
||||
if (table_loc->loc_meta_->ref_table_id_ == ref_table_id
|
||||
&& (table_loc->is_writing_ || (!is_reading && lib::is_mysql_mode()))) {
|
||||
&& (table_loc->is_writing_ || (!is_reading && lib::is_mysql_mode()))
|
||||
&& !table_loc->is_fk_check_ ) {
|
||||
ObSchemaGetterGuard schema_guard;
|
||||
const ObTableSchema *table_schema = NULL;
|
||||
uint64_t tenant_id = exec_ctx.get_my_session()->get_effective_tenant_id();
|
||||
|
||||
Reference in New Issue
Block a user