Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
educg-net-24542-2332654
DB-1132
Commits
468ecb87
Commit
468ecb87
authored
1 year ago
by
haixin_luo
Browse files
Options
Download
Patches
Plain Diff
if_exist_drop
parent
99c1c871
main
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/system/sm_manager.cpp
+3
-1
src/system/sm_manager.cpp
with
3 additions
and
1 deletion
+3
-1
src/system/sm_manager.cpp
+
3
−
1
View file @
468ecb87
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets