Commit 468ecb87 authored by haixin_luo's avatar haixin_luo
Browse files

if_exist_drop

parent 99c1c871
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -212,7 +212,9 @@ void SmManager::create_table(const std::string &tab_name, const std::vector<ColD
{
if (db_.is_table(tab_name))
{
throw TableExistsError(tab_name);
// throw TableExistsError(tab_name);
drop_table(tab_name,context);
}
// Create table meta
int curr_offset = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment