Better naming.

This commit is contained in:
Dmitry Rubashkin 2019-09-03 16:55:26 +03:00
parent ede0077df6
commit 40a056c79b
2 changed files with 4 additions and 3 deletions

View File

@ -633,7 +633,7 @@ void TCPHandler::processTablesStatusRequest()
response.write(*out, client_revision);
}
void TCPHandler::receiveUnexpectedTablesStatus()
void TCPHandler::receiveUnexpectedTablesStatusRequest()
{
TablesStatusRequest skip_request;
skip_request.read(*in, client_revision);
@ -796,7 +796,7 @@ bool TCPHandler::receivePacket()
case Protocol::Client::TablesStatusRequest:
if (!state.empty())
receiveUnexpectedTablesStatus();
receiveUnexpectedTablesStatusRequest();
processTablesStatusRequest();
out->next();
return false;

View File

@ -81,6 +81,7 @@ struct QueryState
}
};
struct LastBlockInputParameters
{
Protocol::Compression compression = Protocol::Compression::Disable;
@ -151,7 +152,7 @@ private:
[[noreturn]] void receiveUnexpectedData();
[[noreturn]] void receiveUnexpectedQuery();
[[noreturn]] void receiveUnexpectedHello();
[[noreturn]] void receiveUnexpectedTablesStatus();
[[noreturn]] void receiveUnexpectedTablesStatusRequest();
/// Process INSERT query
void processInsertQuery(const Settings & global_settings);