Modifying the version number

This commit is contained in:
obdev
2023-08-03 14:42:24 +00:00
committed by ob-robot
parent a1ecfa86e5
commit a77f31ee61

View File

@ -2090,7 +2090,7 @@ int ObTruncateTableExecutor::check_use_parallel_truncate(const obrpc::ObTruncate
LOG_WARN("table is not exist", K(ret), K(database_name), K(table_name)); LOG_WARN("table is not exist", K(ret), K(database_name), K(table_name));
} else { } else {
use_parallel_truncate = (table_schema->get_autoinc_column_id() == 0 && compat_version >= DATA_VERSION_4_1_0_0) use_parallel_truncate = (table_schema->get_autoinc_column_id() == 0 && compat_version >= DATA_VERSION_4_1_0_0)
|| compat_version >= DATA_VERSION_4_2_0_0; || compat_version >= DATA_VERSION_4_1_0_2;
} }
return ret; return ret;
} }