This doesn't affect 5.1 though.
It is defined correctly there (as in the patch above)
#define SLOG_UG_NONE (1UL << 0) #define SLOG_UG_LOG_SLOW_FILTER (1UL << 1) #define SLOG_UG_LOG_SLOW_RATE_LIMIT (1UL << 2) #define SLOG_UG_LOG_SLOW_VERBOSITY (1UL << 3) #define SLOG_UG_LONG_QUERY_TIME (1UL << 4) #define SLOG_UG_MIN_EXAMINED_ROW_LIMIT (1UL << 5) #define SLOG_UG_ALL SLOG_UG_LOG_SLOW_FILTER | SLOG_UG_LOG_SLOW_RATE_LIMIT | SLOG_UG_LOG_SLOW_VERBOSITY | SLOG_UG_LONG_QUERY_TIME | SLOG_UG_MIN_EXAMINED_ROW_LIMIT
Each of the SLOG* are enum in 5.5 and (0..) instead of (1UL << 0, ...).
This doesn't affect 5.1 though.
It is defined correctly there (as in the patch above)
#define SLOG_UG_NONE (1UL << 0) LOG_SLOW_ FILTER (1UL << 1) LOG_SLOW_ RATE_LIMIT (1UL << 2) LOG_SLOW_ VERBOSITY (1UL << 3) LONG_QUERY_ TIME (1UL << 4) MIN_EXAMINED_ ROW_LIMIT (1UL << 5) LOG_SLOW_ FILTER | SLOG_UG_ LOG_SLOW_ RATE_LIMIT | SLOG_UG_ LOG_SLOW_ VERBOSITY | SLOG_UG_ LONG_QUERY_ TIME | SLOG_UG_ MIN_EXAMINED_ ROW_LIMIT
#define SLOG_UG_
#define SLOG_UG_
#define SLOG_UG_
#define SLOG_UG_
#define SLOG_UG_
#define SLOG_UG_ALL SLOG_UG_
Each of the SLOG* are enum in 5.5 and (0..) instead of (1UL << 0, ...).