Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove an unnecessary line from bind_insert.cpp #11443

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/planner/binder/statement/bind_insert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,6 @@ BoundStatement Binder::Bind(InsertStatement &stmt) {
if (!entry.second) {
throw BinderException("Duplicate column name \"%s\" in INSERT", stmt.columns[i]);
}
column_name_map[stmt.columns[i]] = i;
auto column_index = table.GetColumnIndex(stmt.columns[i]);
if (column_index.index == COLUMN_IDENTIFIER_ROW_ID) {
throw BinderException("Cannot explicitly insert values into rowid column");
Expand Down
Loading