Merge pull request #36480 from Joeywzr/session_log

add missing enum values in session_log
This commit is contained in:
Maksim Kita 2022-04-21 21:14:12 +02:00 committed by GitHub
commit 9713441650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,9 @@ NamesAndTypesList SessionLogElement::getNamesAndTypes()
{"HTTP", static_cast<Int8>(Interface::HTTP)},
{"gRPC", static_cast<Int8>(Interface::GRPC)},
{"MySQL", static_cast<Int8>(Interface::MYSQL)},
{"PostgreSQL", static_cast<Int8>(Interface::POSTGRESQL)}
{"PostgreSQL", static_cast<Int8>(Interface::POSTGRESQL)},
{"LOCAL", static_cast<Int8>(Interface::LOCAL)},
{"TCP_INTERSERVER", static_cast<Int8>(Interface::TCP_INTERSERVER)}
});
auto lc_string_datatype = std::make_shared<DataTypeLowCardinality>(std::make_shared<DataTypeString>());