diff --git a/dbms/src/Storages/LiveView/LiveViewBlockInputStream.h b/dbms/src/Storages/LiveView/LiveViewBlockInputStream.h index 27bffec38ad..cea0bc53106 100644 --- a/dbms/src/Storages/LiveView/LiveViewBlockInputStream.h +++ b/dbms/src/Storages/LiveView/LiveViewBlockInputStream.h @@ -185,7 +185,7 @@ protected: num_updates += 1; } - last_event_timestamp_usec = static_cast(timestamp.epochMicroseconds()); + last_event_timestamp_usec = static_cast(Poco::Timestamp().epochMicroseconds()); return { res, true }; }