From ba4dfe83089b09def0c556f75d582234b0cdea7e Mon Sep 17 00:00:00 2001 From: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com> Date: Thu, 25 Aug 2022 00:23:59 +0200 Subject: [PATCH] Update MaterializedPostgreSQLConsumer.cpp --- src/Storages/PostgreSQL/MaterializedPostgreSQLConsumer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Storages/PostgreSQL/MaterializedPostgreSQLConsumer.cpp b/src/Storages/PostgreSQL/MaterializedPostgreSQLConsumer.cpp index e25e8d74a29..f0c5807f89c 100644 --- a/src/Storages/PostgreSQL/MaterializedPostgreSQLConsumer.cpp +++ b/src/Storages/PostgreSQL/MaterializedPostgreSQLConsumer.cpp @@ -45,7 +45,6 @@ MaterializedPostgreSQLConsumer::MaterializedPostgreSQLConsumer( , schema_as_a_part_of_table_name(schema_as_a_part_of_table_name_) , allow_automatic_update(allow_automatic_update_) { - committed = false; final_lsn = start_lsn; auto tx = std::make_shared(connection->getRef()); current_lsn = advanceLSN(tx); @@ -780,7 +779,7 @@ bool MaterializedPostgreSQLConsumer::readFromReplicationSlot() try { - LOG_DEBUG(log, "Current message: {}", (*row)[1]); + /// LOG_DEBUG(log, "Current message: {}", (*row)[1]); processReplicationMessage((*row)[1].c_str(), (*row)[1].size()); } catch (const Exception & e)