Skip to content

Commit

Permalink
optimize property drop table
Browse files Browse the repository at this point in the history
  • Loading branch information
lbbniu authored Jan 31, 2024
1 parent 45f18a0 commit 03cdbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PropertyServer/PropertyServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void PropertyServer::doReserveDb(const string path, TC_Config *pconf)
{
TLOGDEBUG(__FUNCTION__ << ", drop name:" << name << ", tableName: " << tableName << ", " << (name < tableName) << endl);

mysql.execute("drop table " + name);
mysql.execute("DROP TABLE IF EXISTS " + name);
}
else
{
Expand Down

0 comments on commit 03cdbe7

Please sign in to comment.