adjust the infomation_schema result

This commit is contained in:
hamstersox
2023-01-04 07:38:31 +00:00
committed by ob-robot
parent 90984a6af4
commit 1176a00258
4 changed files with 126 additions and 48 deletions

View File

@ -285,7 +285,7 @@ int ObTableHandleV2::get_data_memtable(memtable::ObMemtable *&memtable)
ret = OB_NOT_INIT;
STORAGE_LOG(WARN, "not inited", K(ret));
} else if (!table_->is_data_memtable()) {
ret = OB_ENTRY_NOT_EXIST;
ret = OB_ERR_UNEXPECTED;
STORAGE_LOG(WARN, "not data memtable", K(ret), K(table_->get_key()));
} else {
memtable = static_cast<memtable::ObMemtable*>(table_);