You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
Clean up unneeded objects created in fix.
This commit is contained in:
@@ -2045,9 +2045,9 @@ int ha_calpont_impl_delete_table_(const char *db, const char *name, cal_connecti
|
|||||||
string emsg;
|
string emsg;
|
||||||
if (thd->lex->sql_command == SQLCOM_DROP_DB)
|
if (thd->lex->sql_command == SQLCOM_DROP_DB)
|
||||||
{
|
{
|
||||||
std::string tableName = std::string(name);
|
std::string tableName(name);
|
||||||
tableName.erase(0,tableName.rfind("/")+1);
|
tableName.erase(0,tableName.rfind("/")+1);
|
||||||
stmt = std::string("DROP TABLE ") + std::string(tableName);
|
stmt = std::string("DROP TABLE ") + tableName;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user