remove old mds code

This commit is contained in:
hiddenbomb
2023-09-10 08:40:31 +00:00
committed by ob-robot
parent f32a2298e8
commit 0cedfb8ea9
10 changed files with 22 additions and 164 deletions

View File

@ -290,21 +290,6 @@ int ObStorageSchema::deep_copy_column_array(
return ret;
}
int ObStorageSchema::deep_copy(const memtable::ObIMultiSourceDataUnit *src, ObIAllocator *allocator)
{
int ret = OB_SUCCESS;
if (OB_UNLIKELY(nullptr == src || nullptr == allocator)) {
ret = OB_ERR_UNEXPECTED;
STORAGE_LOG(WARN, "invalid src info or allocator", K(ret), K(src), K(allocator));
} else if (OB_UNLIKELY(src->type() != type())) {
ret = OB_INVALID_ARGUMENT;
STORAGE_LOG(WARN, "invalid type", K(ret), K(type()), KPC(src));
} else {
ret = init(*allocator, *static_cast<const ObStorageSchema *>(src));
}
return ret;
}
void ObStorageSchema::reset()
{
storage_schema_version_ = 0;