Remove testing code

This commit is contained in:
avogar 2023-05-17 11:41:00 +00:00
parent 846804fed0
commit 2ff3c8badd

View File

@ -1296,13 +1296,6 @@ void TCPHandler::receiveUnexpectedHello()
void TCPHandler::sendHello() void TCPHandler::sendHello()
{ {
if (unlikely(sleep_in_send_tables_status.totalMilliseconds()))
{
out->next();
std::chrono::milliseconds ms(sleep_in_send_tables_status.totalMilliseconds());
std::this_thread::sleep_for(ms);
}
writeVarUInt(Protocol::Server::Hello, *out); writeVarUInt(Protocol::Server::Hello, *out);
writeStringBinary(DBMS_NAME, *out); writeStringBinary(DBMS_NAME, *out);
writeVarUInt(DBMS_VERSION_MAJOR, *out); writeVarUInt(DBMS_VERSION_MAJOR, *out);