From f80854d75a893f0f0869d540e26d110c303301f0 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Tue, 25 Feb 2025 20:35:45 +0100 Subject: [PATCH] Remove comment that doesn't apply any more In 6bd67a749d890a092557c8812fd67c0d3f170dce we changed the code to not copy the connection parameters but the connection. --- src/db-copy.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/db-copy.cpp b/src/db-copy.cpp index c33156f69..b02975f04 100644 --- a/src/db-copy.cpp +++ b/src/db-copy.cpp @@ -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}}; }