[FEAT MERGE] Fix the error code loss and overwriting issues on the master branch
Co-authored-by: jingtaoye35 <1255153887@qq.com> Co-authored-by: fkuner <784819644@qq.com> Co-authored-by: lucky-sinx <2549261744@qq.com>
This commit is contained in:
@ -604,6 +604,7 @@ int ObDefaultValueUtils::get_default_type_for_default_function_static(
|
||||
{
|
||||
int ret = OB_SUCCESS;
|
||||
if (OB_ISNULL(column_schema)) {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
LOG_WARN("invalid argument", K(column_schema));
|
||||
} else if (column_schema->is_autoincrement()) {
|
||||
op = OB_NOT_STRICT_DEFAULT_OP;
|
||||
|
||||
Reference in New Issue
Block a user