Skip to content

Commit

Permalink
fix: shared, not unique
Browse files Browse the repository at this point in the history
not sure how this happened
  • Loading branch information
Mause committed Jun 9, 2023
1 parent d9efd16 commit f919df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/client_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ shared_ptr<PreparedStatementData> ClientContext::CreatePreparedStatement(ClientC
}
}

client_data->http_state = make_uniq<HTTPState>();
client_data->http_state = make_shared<HTTPState>();
planner.CreatePlan(std::move(statement));
D_ASSERT(planner.plan || !planner.properties.bound_all_parameters);
profiler.EndPhase();
Expand Down

0 comments on commit f919df4

Please sign in to comment.