Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 0af039f

Browse files
author
Tianyi Chen
committed
comment and function signature changed
1 parent dfb5675 commit 0af039f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/include/network/protocol_handler.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ class ProtocolHandler {
3232
/* Main switch case wrapper to process every packet apart from the startup
3333
* packet. Avoid flushing the response for extended protocols. */
3434

35-
/* Manage the startup packet */
36-
// bool ManageStartupPacket();
37-
virtual void SendInitialResponse();
38-
35+
/**
36+
*
37+
*/
3938
virtual ProcessResult Process(Buffer &rbuf, const bool ssl_able, const size_t thread_id);
4039

4140
virtual void Reset();

src/network/postgres_protocol_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ ProcessResult PostgresProtocolHandler::Process(Buffer &rbuf,
10531053
* process_packet - Main switch block; process incoming packets,
10541054
* Returns false if the session needs to be closed.
10551055
*/
1056-
ProcessResult PostgresProtocolHandler::ProcessNormalPacket(
1056+
ProcessResult PostgresProtocolHandler::ProcessNormalPackets(
10571057
InputPacket *pkt, const size_t thread_id) {
10581058
LOG_TRACE("Message type: %c", static_cast<unsigned char>(pkt->msg_type));
10591059
// We don't set force_flush to true for `PBDE` messages because they're

0 commit comments

Comments
 (0)