diff --git a/cpp/src/db/DBMetaImpl.cpp b/cpp/src/db/DBMetaImpl.cpp index 0e2b52dbe2..0ab1963c34 100644 --- a/cpp/src/db/DBMetaImpl.cpp +++ b/cpp/src/db/DBMetaImpl.cpp @@ -196,7 +196,8 @@ Status DBMetaImpl::CreateTable(TableSchema &table_schema) { if(TableSchema::TO_DELETE == std::get<0>(table[0])) { return Status::Error("Table already exists and it is in delete state, please wait a second"); } else { - return Status::OK();//table already exists, no error + // Change from no error to already exist. + return Status::AlreadyExist("Table already exists"); } } }