mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Better naming.
This commit is contained in:
parent
ede0077df6
commit
40a056c79b
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user