Skip to content

Commit

Permalink
trying anything
Browse files Browse the repository at this point in the history
  • Loading branch information
meztez authored Jan 5, 2025
1 parent 25d2cd2 commit 2d5b4b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ void RProgressBarDisplay::Finish() {
Connection conn(*wrapper->db);
auto &context = *conn.context;
auto &catalog = Catalog::GetSystemCatalog(context);
context.config.display_create_func = RProgressBarDisplay::Create;
context.transaction.BeginTransaction();

catalog.CreateTableFunction(context, &info);
Expand All @@ -161,8 +162,6 @@ void RProgressBarDisplay::Finish() {

context.transaction.Commit();

context.config.display_create_func = RProgressBarDisplay::Create;

auto dual = new DBWrapperDual(wrapper);

return db_eptr_t(dual);
Expand Down

0 comments on commit 2d5b4b5

Please sign in to comment.