From 8e108b9aef03b0ad1dbd1f22b7d763a0e84c96d0 Mon Sep 17 00:00:00 2001 From: zhiru Date: Mon, 15 Jul 2019 10:41:22 +0800 Subject: [PATCH] return AlreadyExist error Former-commit-id: 0fe88b14dc0dcae4a10e4aa06ceaf8bda5bbff91 --- cpp/src/db/MySQLMetaImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/db/MySQLMetaImpl.cpp b/cpp/src/db/MySQLMetaImpl.cpp index bd82e7e6..9aa5a85e 100644 --- a/cpp/src/db/MySQLMetaImpl.cpp +++ b/cpp/src/db/MySQLMetaImpl.cpp @@ -347,7 +347,7 @@ namespace meta { 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 + return Status::AlreadyExist("Table already exists"); } } } -- GitLab