Hide system-generated constraint names in oracle mode

This commit is contained in:
xianyu-w
2023-09-13 02:14:37 +00:00
committed by ob-robot
parent d1cc9c025f
commit fc0c96eb47
35 changed files with 637 additions and 80 deletions

View File

@ -319,6 +319,8 @@ int ObDDLUtil::refresh_alter_table_arg(
LOG_WARN("current constraint not exists, maybe dropped", K(ret), KPC(cst), K(table_schema));
} else if (OB_FAIL(cst->set_constraint_name(cur_cst->get_constraint_name_str()))) {
LOG_WARN("failed to set new constraint name", K(ret));
} else {
cst->set_name_generated_type(cur_cst->get_name_generated_type());
}
}