Former-commit-id: 42f539179307d39773762fd2df50fe99b3590f96
This commit is contained in:
groot 2019-06-23 12:51:11 +08:00
parent dff1648035
commit f0bb92fb45

View File

@ -193,7 +193,7 @@ Status DBMetaImpl::CreateTable(TableSchema &table_schema) {
where(c(&TableSchema::table_id_) == table_schema.table_id_));
if (table.size() == 1) {
std::string msg = (TableSchema::TO_DELETE == std::get<0>(table[0])) ?
"Table already exists" : "Table already exists and it is in delete state, please wait a second";
"Table already exists and it is in delete state, please wait a second" : "Table already exists";
return Status::Error(msg);
}
}