#pragma once #include namespace DB { // Make it signed for compatibility with DataTypeEnum8 enum QueryLogElementType : int8_t { QUERY_START = 1, QUERY_FINISH = 2, EXCEPTION_BEFORE_START = 3, EXCEPTION_WHILE_PROCESSING = 4, }; }