Skip to content

Commit 833e105

Browse files
authored
Merge pull request #157 from ak2k/fix/sqlite-insert-cast
Fix SQLiteInsert to use casted plan instead of raw plan
2 parents a28deac + 81054e6 commit 833e105

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage/sqlite_insert.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ PhysicalOperator &SQLiteCatalog::PlanInsert(ClientContext &context, PhysicalPlan
192192
D_ASSERT(plan);
193193
auto &inner_plan = AddCastToSQLiteTypes(context, planner, *plan);
194194
auto &insert = planner.Make<SQLiteInsert>(op, op.table, op.column_index_map);
195-
insert.children.push_back(*plan);
195+
insert.children.push_back(inner_plan);
196196
return insert;
197197
}
198198

0 commit comments

Comments
 (0)