Skip to content

Commit 02517d7

Browse files
committed
Fix for restart on connection lost
1 parent e1373ee commit 02517d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/QueryPipeline/RemoteQueryExecutorReadContext.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ void RemoteQueryExecutorReadContext::Task::run(AsyncCallback async_callback, Sus
101101
throw;
102102
read_context.packet.type = Protocol::Server::ConnectionLost;
103103
read_context.packet.exception = std::make_unique<Exception>(getCurrentExceptionMessageAndPattern(true), getCurrentExceptionCode());
104+
read_context.has_read_packet_part = PacketPart::Body;
104105
suspend_callback();
105106
}
106107
}

0 commit comments

Comments
 (0)