INNER CODE UNIT · C++
status
epsilla-cloud/vectordb · engine/db/db_mvp.cpp:113
auto status = table->Release();
if (!status.ok()) {
logger_.Error("Release table " + table->table_schema_.name_ + " failed.");
}
}
}
return Status::OK();
}
Status DBMVP::Dump(const std::string& db_catalog_path) {
// Loop through all tables and dump
bool success = true;
for (int64_t i = 0; i < tables_.size(); ++i) {
std::shared_ptr<TableMVP> table = tables_[i];
if (table != nullptr) {
auto status = table->Dump(db_catalog_path);
if (!status.ok()) {
logger_.Error("Dump table " + table->table_schema_.name_ + " failed.");