Skip to content

Commit

Permalink
Remove comment that doesn't apply any more
Browse files Browse the repository at this point in the history
In 6bd67a7 we changed the code to not
copy the connection parameters but the connection.
  • Loading branch information
joto committed Feb 25, 2025
1 parent 49da48b commit f80854d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/db-copy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ void db_deleter_by_type_and_id_t::delete_rows(std::string const &table,

db_copy_thread_t::db_copy_thread_t(connection_params_t const &connection_params)
{
// Connection params are captured by copy here, because we don't know
// whether the reference will still be valid once we get around to running
// the thread.
m_worker =
std::thread{thread_t{pg_conn_t{connection_params, "copy"}, &m_shared}};
}
Expand Down

0 comments on commit f80854d

Please sign in to comment.